Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

pcl::SurfaceReconstruction< PointInT > Class Template Reference
[Module surface]

SurfaceReconstruction represents the base surface reconstruction class. More...

#include <pcl/surface/reconstruction.h>

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

List of all members.

Public Types

typedef pcl::KdTree< PointInT > KdTree
typedef pcl::KdTree< PointInT >
::Ptr 
KdTreePtr
typedef boost::function< int(int,
double, std::vector< int >
&, std::vector< float > &)> 
SearchMethod

Public Member Functions

 SurfaceReconstruction ()
 Constructor.
void reconstruct (pcl::PolygonMesh &output)
 Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()>
void setSearchMethod (const KdTreePtr &tree)
 Provide a pointer to the search object.
KdTreePtr getSearchMethod ()
 Get a pointer to the search method used.

Protected Member Functions

virtual void performReconstruction (pcl::PolygonMesh &output)=0
 Abstract surface reconstruction method.
virtual std::string getClassName () const
 Abstract class get name method.

Protected Attributes

SearchMethod search_method_
 The search method template for indices.
KdTreePtr tree_
 A pointer to the spatial search object.

Detailed Description

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

SurfaceReconstruction represents the base surface reconstruction class.

Author:
Radu Bogdan Rusu

Definition at line 55 of file reconstruction.h.


Member Typedef Documentation

template<typename PointInT>
typedef pcl::KdTree<PointInT> pcl::SurfaceReconstruction< PointInT >::KdTree
template<typename PointInT>
typedef pcl::KdTree<PointInT>::Ptr pcl::SurfaceReconstruction< PointInT >::KdTreePtr
template<typename PointInT>
typedef boost::function<int (int, double, std::vector<int> &, std::vector<float> &)> pcl::SurfaceReconstruction< PointInT >::SearchMethod

Definition at line 66 of file reconstruction.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 69 of file reconstruction.h.


Member Function Documentation

template<typename PointInT>
virtual std::string pcl::SurfaceReconstruction< PointInT >::getClassName (  )  const [inline, protected, virtual]

Abstract class get name method.

Definition at line 103 of file reconstruction.h.

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

Get a pointer to the search method used.

Definition at line 90 of file reconstruction.h.

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

Abstract surface reconstruction method.

Implemented in pcl::GridProjection< PointNT >.

template<typename PointInT >
void pcl::SurfaceReconstruction< PointInT >::reconstruct ( pcl::PolygonMesh output  ) 

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

Parameters:
output the 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

Definition at line 43 of file reconstruction.hpp.

template<typename PointInT>
void pcl::SurfaceReconstruction< PointInT >::setSearchMethod ( const KdTreePtr tree  )  [inline]

Provide a pointer to the search object.

Parameters:
tree a pointer to the spatial search object.

Definition at line 81 of file reconstruction.h.


Member Data Documentation

template<typename PointInT>
SearchMethod pcl::SurfaceReconstruction< PointInT >::search_method_ [protected]

The search method template for indices.

Definition at line 94 of file reconstruction.h.

template<typename PointInT>
KdTreePtr pcl::SurfaceReconstruction< PointInT >::tree_ [protected]

A pointer to the spatial search object.

Definition at line 97 of file reconstruction.h.


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