Public Member Functions | Protected Member Functions | Protected Attributes
pcl::MeshConstruction< PointInT > Class Template Reference

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>

Inheritance diagram for pcl::MeshConstruction< PointInT >:
Inheritance graph
[legend]

List of all members.

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.

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 180 of file reconstruction.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 191 of file reconstruction.h.

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

Destructor.

Definition at line 194 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::GreedyProjectionTriangulation< PointInT >, pcl::OrganizedFastMesh< PointInT >, and pcl::OrganizedFastMesh< PointType >.

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::GreedyProjectionTriangulation< PointInT >, pcl::OrganizedFastMesh< PointInT >, and pcl::OrganizedFastMesh< PointType >.

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 PointCloud2, 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.

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 219 of file reconstruction.h.


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


pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:19:37