资源简介
泊松重建的源代码,可以将目标的点云文件进行泊松网格化,得到目标的面片结构

代码片段和文件信息
/*
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);
}
/////////////
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1301504 2017-02-15 07:26 PoissonRecon\Bin\x64\Release\PoissonRecon.exe
文件 4460544 2017-02-15 07:26 PoissonRecon\Bin\x64\Release\PoissonRecon.pdb
文件 103936 2017-02-15 07:28 PoissonRecon\Bin\x64\Release\SurfaceTrimmer.exe
文件 888832 2017-02-15 07:28 PoissonRecon\Bin\x64\Release\SurfaceTrimmer.pdb
文件 1797 2014-12-13 22:33 PoissonRecon\Makefile
文件 37944 2017-02-15 07:25 PoissonRecon\Obj\PoissonRecon\x64\Release\CmdLineParser.obj
文件 53350 2017-02-15 07:25 PoissonRecon\Obj\PoissonRecon\x64\Release\Factor.obj
文件 170822 2017-02-15 07:25 PoissonRecon\Obj\PoissonRecon\x64\Release\Geometry.obj
文件 242995 2017-02-15 07:25 PoissonRecon\Obj\PoissonRecon\x64\Release\MarchingCubes.obj
文件 257575 2017-02-15 07:25 PoissonRecon\Obj\PoissonRecon\x64\Release\PlyFile.obj
文件 2968 2017-02-15 07:26 PoissonRecon\Obj\PoissonRecon\x64\Release\PoissonRecon.log
文件 8352980 2017-02-15 07:25 PoissonRecon\Obj\PoissonRecon\x64\Release\PoissonRecon.obj
文件 10938 2017-02-15 07:25 PoissonRecon\Obj\PoissonRecon\x64\Release\PoissonRecon.tlog\cl.command.1.tlog
文件 107066 2017-02-15 07:25 PoissonRecon\Obj\PoissonRecon\x64\Release\PoissonRecon.tlog\CL.read.1.tlog
文件 6908 2017-02-15 07:25 PoissonRecon\Obj\PoissonRecon\x64\Release\PoissonRecon.tlog\CL.write.1.tlog
文件 6820 2017-02-15 07:26 PoissonRecon\Obj\PoissonRecon\x64\Release\PoissonRecon.tlog\li
文件 10102 2017-02-15 07:26 PoissonRecon\Obj\PoissonRecon\x64\Release\PoissonRecon.tlog\li
文件 2534 2017-02-15 07:26 PoissonRecon\Obj\PoissonRecon\x64\Release\PoissonRecon.tlog\li
文件 165 2017-02-15 07:26 PoissonRecon\Obj\PoissonRecon\x64\Release\PoissonRecon.tlog\PoissonRecon.lastbuildstate
文件 2519040 2017-02-15 07:25 PoissonRecon\Obj\PoissonRecon\x64\Release\vc120.pdb
文件 37933 2017-02-15 07:28 PoissonRecon\Obj\SurfaceTrimmer\x64\Release\CmdLineParser.obj
文件 257564 2017-02-15 07:28 PoissonRecon\Obj\SurfaceTrimmer\x64\Release\PlyFile.obj
文件 2034 2017-02-15 07:28 PoissonRecon\Obj\SurfaceTrimmer\x64\Release\SurfaceTrimmer.log
文件 970263 2017-02-15 07:28 PoissonRecon\Obj\SurfaceTrimmer\x64\Release\SurfaceTrimmer.obj
文件 2658 2017-02-15 07:28 PoissonRecon\Obj\SurfaceTrimmer\x64\Release\SurfaceTrimmer.tlog\cl.command.1.tlog
文件 22598 2017-02-15 07:28 PoissonRecon\Obj\SurfaceTrimmer\x64\Release\SurfaceTrimmer.tlog\CL.read.1.tlog
文件 1720 2017-02-15 07:28 PoissonRecon\Obj\SurfaceTrimmer\x64\Release\SurfaceTrimmer.tlog\CL.write.1.tlog
文件 2084 2017-02-15 07:28 PoissonRecon\Obj\SurfaceTrimmer\x64\Release\SurfaceTrimmer.tlog\li
文件 4048 2017-02-15 07:28 PoissonRecon\Obj\SurfaceTrimmer\x64\Release\SurfaceTrimmer.tlog\li
文件 754 2017-02-15 07:28 PoissonRecon\Obj\SurfaceTrimmer\x64\Release\SurfaceTrimmer.tlog\li
............此处省略70个文件信息
相关资源
- umeshmotion网格推移
- 三维重建(旋转)由已知对应图像点
- 3维泊松表面重建
- Sun 系统为NewEnergy 网格基础架构带来活
- Sun 网格计算技术在美国爱达荷国家实
- Sun Solaris计算网格为下一代核反应堆注
- 商用软件GAMBIT网格数据解析和应用
- OGC Discrete Global Grid Systems 全球离散网
- IBM推出新型虚拟网格计算磁带及存储
- 基于图像三维重建软件visualSFM
- opengl实现三维网格光顺Laplacian算法
- Smoothed Particle Hydrodynamics A Meshfree Par
- 无网格法在空心弹流场数值模拟中的
- 论文研究 - 软件可靠性对数非均匀泊
- 网格剖分工具--Tetgen源码和使用,查看
- 8.流固耦合自动划分网格.pdf
- 有限元中网格剖分算法
- MESH网格划分课程
- 基于Kinect的三维重建
- 关于泊松点过程的生成方法-Report1_P
- 图像配准和三维重建应用程序
- 网格序列法实现等值线生成
- Imaris三维重建软件手册
- 基于双目立体视觉的三维重建
- 基于视频的三维重建研究
- 中科院自动化所三维重建PPT(完整版
- 网格编码调制(TCM)
- 基于八叉树的网格简化算法实现
- KinectFusion 和 ElasticFusion 三维重建方法
- 基于结构网格二维Euler方程的Jameson求
评论
共有 条评论