Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes
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.

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 83 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:
outputthe 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 131 of file project_inliers.h.

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

Get a pointer to the model coefficients.

Definition at line 115 of file project_inliers.h.

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

Get the type of SAC model used.

Definition at line 99 of file project_inliers.h.

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

Initialize the Sample Consensus model and set its parameters.

Parameters:
model_typethe 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:
valtrue if all data should be returned, false if only the projected inliers

Definition at line 124 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:
modela pointer to the model coefficients

Definition at line 108 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:
modelthe model type (check model_types.h)

Definition at line 92 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 154 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 145 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 151 of file project_inliers.h.

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

The model that needs to be segmented.

Definition at line 148 of file project_inliers.h.


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


pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:19:54