#include <pcl_base.h>
Public Types | |
typedef pcl::PCLPointCloud2 | PCLPointCloud2 |
typedef boost::shared_ptr < PCLPointCloud2 const > | PCLPointCloud2ConstPtr |
typedef boost::shared_ptr < PCLPointCloud2 > | PCLPointCloud2Ptr |
typedef boost::shared_ptr < PointIndices const > | PointIndicesConstPtr |
typedef boost::shared_ptr < PointIndices > | PointIndicesPtr |
Public Member Functions | |
IndicesPtr const | getIndices () |
Get a pointer to the vector of indices used. | |
PCLPointCloud2ConstPtr const | getInputCloud () |
Get a pointer to the input point cloud dataset. | |
PCLBase () | |
Empty constructor. | |
void | setIndices (const IndicesPtr &indices) |
Provide a pointer to the vector of indices that represents the input data. | |
void | setIndices (const PointIndicesConstPtr &indices) |
Provide a pointer to the vector of indices that represents the input data. | |
void | setInputCloud (const PCLPointCloud2ConstPtr &cloud) |
Provide a pointer to the input dataset. | |
virtual | ~PCLBase () |
destructor. | |
Protected Member Functions | |
bool | deinitCompute () |
bool | initCompute () |
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. | |
IndicesPtr | indices_ |
A pointer to the vector of point indices to use. | |
PCLPointCloud2ConstPtr | 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 180 of file pcl_base.h.
Reimplemented in pcl::VoxelGrid< pcl::PCLPointCloud2 >, pcl::PassThrough< pcl::PCLPointCloud2 >, pcl::CropBox< pcl::PCLPointCloud2 >, pcl::StatisticalOutlierRemoval< pcl::PCLPointCloud2 >, pcl::RadiusOutlierRemoval< pcl::PCLPointCloud2 >, pcl::FilterIndices< pcl::PCLPointCloud2 >, pcl::Filter< pcl::PCLPointCloud2 >, pcl::ProjectInliers< pcl::PCLPointCloud2 >, pcl::ExtractIndices< pcl::PCLPointCloud2 >, and pcl::RandomSample< pcl::PCLPointCloud2 >.
Definition at line 183 of file pcl_base.h.
typedef boost::shared_ptr<PCLPointCloud2 const> pcl::PCLBase< pcl::PCLPointCloud2 >::PCLPointCloud2ConstPtr |
Reimplemented in pcl::VoxelGrid< pcl::PCLPointCloud2 >, pcl::PassThrough< pcl::PCLPointCloud2 >, pcl::CropBox< pcl::PCLPointCloud2 >, pcl::StatisticalOutlierRemoval< pcl::PCLPointCloud2 >, pcl::RadiusOutlierRemoval< pcl::PCLPointCloud2 >, pcl::Filter< pcl::PCLPointCloud2 >, pcl::ProjectInliers< pcl::PCLPointCloud2 >, pcl::ExtractIndices< pcl::PCLPointCloud2 >, and pcl::RandomSample< pcl::PCLPointCloud2 >.
Definition at line 185 of file pcl_base.h.
typedef boost::shared_ptr<PCLPointCloud2> pcl::PCLBase< pcl::PCLPointCloud2 >::PCLPointCloud2Ptr |
Reimplemented in pcl::VoxelGrid< pcl::PCLPointCloud2 >, pcl::PassThrough< pcl::PCLPointCloud2 >, pcl::CropBox< pcl::PCLPointCloud2 >, pcl::StatisticalOutlierRemoval< pcl::PCLPointCloud2 >, pcl::RadiusOutlierRemoval< pcl::PCLPointCloud2 >, pcl::Filter< pcl::PCLPointCloud2 >, pcl::ProjectInliers< pcl::PCLPointCloud2 >, pcl::ExtractIndices< pcl::PCLPointCloud2 >, and pcl::RandomSample< pcl::PCLPointCloud2 >.
Definition at line 184 of file pcl_base.h.
typedef boost::shared_ptr<PointIndices const> pcl::PCLBase< pcl::PCLPointCloud2 >::PointIndicesConstPtr |
Definition at line 188 of file pcl_base.h.
typedef boost::shared_ptr<PointIndices> pcl::PCLBase< pcl::PCLPointCloud2 >::PointIndicesPtr |
Definition at line 187 of file pcl_base.h.
pcl::PCLBase< pcl::PCLPointCloud2 >::PCLBase | ( | ) |
Empty constructor.
Definition at line 42 of file pcl_base.cpp.
virtual pcl::PCLBase< pcl::PCLPointCloud2 >::~PCLBase | ( | ) | [inline, virtual] |
destructor.
Definition at line 194 of file pcl_base.h.
bool pcl::PCLBase< pcl::PCLPointCloud2 >::deinitCompute | ( | ) | [protected] |
Definition at line 121 of file pcl_base.cpp.
IndicesPtr const pcl::PCLBase< pcl::PCLPointCloud2 >::getIndices | ( | ) | [inline] |
Get a pointer to the vector of indices used.
Definition at line 224 of file pcl_base.h.
PCLPointCloud2ConstPtr const pcl::PCLBase< pcl::PCLPointCloud2 >::getInputCloud | ( | ) | [inline] |
Get a pointer to the input point cloud dataset.
Definition at line 208 of file pcl_base.h.
bool pcl::PCLBase< pcl::PCLPointCloud2 >::initCompute | ( | ) | [protected] |
Definition at line 128 of file pcl_base.cpp.
void pcl::PCLBase< pcl::PCLPointCloud2 >::setIndices | ( | const IndicesPtr & | indices | ) |
Provide a pointer to the vector of indices that represents the input data.
[in] | indices | a pointer to the indices that represent the input data. |
Definition at line 162 of file pcl_base.cpp.
void pcl::PCLBase< pcl::PCLPointCloud2 >::setIndices | ( | const PointIndicesConstPtr & | indices | ) |
Provide a pointer to the vector of indices that represents the input data.
[in] | indices | a pointer to the indices that represent the input data. |
Definition at line 171 of file pcl_base.cpp.
void pcl::PCLBase< pcl::PCLPointCloud2 >::setInputCloud | ( | const PCLPointCloud2ConstPtr & | cloud | ) |
Provide a pointer to the input dataset.
cloud | the const boost shared pointer to a PointCloud message |
Definition at line 59 of file pcl_base.cpp.
bool pcl::PCLBase< pcl::PCLPointCloud2 >::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 237 of file pcl_base.h.
std::vector<int> pcl::PCLBase< pcl::PCLPointCloud2 >::field_sizes_ [protected] |
The size of each individual field.
Definition at line 240 of file pcl_base.h.
IndicesPtr pcl::PCLBase< pcl::PCLPointCloud2 >::indices_ [protected] |
A pointer to the vector of point indices to use.
Definition at line 231 of file pcl_base.h.
PCLPointCloud2ConstPtr pcl::PCLBase< pcl::PCLPointCloud2 >::input_ [protected] |
The input point cloud dataset.
Definition at line 228 of file pcl_base.h.
bool pcl::PCLBase< pcl::PCLPointCloud2 >::use_indices_ [protected] |
Set to true if point indices are used.
Definition at line 234 of file pcl_base.h.
std::string pcl::PCLBase< pcl::PCLPointCloud2 >::x_field_name_ [protected] |
The desired x-y-z field names.
Definition at line 246 of file pcl_base.h.
int pcl::PCLBase< pcl::PCLPointCloud2 >::x_idx_ [protected] |
The x-y-z fields indices.
Definition at line 243 of file pcl_base.h.
std::string pcl::PCLBase< pcl::PCLPointCloud2 >::y_field_name_ [protected] |
Definition at line 246 of file pcl_base.h.
int pcl::PCLBase< pcl::PCLPointCloud2 >::y_idx_ [protected] |
Definition at line 243 of file pcl_base.h.
std::string pcl::PCLBase< pcl::PCLPointCloud2 >::z_field_name_ [protected] |
Definition at line 246 of file pcl_base.h.
int pcl::PCLBase< pcl::PCLPointCloud2 >::z_idx_ [protected] |
Definition at line 243 of file pcl_base.h.