#include <pcl_base.h>
Public Types | |
typedef sensor_msgs::PointCloud2 | PointCloud2 |
typedef PointCloud2::ConstPtr | PointCloud2ConstPtr |
typedef PointCloud2::Ptr | PointCloud2Ptr |
typedef PointIndices::ConstPtr | PointIndicesConstPtr |
typedef PointIndices::Ptr | PointIndicesPtr |
Public Member Functions | |
IndicesConstPtr const | getIndices () |
Get a pointer to the vector of indices used. | |
PointCloud2ConstPtr const | getInputCloud () |
Get a pointer to the input point cloud dataset. | |
PCLBase () | |
Empty constructor. | |
void | setIndices (const PointIndicesConstPtr &indices) |
Provide a pointer to the vector of indices that represents the input data. | |
void | setIndices (const IndicesConstPtr &indices) |
Provide a pointer to the vector of indices that represents the input data. | |
void | setInputCloud (const PointCloud2ConstPtr &cloud) |
Provide a pointer to the input dataset. | |
Protected Member Functions | |
bool | deinitCompute () |
This method should get called after finishing the actual computation. | |
bool | initCompute () |
This method should get called before starting the actual computation. | |
Protected Attributes | |
bool | fake_indices_ |
If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud. | |
std::vector< int > | field_sizes_ |
The size of each individual field. | |
IndicesConstPtr | indices_ |
A pointer to the vector of point indices to use. | |
PointCloud2ConstPtr | input_ |
The input point cloud dataset. | |
bool | use_indices_ |
Set to true if point indices are used. | |
std::string | x_field_name_ |
The desired x-y-z field names. | |
int | x_idx_ |
The x-y-z fields indices. | |
std::string | y_field_name_ |
int | y_idx_ |
std::string | z_field_name_ |
int | z_idx_ |
Definition at line 174 of file pcl_base.h.
Reimplemented in pcl::ExtractIndices< sensor_msgs::PointCloud2 >, pcl::Filter< sensor_msgs::PointCloud2 >, pcl::PassThrough< sensor_msgs::PointCloud2 >, pcl::ProjectInliers< sensor_msgs::PointCloud2 >, pcl::RadiusOutlierRemoval< sensor_msgs::PointCloud2 >, pcl::StatisticalOutlierRemoval< sensor_msgs::PointCloud2 >, and pcl::VoxelGrid< sensor_msgs::PointCloud2 >.
Definition at line 177 of file pcl_base.h.
typedef PointCloud2::ConstPtr pcl::PCLBase< sensor_msgs::PointCloud2 >::PointCloud2ConstPtr |
Reimplemented in pcl::ExtractIndices< sensor_msgs::PointCloud2 >, pcl::Filter< sensor_msgs::PointCloud2 >, pcl::PassThrough< sensor_msgs::PointCloud2 >, pcl::ProjectInliers< sensor_msgs::PointCloud2 >, pcl::RadiusOutlierRemoval< sensor_msgs::PointCloud2 >, pcl::StatisticalOutlierRemoval< sensor_msgs::PointCloud2 >, and pcl::VoxelGrid< sensor_msgs::PointCloud2 >.
Definition at line 179 of file pcl_base.h.
typedef PointCloud2::Ptr pcl::PCLBase< sensor_msgs::PointCloud2 >::PointCloud2Ptr |
Reimplemented in pcl::ExtractIndices< sensor_msgs::PointCloud2 >, pcl::Filter< sensor_msgs::PointCloud2 >, pcl::PassThrough< sensor_msgs::PointCloud2 >, pcl::ProjectInliers< sensor_msgs::PointCloud2 >, pcl::RadiusOutlierRemoval< sensor_msgs::PointCloud2 >, pcl::StatisticalOutlierRemoval< sensor_msgs::PointCloud2 >, and pcl::VoxelGrid< sensor_msgs::PointCloud2 >.
Definition at line 178 of file pcl_base.h.
Definition at line 182 of file pcl_base.h.
Definition at line 181 of file pcl_base.h.
pcl::PCLBase< sensor_msgs::PointCloud2 >::PCLBase | ( | ) | [inline] |
Empty constructor.
Definition at line 185 of file pcl_base.h.
bool pcl::PCLBase< sensor_msgs::PointCloud2 >::deinitCompute | ( | ) | [protected] |
This method should get called after finishing the actual computation.
Definition at line 68 of file pcl_base.cpp.
IndicesConstPtr const pcl::PCLBase< sensor_msgs::PointCloud2 >::getIndices | ( | ) | [inline] |
Get a pointer to the vector of indices used.
Definition at line 223 of file pcl_base.h.
PointCloud2ConstPtr const pcl::PCLBase< sensor_msgs::PointCloud2 >::getInputCloud | ( | ) | [inline] |
Get a pointer to the input point cloud dataset.
Definition at line 197 of file pcl_base.h.
bool pcl::PCLBase< sensor_msgs::PointCloud2 >::initCompute | ( | ) | [protected] |
This method should get called before starting the actual computation.
Definition at line 82 of file pcl_base.cpp.
void pcl::PCLBase< sensor_msgs::PointCloud2 >::setIndices | ( | const PointIndicesConstPtr & | indices | ) | [inline] |
Provide a pointer to the vector of indices that represents the input data.
indices | a pointer to the vector of indices that represents the input data. |
Definition at line 214 of file pcl_base.h.
void pcl::PCLBase< sensor_msgs::PointCloud2 >::setIndices | ( | const IndicesConstPtr & | indices | ) | [inline] |
Provide a pointer to the vector of indices that represents the input data.
indices | a pointer to the vector of indices that represents the input data. |
Definition at line 203 of file pcl_base.h.
void pcl::PCLBase< sensor_msgs::PointCloud2 >::setInputCloud | ( | const PointCloud2ConstPtr & | cloud | ) |
Provide a pointer to the input dataset.
cloud | the const boost shared pointer to a PointCloud message |
cloud | the const boost shared pointer to a PointCloud message |
Definition at line 52 of file pcl_base.cpp.
bool pcl::PCLBase< sensor_msgs::PointCloud2 >::fake_indices_ [protected] |
If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud.
Definition at line 236 of file pcl_base.h.
std::vector<int> pcl::PCLBase< sensor_msgs::PointCloud2 >::field_sizes_ [protected] |
The size of each individual field.
Definition at line 239 of file pcl_base.h.
IndicesConstPtr pcl::PCLBase< sensor_msgs::PointCloud2 >::indices_ [protected] |
A pointer to the vector of point indices to use.
Definition at line 230 of file pcl_base.h.
PointCloud2ConstPtr pcl::PCLBase< sensor_msgs::PointCloud2 >::input_ [protected] |
The input point cloud dataset.
Definition at line 227 of file pcl_base.h.
bool pcl::PCLBase< sensor_msgs::PointCloud2 >::use_indices_ [protected] |
Set to true if point indices are used.
Definition at line 233 of file pcl_base.h.
std::string pcl::PCLBase< sensor_msgs::PointCloud2 >::x_field_name_ [protected] |
The desired x-y-z field names.
Definition at line 245 of file pcl_base.h.
int pcl::PCLBase< sensor_msgs::PointCloud2 >::x_idx_ [protected] |
The x-y-z fields indices.
Definition at line 242 of file pcl_base.h.
std::string pcl::PCLBase< sensor_msgs::PointCloud2 >::y_field_name_ [protected] |
Definition at line 245 of file pcl_base.h.
int pcl::PCLBase< sensor_msgs::PointCloud2 >::y_idx_ [protected] |
Definition at line 242 of file pcl_base.h.
std::string pcl::PCLBase< sensor_msgs::PointCloud2 >::z_field_name_ [protected] |
Definition at line 245 of file pcl_base.h.
int pcl::PCLBase< sensor_msgs::PointCloud2 >::z_idx_ [protected] |
Definition at line 242 of file pcl_base.h.