MeshConstruction represents a base surface reconstruction class. All mesh constructing methods that take in a point cloud and generate a surface that uses the original data as vertices should inherit from this class. More...
#include <reconstruction.h>
Public Types | |
typedef boost::shared_ptr < const MeshConstruction < PointInT > > | ConstPtr |
typedef boost::shared_ptr < MeshConstruction< PointInT > > | Ptr |
Public Member Functions | |
MeshConstruction () | |
Constructor. | |
virtual void | reconstruct (pcl::PolygonMesh &output) |
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()> | |
virtual void | reconstruct (std::vector< pcl::Vertices > &polygons) |
Base method for mesh construction for all points given in <setInputCloud (), setIndices ()> | |
virtual | ~MeshConstruction () |
Destructor. | |
Protected Member Functions | |
virtual void | performReconstruction (pcl::PolygonMesh &output)=0 |
Abstract surface reconstruction method. | |
virtual void | performReconstruction (std::vector< pcl::Vertices > &polygons)=0 |
Abstract surface reconstruction method. | |
Protected Attributes | |
bool | check_tree_ |
A flag specifying whether or not the derived reconstruction algorithm needs the search object tree. |
MeshConstruction represents a base surface reconstruction class. All mesh constructing methods that take in a point cloud and generate a surface that uses the original data as vertices should inherit from this class.
Definition at line 188 of file reconstruction.h.
typedef boost::shared_ptr<const MeshConstruction<PointInT> > pcl::MeshConstruction< PointInT >::ConstPtr |
Reimplemented from pcl::PCLSurfaceBase< PointInT >.
Reimplemented in pcl::GreedyProjectionTriangulation< PointInT >, pcl::OrganizedFastMesh< PointInT >, and pcl::OrganizedFastMesh< PointType >.
Definition at line 192 of file reconstruction.h.
typedef boost::shared_ptr<MeshConstruction<PointInT> > pcl::MeshConstruction< PointInT >::Ptr |
Reimplemented from pcl::PCLSurfaceBase< PointInT >.
Reimplemented in pcl::GreedyProjectionTriangulation< PointInT >, pcl::OrganizedFastMesh< PointInT >, and pcl::OrganizedFastMesh< PointType >.
Definition at line 191 of file reconstruction.h.
pcl::MeshConstruction< PointInT >::MeshConstruction | ( | ) | [inline] |
Constructor.
Definition at line 202 of file reconstruction.h.
virtual pcl::MeshConstruction< PointInT >::~MeshConstruction | ( | ) | [inline, virtual] |
Destructor.
Definition at line 205 of file reconstruction.h.
virtual void pcl::MeshConstruction< PointInT >::performReconstruction | ( | pcl::PolygonMesh & | output | ) | [protected, pure virtual] |
Abstract surface reconstruction method.
[out] | output | the output polygonal mesh |
Implemented in pcl::GreedyProjectionTriangulation< PointInT >, pcl::OrganizedFastMesh< PointInT >, and pcl::OrganizedFastMesh< PointType >.
virtual void pcl::MeshConstruction< PointInT >::performReconstruction | ( | std::vector< pcl::Vertices > & | polygons | ) | [protected, pure virtual] |
Abstract surface reconstruction method.
[out] | polygons | the resultant polygons, as a set of vertices. The Vertices structure contains an array of point indices. |
Implemented in pcl::GreedyProjectionTriangulation< PointInT >, pcl::OrganizedFastMesh< PointInT >, and pcl::OrganizedFastMesh< PointType >.
void pcl::MeshConstruction< PointInT >::reconstruct | ( | pcl::PolygonMesh & | output | ) | [virtual] |
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()>
[out] | output | the resultant reconstructed surface model |
NOTE: passing in boost shared pointer with * as const& should be OK here
Implements pcl::PCLSurfaceBase< PointInT >.
Definition at line 126 of file reconstruction.hpp.
void pcl::MeshConstruction< PointInT >::reconstruct | ( | std::vector< pcl::Vertices > & | polygons | ) | [virtual] |
Base method for mesh construction for all points given in <setInputCloud (), setIndices ()>
[out] | polygons | the resultant polygons, as a set of vertices. The Vertices structure contains an array of point indices. |
Definition at line 166 of file reconstruction.hpp.
bool pcl::MeshConstruction< PointInT >::check_tree_ [protected] |
A flag specifying whether or not the derived reconstruction algorithm needs the search object tree.
Definition at line 230 of file reconstruction.h.