|
Point Cloud Library (PCL)
1.6.0
|
The Poisson surface reconstruction algorithm. More...
#include <pcl/surface/poisson.h>


Public Types | |
| typedef pcl::PointCloud < PointNT >::Ptr | PointCloudPtr |
| typedef pcl::KdTree< PointNT > | KdTree |
| typedef pcl::KdTree< PointNT >::Ptr | KdTreePtr |
| typedef pcl::PointCloud< PointNT > | PointCloud |
| typedef PointCloud::ConstPtr | PointCloudConstPtr |
| typedef PointIndices::Ptr | PointIndicesPtr |
| typedef PointIndices::ConstPtr | PointIndicesConstPtr |
Public Member Functions | |
| Poisson () | |
| Constructor that sets all the parameters to working default values. | |
| ~Poisson () | |
| Destructor. | |
| void | performReconstruction (pcl::PolygonMesh &output) |
| Create the surface. | |
| void | performReconstruction (pcl::PointCloud< PointNT > &points, std::vector< pcl::Vertices > &polygons) |
| Create the surface. | |
| void | setConfidence (bool confidence) |
| Set the confidence flag. | |
| bool | getConfidence () |
| Get the confidence flag. | |
| void | setManifold (bool manifold) |
| Set the manifold flag. | |
| bool | getManifold () |
| Get the manifold flag. | |
| void | setOutputPolygons (bool output_polygons) |
| Enabling this flag tells the reconstructor to output a polygon mesh (rather than triangulating the results of Marching Cubes). | |
| bool | getOutputPolygons () |
| Get whether the algorithm outputs a polygon mesh or a triangle mesh. | |
| void | setDepth (int depth) |
| Set the maximum depth of the tree that will be used for surface reconstruction. | |
| int | getDepth () |
| Get the depth parameter. | |
| void | setSolverDivide (int solver_divide) |
| Set the the depth at which a block Gauss-Seidel solver is used to solve the Laplacian equation. | |
| int | getSolverDivide () |
| Get the the depth at which a block Gauss-Seidel solver is used to solve the Laplacian equation. | |
| void | setIsoDivide (int iso_divide) |
| Set the depth at which a block iso-surface extractor should be used to extract the iso-surface. | |
| int | getIsoDivide () |
| Get the depth at which a block iso-surface extractor should be used to extract the iso-surface. | |
| void | setSamplesPerNode (float samples_per_node) |
| Set the minimum number of sample points that should fall within an octree node as the octree construction is adapted to sampling density. | |
| float | getSamplesPerNode () |
| Get the minimum number of sample points that should fall within an octree node as the octree construction is adapted to sampling density. | |
| void | setScale (float scale) |
| Set the ratio between the diameter of the cube used for reconstruction and the diameter of the samples' bounding cube. | |
| float | getScale () |
| Get the ratio between the diameter of the cube used for reconstruction and the diameter of the samples' bounding cube. | |
| void | setDegree (int degree) |
| Set the degree parameter. | |
| int | getDegree () |
| Get the degree parameter. | |
| virtual void | reconstruct (pcl::PolygonMesh &output) |
| Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()> | |
| virtual void | reconstruct (pcl::PointCloud< PointNT > &points, std::vector< pcl::Vertices > &polygons) |
| Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()> | |
| void | setSearchMethod (const KdTreePtr &tree) |
| Provide an optional pointer to a search object. | |
| KdTreePtr | getSearchMethod () |
| Get a pointer to the search method used. | |
| virtual void | setInputCloud (const PointCloudConstPtr &cloud) |
| Provide a pointer to the input dataset. | |
| PointCloudConstPtr const | getInputCloud () |
| Get a pointer to the input point cloud dataset. | |
| void | setIndices (const IndicesPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. | |
| void | setIndices (const IndicesConstPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. | |
| void | setIndices (const PointIndicesConstPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. | |
| void | setIndices (size_t row_start, size_t col_start, size_t nb_rows, size_t nb_cols) |
| Set the indices for the points laying within an interest region of the point cloud. | |
| IndicesPtr const | getIndices () |
| Get a pointer to the vector of indices used. | |
| const PointNT & | operator[] (size_t pos) |
| Override PointCloud operator[] to shorten code. | |
The Poisson surface reconstruction algorithm.
| typedef pcl::KdTree<PointNT> pcl::Poisson< PointNT >::KdTree |
Reimplemented from pcl::PCLSurfaceBase< PointNT >.
| typedef pcl::KdTree<PointNT>::Ptr pcl::Poisson< PointNT >::KdTreePtr |
Reimplemented from pcl::PCLSurfaceBase< PointNT >.
typedef pcl::PointCloud<PointNT > pcl::PCLBase< PointNT >::PointCloud [inherited] |
Definition at line 74 of file pcl_base.h.
typedef PointCloud::ConstPtr pcl::PCLBase< PointNT >::PointCloudConstPtr [inherited] |
Definition at line 76 of file pcl_base.h.
| typedef pcl::PointCloud<PointNT>::Ptr pcl::Poisson< PointNT >::PointCloudPtr |
Reimplemented from pcl::PCLBase< PointNT >.
typedef PointIndices::ConstPtr pcl::PCLBase< PointNT >::PointIndicesConstPtr [inherited] |
Definition at line 79 of file pcl_base.h.
typedef PointIndices::Ptr pcl::PCLBase< PointNT >::PointIndicesPtr [inherited] |
Definition at line 78 of file pcl_base.h.
| pcl::Poisson< PointNT >::Poisson | ( | ) |
Constructor that sets all the parameters to working default values.
Definition at line 63 of file poisson.hpp.
| pcl::Poisson< PointNT >::~Poisson | ( | ) |
Destructor.
Definition at line 83 of file poisson.hpp.
| bool pcl::Poisson< PointNT >::getConfidence | ( | ) | [inline] |
| int pcl::Poisson< PointNT >::getDegree | ( | ) | [inline] |
| int pcl::Poisson< PointNT >::getDepth | ( | ) | [inline] |
| IndicesPtr const pcl::PCLBase< PointNT >::getIndices | ( | ) | [inline, inherited] |
Get a pointer to the vector of indices used.
Definition at line 190 of file pcl_base.h.
| PointCloudConstPtr const pcl::PCLBase< PointNT >::getInputCloud | ( | ) | [inline, inherited] |
Get a pointer to the input point cloud dataset.
Definition at line 107 of file pcl_base.h.
| int pcl::Poisson< PointNT >::getIsoDivide | ( | ) | [inline] |
| bool pcl::Poisson< PointNT >::getManifold | ( | ) | [inline] |
| bool pcl::Poisson< PointNT >::getOutputPolygons | ( | ) | [inline] |
| float pcl::Poisson< PointNT >::getSamplesPerNode | ( | ) | [inline] |
| float pcl::Poisson< PointNT >::getScale | ( | ) | [inline] |
| KdTreePtr pcl::PCLSurfaceBase< PointNT >::getSearchMethod | ( | ) | [inline, inherited] |
Get a pointer to the search method used.
Definition at line 82 of file reconstruction.h.
| int pcl::Poisson< PointNT >::getSolverDivide | ( | ) | [inline] |
| const PointNT & pcl::PCLBase< PointNT >::operator[] | ( | size_t | pos | ) | [inline, inherited] |
Override PointCloud operator[] to shorten code.
| pos | position in indices_ vector |
Definition at line 197 of file pcl_base.h.
| void pcl::Poisson< PointNT >::performReconstruction | ( | pcl::PolygonMesh & | output | ) | [virtual] |
Create the surface.
| [out] | output | the resultant polygonal mesh |
Write output PolygonMesh
Implements pcl::SurfaceReconstruction< PointNT >.
Definition at line 146 of file poisson.hpp.
| void pcl::Poisson< PointNT >::performReconstruction | ( | pcl::PointCloud< PointNT > & | points, |
| std::vector< pcl::Vertices > & | polygons | ||
| ) | [virtual] |
Create the surface.
| [out] | points | the vertex positions of the resulting mesh |
| [out] | polygons | the connectivity of the resulting mesh |
Implements pcl::SurfaceReconstruction< PointNT >.
Definition at line 227 of file poisson.hpp.
| virtual void pcl::SurfaceReconstruction< PointNT >::reconstruct | ( | pcl::PolygonMesh & | output | ) | [virtual, inherited] |
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()>
| [out] | output | the resultant reconstructed surface model |
Implements pcl::PCLSurfaceBase< PointNT >.
| virtual void pcl::SurfaceReconstruction< PointNT >::reconstruct | ( | pcl::PointCloud< PointNT > & | points, |
| std::vector< pcl::Vertices > & | polygons | ||
| ) | [virtual, inherited] |
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()>
| [out] | points | the resultant points lying on the new surface |
| [out] | polygons | the resultant polygons, as a set of vertices. The Vertices structure contains an array of point indices. |
| void pcl::Poisson< PointNT >::setConfidence | ( | bool | confidence | ) | [inline] |
Set the confidence flag.
| [in] | confidence | the given flag |
| void pcl::Poisson< PointNT >::setDegree | ( | int | degree | ) | [inline] |
| void pcl::Poisson< PointNT >::setDepth | ( | int | depth | ) | [inline] |
Set the maximum depth of the tree that will be used for surface reconstruction.
| [in] | depth | the depth parameter |
| void pcl::PCLBase< PointNT >::setIndices | ( | const IndicesPtr & | indices | ) | [inline, inherited] |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 113 of file pcl_base.h.
| void pcl::PCLBase< PointNT >::setIndices | ( | const IndicesConstPtr & | indices | ) | [inline, inherited] |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 124 of file pcl_base.h.
| void pcl::PCLBase< PointNT >::setIndices | ( | const PointIndicesConstPtr & | indices | ) | [inline, inherited] |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 135 of file pcl_base.h.
| void pcl::PCLBase< PointNT >::setIndices | ( | size_t | row_start, |
| size_t | col_start, | ||
| size_t | nb_rows, | ||
| size_t | nb_cols | ||
| ) | [inline, inherited] |
Set the indices for the points laying within an interest region of the point cloud.
| row_start | the offset on rows |
| col_start | the offset on columns |
| nb_rows | the number of rows to be considered row_start included |
| nb_cols | the number of columns to be considered col_start included |
Definition at line 151 of file pcl_base.h.
| virtual void pcl::PCLBase< PointNT >::setInputCloud | ( | const PointCloudConstPtr & | cloud | ) | [inline, virtual, inherited] |
Provide a pointer to the input dataset.
| cloud | the const boost shared pointer to a PointCloud message |
Definition at line 103 of file pcl_base.h.
| void pcl::Poisson< PointNT >::setIsoDivide | ( | int | iso_divide | ) | [inline] |
Set the depth at which a block iso-surface extractor should be used to extract the iso-surface.
| [in] | iso_divide | the given parameter value |
| void pcl::Poisson< PointNT >::setManifold | ( | bool | manifold | ) | [inline] |
| void pcl::Poisson< PointNT >::setOutputPolygons | ( | bool | output_polygons | ) | [inline] |
| void pcl::Poisson< PointNT >::setSamplesPerNode | ( | float | samples_per_node | ) | [inline] |
Set the minimum number of sample points that should fall within an octree node as the octree construction is adapted to sampling density.
| [in] | samples_per_node | the given parameter value |
| void pcl::Poisson< PointNT >::setScale | ( | float | scale | ) | [inline] |
| void pcl::PCLSurfaceBase< PointNT >::setSearchMethod | ( | const KdTreePtr & | tree | ) | [inline, inherited] |
Provide an optional pointer to a search object.
| [in] | tree | a pointer to the spatial search object. |
Definition at line 75 of file reconstruction.h.
| void pcl::Poisson< PointNT >::setSolverDivide | ( | int | solver_divide | ) | [inline] |
Set the the depth at which a block Gauss-Seidel solver is used to solve the Laplacian equation.
| [in] | solver_divide | the given parameter value |
1.7.6.1