资源简介
开源的泊松重建代码,执行效率相比PCL代码,快很多!
代码片段和文件信息
/*
Copyright (c) 2006 Michael Kazhdan and Matthew Bolitho
All rights reserved.
Redistribution and use in source and binary forms with or without modification
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice this list of
conditions and the following disclaimer. Redistributions in binary form must reproduce
the above copyright notice this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the distribution.
Neither the name of the Johns Hopkins University nor the names of its contributors
may be used to endorse or promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“ AND ANY
EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT INDIRECT
INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED
TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE DATA OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN
CONTRACT STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
*/
#include
#include
#include
#include
#include “CmdLineParser.h“
#ifdef WIN32
int strcasecmp(char* c1char* c2){return _stricmp(c1c2);}
#endif
cmdLineReadable::cmdLineReadable(const char* name)
{
set=false;
this->name=new char[strlen(name)+1];
strcpy(this->namename);
}
cmdLineReadable::~cmdLineReadable(void)
{
if(name) delete[] name;
name=NULL;
}
int cmdLineReadable::read(char**int){
set=true;
return 0;
}
void cmdLineReadable::writeValue(char* str)
{
str[0] = 0;
}
////////////////
// cmdLineInt //
////////////////
cmdLineInt::cmdLineInt(const char* name) : cmdLineReadable(name) {value=0;}
cmdLineInt::cmdLineInt(const char* nameconst int& v) : cmdLineReadable(name) {value=v;}
int cmdLineInt::read(char** argvint argc){
if(argc>0){
value=atoi(argv[0]);
set=true;
return 1;
}
else{return 0;}
}
void cmdLineInt::writeValue(char* str)
{
sprintf(str“%d“value);
}
//////////////////
// cmdLineFloat //
//////////////////
cmdLineFloat::cmdLineFloat(const char* name) : cmdLineReadable(name) {value=0;}
cmdLineFloat::cmdLineFloat(const char* name const float& v) : cmdLineReadable(name) {value=v;}
int cmdLineFloat::read(char** argvint argc){
if(argc>0){
value=(float)atof(argv[0]);
set=true;
return 1;
}
else{return 0;}
}
void cmdLineFloat::writeValue(char* str)
{
sprintf(str“%f“value);
}
/////////////
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-07-18 08:53 PoissonRecon\
目录 0 2016-07-18 08:53 PoissonRecon\PoissonRecon\
文件 20047977 2016-06-01 08:40 PoissonRecon\PoissonRecon\00.ply
文件 1624021 2016-06-01 11:00 PoissonRecon\PoissonRecon\01.ply
目录 0 2016-07-18 08:53 PoissonRecon\PoissonRecon\Bin\
目录 0 2016-07-18 08:53 PoissonRecon\PoissonRecon\Bin\Win32\
目录 0 2016-07-18 08:53 PoissonRecon\PoissonRecon\Bin\Win32\Debug\
文件 19456 2016-05-04 12:54 PoissonRecon\PoissonRecon\Bin\Win32\Debug\PoissonRecon.pdb
目录 0 2016-07-18 08:53 PoissonRecon\PoissonRecon\Bin\Win32\Release\
文件 351232 2016-06-01 10:59 PoissonRecon\PoissonRecon\Bin\Win32\Release\PoissonRecon.exe
文件 2264064 2016-06-01 10:59 PoissonRecon\PoissonRecon\Bin\Win32\Release\PoissonRecon.pdb
文件 1699 2014-02-04 02:04 PoissonRecon\PoissonRecon\Makefile
目录 0 2016-07-18 08:53 PoissonRecon\PoissonRecon\Obj\
目录 0 2016-07-18 08:53 PoissonRecon\PoissonRecon\Obj\PoissonRecon\
目录 0 2016-07-18 08:53 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\
目录 0 2016-07-18 08:53 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\Release\
文件 105742 2016-06-01 10:59 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\Release\CL.read.1.tlog
文件 9250 2016-06-01 10:59 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\Release\CL.write.1.tlog
文件 37182 2016-06-01 10:59 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\Release\CmdLineParser.obj
文件 39895 2016-06-01 10:59 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\Release\Factor.obj
文件 156791 2016-06-01 10:59 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\Release\Geometry.obj
文件 220201 2016-06-01 10:59 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\Release\MarchingCubes.obj
文件 108819 2016-06-01 10:59 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\Release\PlyFile.obj
文件 381 2016-06-01 10:59 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\Release\PoissonRecon.exe.intermediate.manifest
文件 109 2016-06-01 10:59 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\Release\PoissonRecon.lastbuildstate
文件 21656 2016-06-01 10:59 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\Release\PoissonRecon.log
文件 3672527 2016-06-01 10:59 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\Release\PoissonRecon.obj
文件 713 2016-06-01 10:59 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\Release\PoissonRecon.vcxprojResolveAssemblyReference.cache
文件 0 2016-05-04 12:58 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\Release\PoissonRecon.write.1.tlog
文件 9156 2016-06-01 10:59 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\Release\Time.obj
文件 15010 2016-06-01 10:59 PoissonRecon\PoissonRecon\Obj\PoissonRecon\Win32\Release\cl.command.1.tlog
............此处省略95个文件信息
- 上一篇:xshell+Xftp.rar
- 下一篇:CMP-MVS开源代码
相关资源
- boost库开发范例大全
- 基于qt实现的minidraw画板程序
- VS2013做的推箱子含源码
- VS2013 做的简单的贪吃蛇含源码
- 多功能网络媒体播放器-Qt-demo
- 坦克大战可执行程序-windows
- 炫彩气泡--win32实现透明不规则窗口
- amCap工具源码
- 基于opencv的三种人脸识别
- 个人防火墙
- B样条反求控制点绘制曲线
- cmake-3.15.0-rc3-win64-x64.msi
- 远程控制桌面源码
- 基于opencv的鱼眼相机标定和透视投影
- 记事本开发
- 客户与服务器程序的同步与通信机制
- 三维点云的可视化
- 泊松曲面重建
- 基于Qt实现的物流管理系统
- 编译原理第2版(中文)
- STL源码剖析简体中文完整版(清晰扫
- 数字图像处理资源合集
- GB28181模拟设备和自动化测试工具
- gsoap_2.8.94.zip
- 获取网速 GetIfTable SetupDixxx 区分物理网
- 眼底图像拼接
- vim配置成强大的IDE
- 算法竞赛入门经典完整版(ACM竞赛入
- 用QT做一个简单的登录界面
- 数据结构+数据结构习题解析第3版_邓
评论
共有 条评论