pcl::ProjectInliers< PointT > Class Template Reference

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

#include <project_inliers.h>

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

List of all members.

Public Member Functions

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

Protected Member Functions

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

Private Types

typedef Filter< PointT >
::PointCloud 
PointCloud
typedef PointCloud::ConstPtr PointCloudConstPtr
typedef PointCloud::Ptr PointCloudPtr
typedef SampleConsensusModel
< PointT >::Ptr 
SampleConsensusModelPtr

Private Member Functions

virtual bool initSACModel (int model_type)
 Initialize the Sample Consensus model and set its parameters.

Private Attributes

bool copy_all_data_
 True if all data will be returned, false if only the projected inliers. Default: false.
ModelCoefficientsConstPtr model_
 A pointer to the vector of model coefficients.
int model_type_
 The type of model to use (user given parameter).
SampleConsensusModelPtr sacmodel_
 The model that needs to be segmented.

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 69 of file project_inliers.h.


Member Typedef Documentation

template<typename PointT>
typedef Filter<PointT>::PointCloud pcl::ProjectInliers< PointT >::PointCloud [private]

Reimplemented from pcl::Filter< PointT >.

Definition at line 76 of file project_inliers.h.

template<typename PointT>
typedef PointCloud::ConstPtr pcl::ProjectInliers< PointT >::PointCloudConstPtr [private]

Reimplemented from pcl::Filter< PointT >.

Definition at line 78 of file project_inliers.h.

template<typename PointT>
typedef PointCloud::Ptr pcl::ProjectInliers< PointT >::PointCloudPtr [private]

Reimplemented from pcl::Filter< PointT >.

Definition at line 77 of file project_inliers.h.

template<typename PointT>
typedef SampleConsensusModel<PointT>::Ptr pcl::ProjectInliers< PointT >::SampleConsensusModelPtr [private]

Definition at line 80 of file project_inliers.h.


Constructor & Destructor Documentation

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

Empty constructor.

Definition at line 84 of file project_inliers.h.


Member Function Documentation

template<typename PointT >
void pcl::ProjectInliers< PointT >::applyFilter ( PointCloud output  )  [inline, 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 114 of file project_inliers.h.

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

Get a pointer to the model coefficients.

Definition at line 107 of file project_inliers.h.

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

Get the type of SAC model used.

Definition at line 97 of file project_inliers.h.

template<typename PointT >
bool pcl::ProjectInliers< PointT >::initSACModel ( int  model_type  )  [inline, private, virtual]

Initialize the Sample Consensus model and set its parameters.

Parameters:
model_type the type of SAC model that is to be used

Definition at line 77 of file project_inliers.hpp.

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 112 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 103 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 93 of file project_inliers.h.


Member Data Documentation

template<typename PointT>
bool pcl::ProjectInliers< PointT >::copy_all_data_ [private]

True if all data will be returned, false if only the projected inliers. Default: false.

Definition at line 133 of file project_inliers.h.

template<typename PointT>
ModelCoefficientsConstPtr pcl::ProjectInliers< PointT >::model_ [private]

A pointer to the vector of model coefficients.

Definition at line 124 of file project_inliers.h.

template<typename PointT>
int pcl::ProjectInliers< PointT >::model_type_ [private]

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

Definition at line 130 of file project_inliers.h.

template<typename PointT>
SampleConsensusModelPtr pcl::ProjectInliers< PointT >::sacmodel_ [private]

The model that needs to be segmented.

Definition at line 127 of file project_inliers.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


pcl
Author(s): See http://pcl.ros.org/authors for the complete list of authors.
autogenerated on Fri Jan 11 09:57:20 2013