Point Cloud Library (PCL)
1.10.0
|
41 #include <pcl/surface/reconstruction.h>
47 class CoredVectorMeshData;
48 template <
class Real>
struct Point3D;
59 template<
typename Po
intNT>
92 std::vector<pcl::Vertices> &polygons)
override;
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
256 #ifdef PCL_NO_PRECOMPILE
257 #include <pcl/surface/impl/poisson.hpp>
Defines all the PCL and non-PCL macros used.
This file defines compatibility wrappers for low level I/O functions.
void setSolverDivide(int solver_divide)
Set the the depth at which a block Gauss-Seidel solver is used to solve the Laplacian equation.
float getSamplesPerNode()
Get the minimum number of sample points that should fall within an octree node as the octree construc...
KdTree represents the base spatial locator class for kd-tree implementations.
void setScale(float scale)
Set the ratio between the diameter of the cube used for reconstruction and the diameter of the sample...
int getDepth()
Get the depth parameter.
float getScale()
Get the ratio between the diameter of the cube used for reconstruction and the diameter of the sample...
void performReconstruction(pcl::PolygonMesh &output) override
Create the surface.
void setDegree(int degree)
Set the degree parameter.
void setConfidence(bool confidence)
Set the confidence flag.
std::string getClassName() const override
Class get name method.
void setSamplesPerNode(float samples_per_node)
Set the minimum number of sample points that should fall within an octree node as the octree construc...
SurfaceReconstruction represents a base surface reconstruction class.
int getDegree()
Get the degree parameter.
void setIsoDivide(int iso_divide)
Set the depth at which a block iso-surface extractor should be used to extract the iso-surface.
typename KdTree::Ptr KdTreePtr
shared_ptr< const Poisson< PointNT > > ConstPtr
void setOutputPolygons(bool output_polygons)
Enabling this flag tells the reconstructor to output a polygon mesh (rather than triangulating the re...
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.
shared_ptr< Poisson< PointNT > > Ptr
typename pcl::PointCloud< PointNT >::Ptr PointCloudPtr
void setPointWeight(float point_weight)
int getSolverDivide()
Get the depth at which a block Gauss-Seidel solver is used to solve the Laplacian equation.
#define PCL_MAKE_ALIGNED_OPERATOR_NEW
Macro to signal a class requires a custom allocator.
The Poisson surface reconstruction algorithm.
void setDepth(int depth)
Set the maximum depth of the tree that will be used for surface reconstruction.
Poisson()
Constructor that sets all the parameters to working default values.
void setManifold(bool manifold)
Set the manifold flag.
shared_ptr< PointCloud< PointT > > Ptr
shared_ptr< KdTree< PointT > > Ptr
void setMinDepth(int min_depth)
bool getManifold()
Get the manifold flag.
boost::shared_ptr< T > shared_ptr
Alias for boost::shared_ptr.
bool getConfidence()
Get the confidence flag.