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_ void setDistanceIgnore(const float dist_ignore)
Method that sets the distance for ignoring voxels which are far from point cloud.
float getDistanceIgnore() const
get the distance for ignoring voxels which are far from point cloud.
The marching cubes surface reconstruction algorithm.
MarchingCubesHoppe(const float dist_ignore=-1.0f, const float percentage_extend_grid=0.0f, const float iso_level=0.0f)
Constructor.
This file defines compatibility wrappers for low level I/O functions.
pcl::KdTree< PointNT > KdTree
SurfaceReconstruction represents a base surface reconstruction class.
boost::shared_ptr< KdTree< PointT > > Ptr
The marching cubes surface reconstruction algorithm, using a signed distance function based on the di...
void voxelizeData()
Convert the point cloud into voxel data.
boost::shared_ptr< PointCloud< PointT > > Ptr
pcl::PointCloud< PointNT >::Ptr PointCloudPtr
~MarchingCubesHoppe()
Destructor.
boost::shared_ptr< const MarchingCubesHoppe< PointNT > > ConstPtr
pcl::KdTree< PointNT >::Ptr KdTreePtr
boost::shared_ptr< MarchingCubesHoppe< PointNT > > Ptr
float dist_ignore_
ignore the distance function if it is negative or distance between voxel centroid and point are large...
KdTree represents the base spatial locator class for kd-tree implementations.