Point Cloud Library (PCL)
1.9.1
|
36 #ifndef PCL_SURFACE_MARCHING_CUBES_HOPPE_H_
37 #define PCL_SURFACE_MARCHING_CUBES_HOPPE_H_
39 #include <pcl/surface/boost.h>
40 #include <pcl/surface/marching_cubes.h>
51 template <
typename Po
intNT>
55 typedef boost::shared_ptr<MarchingCubesHoppe<PointNT> >
Ptr;
56 typedef boost::shared_ptr<const MarchingCubesHoppe<PointNT> >
ConstPtr;
76 const float percentage_extend_grid = 0.0f,
77 const float iso_level = 0.0f) :
114 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
118 #ifdef PCL_NO_PRECOMPILE
119 #include <pcl/surface/impl/marching_cubes_hoppe.hpp>
122 #endif // PCL_SURFACE_MARCHING_CUBES_HOPPE_H_
This file defines compatibility wrappers for low level I/O functions.
boost::shared_ptr< PointCloud< PointT > > Ptr
float getDistanceIgnore() const
get the distance for ignoring voxels which are far from point cloud.
KdTree represents the base spatial locator class for kd-tree implementations.
MarchingCubesHoppe(const float dist_ignore=-1.0f, const float percentage_extend_grid=0.0f, const float iso_level=0.0f)
Constructor.
boost::shared_ptr< MarchingCubesHoppe< PointNT > > Ptr
pcl::KdTree< PointNT > KdTree
The marching cubes surface reconstruction algorithm.
boost::shared_ptr< KdTree< PointT > > Ptr
SurfaceReconstruction represents a base surface reconstruction class.
pcl::KdTree< PointNT >::Ptr KdTreePtr
~MarchingCubesHoppe()
Destructor.
pcl::PointCloud< PointNT >::Ptr PointCloudPtr
void voxelizeData()
Convert the point cloud into voxel data.
boost::shared_ptr< const MarchingCubesHoppe< PointNT > > ConstPtr
float dist_ignore_
ignore the distance function if it is negative or distance between voxel centroid and point are large...
The marching cubes surface reconstruction algorithm, using a signed distance function based on the di...
void setDistanceIgnore(const float dist_ignore)
Method that sets the distance for ignoring voxels which are far from point cloud.