Public Types | Public Member Functions | Protected Member Functions

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

ConvexHull using libqhull library. More...

#include <pcl/surface/convex_hull.h>

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

List of all members.

Public Types

typedef pcl::PointCloud< PointInT > PointCloud
typedef PointCloud::Ptr PointCloudPtr
typedef PointCloud::ConstPtr PointCloudConstPtr

Public Member Functions

 ConvexHull ()
 Empty constructor.
void reconstruct (PointCloud &points, std::vector< pcl::Vertices > &polygons)
 Compute a convex hull for all points given.
void reconstruct (PointCloud &output)
 Compute a convex hull for all points given.
void setKeepInformation (bool value)
 If keep_information_is set to true the convex hull points keep other information like rgb, normals, ...

Protected Member Functions

std::string getClassName () const
 Class get name method.

Detailed Description

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

ConvexHull using libqhull library.

Author:
Aitor Aldoma

Definition at line 74 of file convex_hull.h.


Member Typedef Documentation

template<typename PointInT >
typedef pcl::PointCloud<PointInT> pcl::ConvexHull< PointInT >::PointCloud

Reimplemented from pcl::PCLBase< PointInT >.

Definition at line 82 of file convex_hull.h.

template<typename PointInT >
typedef PointCloud::ConstPtr pcl::ConvexHull< PointInT >::PointCloudConstPtr

Reimplemented from pcl::PCLBase< PointInT >.

Definition at line 84 of file convex_hull.h.

template<typename PointInT >
typedef PointCloud::Ptr pcl::ConvexHull< PointInT >::PointCloudPtr

Reimplemented from pcl::PCLBase< PointInT >.

Definition at line 83 of file convex_hull.h.


Constructor & Destructor Documentation

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

Empty constructor.

Definition at line 87 of file convex_hull.h.


Member Function Documentation

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

Class get name method.

Definition at line 136 of file convex_hull.h.

template<typename PointInT >
void pcl::ConvexHull< PointInT >::reconstruct ( PointCloud output  ) 

Compute a convex hull for all points given.

Parameters:
output the resultant convex hull vertices

Definition at line 374 of file convex_hull.hpp.

template<typename PointInT >
void pcl::ConvexHull< PointInT >::reconstruct ( PointCloud points,
std::vector< pcl::Vertices > &  polygons 
)

Compute a convex hull for all points given.

Parameters:
points the resultant points lying on the convex hull
polygons the resultant convex hull polygons, as a set of vertices. The Vertices structure contains an array of point indices.

Definition at line 396 of file convex_hull.hpp.

template<typename PointInT >
void pcl::ConvexHull< PointInT >::setKeepInformation ( bool  value  )  [inline]

If keep_information_is set to true the convex hull points keep other information like rgb, normals, ...

Parameters:
value where to keep the information or not, default is false

Definition at line 113 of file convex_hull.h.


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