38 #ifndef PCL_SURFACE_POISSON_H_ 39 #define PCL_SURFACE_POISSON_H_ 41 #include <pcl/surface/reconstruction.h> 47 class CoredVectorMeshData;
48 template <
class Real>
struct Point3D;
59 template<
typename Po
intNT>
63 typedef boost::shared_ptr<Poisson<PointNT> >
Ptr;
64 typedef boost::shared_ptr<const Poisson<PointNT> >
ConstPtr;
92 std::vector<pcl::Vertices> &polygons);
230 float samples_per_node_;
232 bool output_polygons_;
234 bool no_reset_samples_;
241 bool non_adaptive_weights_;
244 float solver_accuracy_;
246 template<
int Degree>
void 252 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
256 #ifdef PCL_NO_PRECOMPILE 257 #include <pcl/surface/impl/poisson.hpp> 260 #endif // PCL_SURFACE_POISSON_H_ float getSamplesPerNode()
Get the minimum number of sample points that should fall within an octree node as the octree construc...
bool getManifold()
Get the manifold flag.
int getDegree()
Get the degree parameter.
void setScale(float scale)
Set the ratio between the diameter of the cube used for reconstruction and the diameter of the sample...
void setConfidence(bool confidence)
Set the confidence flag.
void performReconstruction(pcl::PolygonMesh &output)
Create the surface.
boost::shared_ptr< const Poisson< PointNT > > ConstPtr
void setSamplesPerNode(float samples_per_node)
Set the minimum number of sample points that should fall within an octree node as the octree construc...
This file defines compatibility wrappers for low level I/O functions.
SurfaceReconstruction represents a base surface reconstruction class.
boost::shared_ptr< KdTree< PointT > > Ptr
bool getConfidence()
Get the confidence flag.
pcl::PointCloud< PointNT >::Ptr PointCloudPtr
void setIsoDivide(int iso_divide)
Set the depth at which a block iso-surface extractor should be used to extract the iso-surface.
boost::shared_ptr< PointCloud< PointT > > Ptr
void setMinDepth(int min_depth)
float getScale()
Get the ratio between the diameter of the cube used for reconstruction and the diameter of the sample...
The Poisson surface reconstruction algorithm.
void setDegree(int degree)
Set the degree parameter.
void setPointWeight(float point_weight)
void setManifold(bool manifold)
Set the manifold flag.
bool getOutputPolygons()
Get whether the algorithm outputs a polygon mesh or a triangle mesh.
int getIsoDivide()
Get the depth at which a block iso-surface extractor should be used to extract the iso-surface.
Poisson()
Constructor that sets all the parameters to working default values.
int getDepth()
Get the depth parameter.
int getSolverDivide()
Get the depth at which a block Gauss-Seidel solver is used to solve the Laplacian equation.
boost::shared_ptr< Poisson< PointNT > > Ptr
pcl::KdTree< PointNT >::Ptr KdTreePtr
void setSolverDivide(int solver_divide)
Set the the depth at which a block Gauss-Seidel solver is used to solve the Laplacian equation.
std::string getClassName() const
Class get name method.
KdTree represents the base spatial locator class for kd-tree implementations.
void setDepth(int depth)
Set the maximum depth of the tree that will be used for surface reconstruction.
void setOutputPolygons(bool output_polygons)
Enabling this flag tells the reconstructor to output a polygon mesh (rather than triangulating the re...
pcl::KdTree< PointNT > KdTree