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

SurfaceReconstruction represents a base surface reconstruction class. All surface reconstruction methods take in a point cloud and generate a new surface from it, by either re-sampling the data or generating new data altogether. These methods are thus not preserving the topology of the original data. More...

#include <reconstruction.h>

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

List of all members.

Public Types

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

Public Member Functions

virtual void reconstruct (pcl::PolygonMesh &output)
 Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()>
virtual void reconstruct (pcl::PointCloud< PointInT > &points, std::vector< pcl::Vertices > &polygons)
 Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()>
 SurfaceReconstruction ()
 Constructor.
virtual ~SurfaceReconstruction ()
 Destructor.

Protected Member Functions

virtual void performReconstruction (pcl::PolygonMesh &output)=0
 Abstract surface reconstruction method.
virtual void performReconstruction (pcl::PointCloud< PointInT > &points, 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::SurfaceReconstruction< PointInT >

SurfaceReconstruction represents a base surface reconstruction class. All surface reconstruction methods take in a point cloud and generate a new surface from it, by either re-sampling the data or generating new data altogether. These methods are thus not preserving the topology of the original data.

Note:
Reconstruction methods that always preserve the original input point cloud data as the surface vertices and simply construct the mesh on top should inherit from MeshConstruction.
Author:
Radu B. Rusu, Michael Dixon, Alexandru E. Ichim

Definition at line 119 of file reconstruction.h.


Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Constructor.

Definition at line 133 of file reconstruction.h.

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

Destructor.

Definition at line 136 of file reconstruction.h.


Member Function Documentation

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

Abstract surface reconstruction method.

Parameters:
[out]outputthe output polygonal mesh

Implemented in pcl::MarchingCubes< PointNT >, pcl::GridProjection< PointNT >, and pcl::Poisson< PointNT >.

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

Abstract surface reconstruction method.

Parameters:
[out]pointsthe resultant points lying on the surface
[out]polygonsthe resultant polygons, as a set of vertices. The Vertices structure contains an array of point indices.

Implemented in pcl::MarchingCubes< PointNT >, pcl::GridProjection< PointNT >, and pcl::Poisson< PointNT >.

template<typename PointInT >
void pcl::SurfaceReconstruction< 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: passing in boost shared pointer with * as const& should be OK here

NOTE: usually the number of triangles is around twice the number of vertices

Implements pcl::PCLSurfaceBase< PointInT >.

Definition at line 46 of file reconstruction.hpp.

template<typename PointInT>
void pcl::SurfaceReconstruction< PointInT >::reconstruct ( pcl::PointCloud< PointInT > &  points,
std::vector< pcl::Vertices > &  polygons 
) [virtual]

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

Parameters:
[out]pointsthe resultant points lying on the new surface
[out]polygonsthe resultant polygons, as a set of vertices. The Vertices structure contains an array of point indices.

NOTE: usually the number of triangles is around twice the number of vertices

Definition at line 86 of file reconstruction.hpp.


Member Data Documentation

template<typename PointInT>
bool pcl::SurfaceReconstruction< PointInT >::check_tree_ [protected]

A flag specifying whether or not the derived reconstruction algorithm needs the search object tree.

Definition at line 158 of file reconstruction.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:43:37