Public Member Functions | Protected Member Functions | Protected Attributes

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

ExtractIndices extracts a set of indices from a PointCloud as a separate PointCloud. More...

#include <pcl/filters/extract_indices.h>

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

List of all members.

Public Member Functions

 ExtractIndices ()
 Empty constructor.
void setNegative (bool negative)
 Set whether the indices should be returned, or all points _except_ the indices.
bool getNegative ()
 Get the value of the internal negative parameter.

Protected Member Functions

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

Protected Attributes

bool negative_
 If true, all the points _except_ the input indices will be returned.

Detailed Description

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

ExtractIndices extracts a set of indices from a PointCloud as a separate PointCloud.

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

Definition at line 51 of file extract_indices.h.


Constructor & Destructor Documentation

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

Empty constructor.

Definition at line 65 of file extract_indices.h.


Member Function Documentation

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

Extract point indices into a separate PointCloud.

Parameters:
output the resultant point cloud message

Implements pcl::Filter< PointT >.

Definition at line 46 of file extract_indices.hpp.

template<typename PointT >
bool pcl::ExtractIndices< PointT >::getNegative (  )  [inline]

Get the value of the internal negative parameter.

If true, all points _except_ the input indices will be returned.

Definition at line 85 of file extract_indices.h.

template<typename PointT >
void pcl::ExtractIndices< PointT >::setNegative ( bool  negative  )  [inline]

Set whether the indices should be returned, or all points _except_ the indices.

Parameters:
negative true if all points _except_ the input indices will be returned, false otherwise

Definition at line 76 of file extract_indices.h.


Member Data Documentation

template<typename PointT >
bool pcl::ExtractIndices< PointT >::negative_ [protected]

If true, all the points _except_ the input indices will be returned.

False by default.

Definition at line 98 of file extract_indices.h.


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