Point Cloud Library (PCL)  1.7.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
pcl::MeshConstruction< PointInT > Class Template Reference

MeshConstruction represents a base surface reconstruction class. More...

#include <pcl/surface/reconstruction.h>

+ Inheritance diagram for pcl::MeshConstruction< PointInT >:

List of all members.

Public Types

typedef boost::shared_ptr
< MeshConstruction< PointInT > > 
Ptr
typedef boost::shared_ptr
< const MeshConstruction
< PointInT > > 
ConstPtr

Public Member Functions

 MeshConstruction ()
 Constructor.
virtual ~MeshConstruction ()
 Destructor.
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 ()>

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.

Detailed Description

template<typename PointInT>
class pcl::MeshConstruction< PointInT >

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.

Note:
Reconstruction methods that generate a new surface or create new vertices in locations different than the input data should inherit from SurfaceReconstruction.
Author:
Radu B. Rusu, Michael Dixon, Alexandru E. Ichim

Definition at line 188 of file reconstruction.h.


Member Typedef Documentation

template<typename PointInT >
typedef boost::shared_ptr<const MeshConstruction<PointInT> > pcl::MeshConstruction< PointInT >::ConstPtr
template<typename PointInT >
typedef boost::shared_ptr<MeshConstruction<PointInT> > pcl::MeshConstruction< PointInT >::Ptr

Constructor & Destructor Documentation

template<typename PointInT >
pcl::MeshConstruction< PointInT >::MeshConstruction ( ) [inline]

Constructor.

Definition at line 202 of file reconstruction.h.

template<typename PointInT >
virtual pcl::MeshConstruction< PointInT >::~MeshConstruction ( ) [inline, virtual]

Destructor.

Definition at line 205 of file reconstruction.h.


Member Function Documentation

template<typename PointInT >
virtual void pcl::MeshConstruction< PointInT >::performReconstruction ( pcl::PolygonMesh output) [protected, pure virtual]

Abstract surface reconstruction method.

Parameters:
[out]outputthe output polygonal mesh

Implemented in pcl::ConvexHull< PointInT >, pcl::ConcaveHull< PointInT >, and pcl::OrganizedFastMesh< PointInT >.

template<typename PointInT >
virtual void pcl::MeshConstruction< PointInT >::performReconstruction ( std::vector< pcl::Vertices > &  polygons) [protected, pure virtual]

Abstract surface reconstruction method.

Parameters:
[out]polygonsthe resultant polygons, as a set of vertices. The Vertices structure contains an array of point indices.

Implemented in pcl::ConvexHull< PointInT >, pcl::ConcaveHull< PointInT >, and pcl::OrganizedFastMesh< PointInT >.

template<typename PointInT >
void pcl::MeshConstruction< PointInT >::reconstruct ( pcl::PolygonMesh output) [virtual]

Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()>

Parameters:
[out]outputthe resultant reconstructed surface model
Note:
This method copies the input point cloud data from PointCloud<T> to PCLPointCloud2, and is implemented here for backwards compatibility only!

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.

References pcl::PolygonMesh::cloud, pcl::PCLPointCloud2::data, pcl::PolygonMesh::header, pcl::PCLPointCloud2::height, pcl::PolygonMesh::polygons, pcl::toPCLPointCloud2(), and pcl::PCLPointCloud2::width.

template<typename PointInT >
void pcl::MeshConstruction< PointInT >::reconstruct ( std::vector< pcl::Vertices > &  polygons) [virtual]

Base method for mesh construction for all points given in <setInputCloud (), setIndices ()>

Parameters:
[out]polygonsthe resultant polygons, as a set of vertices. The Vertices structure contains an array of point indices.

Definition at line 166 of file reconstruction.hpp.


Member Data Documentation

template<typename PointInT >
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.

Referenced by pcl::OrganizedFastMesh< PointInT >::OrganizedFastMesh().


The documentation for this class was generated from the following files: