Point Cloud Library (PCL)  1.7.0
Public Types | Public Member Functions | Protected Member Functions
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 <pcl/filters/project_inliers.h>

+ Inheritance diagram for pcl::ProjectInliers< PointT >:

List of all members.

Public Types

typedef boost::shared_ptr
< ProjectInliers< PointT > > 
Ptr
typedef boost::shared_ptr
< const ProjectInliers< PointT > > 
ConstPtr

Public Member Functions

 ProjectInliers ()
 Empty constructor.
virtual ~ProjectInliers ()
 Empty destructor.
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.

Author:
Radu Bogdan Rusu

Definition at line 69 of file project_inliers.h.


Member Typedef Documentation

template<typename PointT >
typedef boost::shared_ptr< const ProjectInliers<PointT> > pcl::ProjectInliers< PointT >::ConstPtr

Reimplemented from pcl::Filter< PointT >.

Definition at line 84 of file project_inliers.h.

template<typename PointT >
typedef boost::shared_ptr< ProjectInliers<PointT> > pcl::ProjectInliers< PointT >::Ptr

Reimplemented from pcl::Filter< PointT >.

Definition at line 83 of file project_inliers.h.


Constructor & Destructor Documentation

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

Empty constructor.

Definition at line 88 of file project_inliers.h.

References pcl::Filter< PointT >::filter_name_.

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

Empty destructor.

Definition at line 94 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.

References pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::points, and pcl::PointCloud< PointT >::width.

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

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

Get a pointer to the model coefficients.

Definition at line 123 of file project_inliers.h.

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

Get the type of SAC model used.

Definition at line 107 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:
valtrue if all data should be returned, false if only the projected inliers

Definition at line 132 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 116 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 100 of file project_inliers.h.


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