资源简介
泊松算法, 从 点云中 拟合 三维网凹包.
代码片段和文件信息
/*
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(void){set=0;}
cmdLineReadable::~cmdLineReadable(void){;}
int cmdLineReadable::read(char**int){
set=1;
return 0;
}
cmdLineInt::cmdLineInt(void){value=0;}
cmdLineInt::cmdLineInt(const int& v){value=v;}
int cmdLineInt::read(char** argvint argc){
if(argc>0){
value=atoi(argv[0]);
set=1;
return 1;
}
else{return 0;}
}
cmdLineFloat::cmdLineFloat(void){value=0;}
cmdLineFloat::cmdLineFloat(const float& v){value=v;}
int cmdLineFloat::read(char** argvint argc){
if(argc>0){
value=(float)atof(argv[0]);
set=1;
return 1;
}
else{return 0;}
}
cmdLineString::cmdLineString(void){value=NULL;}
cmdLineString::~cmdLineString(void){
if(value){
delete[] value;
value=NULL;
}
}
int cmdLineString::read(char** argvint argc){
if(argc>0){
value=new char[strlen(argv[0])+1];
strcpy(valueargv[0]);
set=1;
return 1;
}
else{return 0;}
}
cmdLinePoint3D::cmdLinePoint3D(void){value.coords[0]=value.coords[1]=value.coords[2]=0;}
cmdLinePoint3D::cmdLinePoint3D(const Point3D& v){value.coords[0]=v.coords[0];value.coords[1]=v.coords[1];value.coords[2]=v.coords[2];}
cmdLinePoint3D::cmdLinePoint3D(const float& v0const float& v1const float& v2){value.coords[0]=v0;value.coords[1]=v1;value.coords[2]=v2;}
int cmdLinePo
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1276 2008-08-19 12:02 PoissonRecon\Makefile
文件 1242 2008-08-19 12:02 PoissonRecon\PoissonRecon.sln
文件 9561 2006-11-10 14:48 PoissonRecon\PoissonRecon.vcproj
目录 0 2008-08-19 12:04 PoissonRecon\Src\
文件 5661 2008-08-19 12:02 PoissonRecon\Src\Allocator.h
文件 2799 2008-08-19 12:02 PoissonRecon\Src\BinaryNode.h
文件 4379 2008-08-19 12:02 PoissonRecon\Src\CmdLineParser.cpp
文件 2870 2008-08-19 12:02 PoissonRecon\Src\CmdLineParser.h
文件 7459 2008-08-19 12:02 PoissonRecon\Src\Factor.cpp
文件 2536 2008-08-19 12:02 PoissonRecon\Src\Factor.h
文件 3114 2008-08-19 12:02 PoissonRecon\Src\FunctionData.h
文件 9803 2008-08-19 12:02 PoissonRecon\Src\FunctionData.inl
文件 3573 2008-08-19 12:02 PoissonRecon\Src\Geometry.cpp
文件 6494 2008-08-19 12:02 PoissonRecon\Src\Geometry.h
文件 14221 2008-08-19 12:02 PoissonRecon\Src\Geometry.inl
文件 737 2008-08-19 12:02 PoissonRecon\Src\Hash.h
文件 47688 2008-08-19 12:02 PoissonRecon\Src\MarchingCubes.cpp
文件 6496 2008-08-19 12:02 PoissonRecon\Src\MarchingCubes.h
文件 4390 2008-08-19 12:02 PoissonRecon\Src\MemoryUsage.h
文件 10609 2008-08-19 12:02 PoissonRecon\Src\MultiGridOctest.cpp
文件 12020 2008-08-19 12:02 PoissonRecon\Src\MultiGridOctreeData.h
文件 84639 2008-08-19 12:04 PoissonRecon\Src\MultiGridOctreeData.inl
文件 11037 2008-08-19 12:02 PoissonRecon\Src\Octree.h
文件 55784 2008-08-19 12:02 PoissonRecon\Src\Octree.inl
文件 5447 2008-08-19 12:02 PoissonRecon\Src\ply.cpp
文件 8824 2008-08-19 12:02 PoissonRecon\Src\ply.h
文件 76746 2008-08-19 12:02 PoissonRecon\Src\plyfile.cpp
文件 3833 2008-08-19 12:02 PoissonRecon\Src\Polynomial.h
文件 9605 2008-08-19 12:02 PoissonRecon\Src\Polynomial.inl
文件 4284 2008-08-19 12:02 PoissonRecon\Src\PPolynomial.h
文件 13634 2008-08-19 12:02 PoissonRecon\Src\PPolynomial.inl
............此处省略7个文件信息
- 上一篇:基于FPGA的误码检测
- 下一篇:局域网时间同步工具
相关资源
- 点云快速读取,ptx 和txt格式的都可以
- 3个点云模型文件
- opencv 三维建模点云详细
- 三维激光扫描仪点云数据在MicroSatio
- 基于KDTree改进的ICP算法在点云配准中
- OSG+PCL点云动态显示.rar
- 基于PCL开源库ndt+icp算法实现点云配准
- 基于osg的obb包围盒计算
- 点云配准Super-4PCS
- 点云完全配准算法比较
- 点云粗配准算法
- opengl多边形顶点排序,凸包计算,路
- Stanford的Bunny点云数据
- 基于ray filter的雷达点云地面过滤ROS节
- 凸包melkman算法cpp
- pcl计算点云的法向量和曲率,并保存
- 点云pcl库学习 官方demo教程 原理解析
- room_scan1.pcd和room_scan2.pcd.rar
- PCL+VS2015实现点云可视化
- 点云库驱动包metslib
- 点云重建源代码
- ICP算法源代码
- venus模型三维点云数据
- fandisk点云数据,asc文件数据
- 点云法向量的计算
- PCL_BoundaryEstimation_Point散乱数据点云边
- 几种ICP算法程序和获取的点云数据,
- 凸包问题解决
- threejs 实现的Web端点云加载
- 知名的斯坦福兔子的三维点云数据,
评论
共有 条评论