Point Cloud Library (PCL)
1.7.0
|
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>
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. |
ProjectInliers uses a model and a set of inlier indices from a PointCloud to project them into a separate PointCloud.
Definition at line 69 of file project_inliers.h.
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.
typedef boost::shared_ptr< ProjectInliers<PointT> > pcl::ProjectInliers< PointT >::Ptr |
Reimplemented from pcl::Filter< PointT >.
Definition at line 83 of file project_inliers.h.
pcl::ProjectInliers< PointT >::ProjectInliers | ( | ) | [inline] |
Empty constructor.
Definition at line 88 of file project_inliers.h.
References pcl::Filter< PointT >::filter_name_.
virtual pcl::ProjectInliers< PointT >::~ProjectInliers | ( | ) | [inline, virtual] |
Empty destructor.
Definition at line 94 of file project_inliers.h.
void pcl::ProjectInliers< PointT >::applyFilter | ( | PointCloud & | output | ) | [protected, virtual] |
Project point indices into a separate PointCloud.
output | the 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.
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.
ModelCoefficientsConstPtr pcl::ProjectInliers< PointT >::getModelCoefficients | ( | ) | [inline] |
Get a pointer to the model coefficients.
Definition at line 123 of file project_inliers.h.
int pcl::ProjectInliers< PointT >::getModelType | ( | ) | [inline] |
Get the type of SAC model used.
Definition at line 107 of file project_inliers.h.
void pcl::ProjectInliers< PointT >::setCopyAllData | ( | bool | val | ) | [inline] |
Set whether all data will be returned, or only the projected inliers.
val | true if all data should be returned, false if only the projected inliers |
Definition at line 132 of file project_inliers.h.
void pcl::ProjectInliers< PointT >::setModelCoefficients | ( | const ModelCoefficientsConstPtr & | model | ) | [inline] |
Provide a pointer to the model coefficients.
model | a pointer to the model coefficients |
Definition at line 116 of file project_inliers.h.
void pcl::ProjectInliers< PointT >::setModelType | ( | int | model | ) | [inline] |
The type of model to use (user given parameter).
model | the model type (check model_types.h) |
Definition at line 100 of file project_inliers.h.