Public Member Functions | Protected Member Functions | Protected Attributes

pcl::ExtractIndices< sensor_msgs::PointCloud2 > 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< sensor_msgs::PointCloud2 >:
Inheritance graph
[legend]
Collaboration diagram for pcl::ExtractIndices< sensor_msgs::PointCloud2 >:
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 (PointCloud2 &output)
 Abstract filter method.

Protected Attributes

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

Detailed Description

template<>
class pcl::ExtractIndices< sensor_msgs::PointCloud2 >

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 108 of file extract_indices.h.


Constructor & Destructor Documentation

Empty constructor.

Definition at line 119 of file extract_indices.h.


Member Function Documentation

void pcl::ExtractIndices< sensor_msgs::PointCloud2 >::applyFilter ( PointCloud2 output  )  [protected, virtual]

Abstract filter method.

The implementation needs to set output.{data, row_step, point_step, width, height, is_dense}.

Implements pcl::Filter< sensor_msgs::PointCloud2 >.

bool pcl::ExtractIndices< sensor_msgs::PointCloud2 >::getNegative (  )  [inline]

Get the value of the internal negative parameter.

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

Definition at line 138 of file extract_indices.h.

void pcl::ExtractIndices< sensor_msgs::PointCloud2 >::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 129 of file extract_indices.h.


Member Data Documentation

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

False by default.

Definition at line 148 of file extract_indices.h.


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