Public Member Functions | Protected Member Functions

pcl::ProjectInliers< PointT > Class Template Reference
[Module filters]

ProjectInliers uses a model and a set of inlier indices from a PointCloud to project them into a separate PointCloud. More...

#include <pcl/filters/project_inliers.h>

Inheritance diagram for pcl::ProjectInliers< PointT >:
Inheritance graph
[legend]
Collaboration diagram for pcl::ProjectInliers< PointT >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ProjectInliers ()
 Empty constructor.
void setModelType (int model)
 The type of model to use (user given parameter).
int getModelType ()
 Get the type of SAC model used.
void setModelCoefficients (const ModelCoefficientsConstPtr &model)
 Provide a pointer to the model coefficients.
ModelCoefficientsConstPtr getModelCoefficients ()
 Get a pointer to the model coefficients.
void setCopyAllData (bool val)
 Set whether all data will be returned, or only the projected inliers.
bool getCopyAllData ()
 Get whether all data is being copied (true), or only the projected inliers (false).

Protected Member Functions

void applyFilter (PointCloud &output)
 Project point indices into a separate PointCloud.

Detailed Description

template<typename PointT>
class pcl::ProjectInliers< PointT >

ProjectInliers uses a model and a set of inlier indices from a PointCloud to project them into a separate PointCloud.

Note:
setFilterFieldName (), setFilterLimits (), and setFilterLimitNegative () are ignored.
Author:
Radu Bogdan Rusu

Definition at line 68 of file project_inliers.h.


Constructor & Destructor Documentation

template<typename PointT >
pcl::ProjectInliers< PointT >::ProjectInliers (  )  [inline]

Empty constructor.

Definition at line 82 of file project_inliers.h.


Member Function Documentation

template<typename PointT >
void pcl::ProjectInliers< PointT >::applyFilter ( PointCloud output  )  [protected, virtual]

Project point indices into a separate PointCloud.

Parameters:
output the resultant point cloud message

Implements pcl::Filter< PointT >.

Definition at line 45 of file project_inliers.hpp.

template<typename PointT >
bool pcl::ProjectInliers< PointT >::getCopyAllData (  )  [inline]

Get whether all data is being copied (true), or only the projected inliers (false).

Definition at line 130 of file project_inliers.h.

template<typename PointT >
ModelCoefficientsConstPtr pcl::ProjectInliers< PointT >::getModelCoefficients (  )  [inline]

Get a pointer to the model coefficients.

Definition at line 114 of file project_inliers.h.

template<typename PointT >
int pcl::ProjectInliers< PointT >::getModelType (  )  [inline]

Get the type of SAC model used.

Definition at line 98 of file project_inliers.h.

template<typename PointT >
void pcl::ProjectInliers< PointT >::setCopyAllData ( bool  val  )  [inline]

Set whether all data will be returned, or only the projected inliers.

Parameters:
val true if all data should be returned, false if only the projected inliers

Definition at line 123 of file project_inliers.h.

template<typename PointT >
void pcl::ProjectInliers< PointT >::setModelCoefficients ( const ModelCoefficientsConstPtr model  )  [inline]

Provide a pointer to the model coefficients.

Parameters:
model a pointer to the model coefficients

Definition at line 107 of file project_inliers.h.

template<typename PointT >
void pcl::ProjectInliers< PointT >::setModelType ( int  model  )  [inline]

The type of model to use (user given parameter).

Parameters:
model the model type (check model_types.h)

Definition at line 91 of file project_inliers.h.


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