Point Cloud Library (PCL)
1.14.1-dev
|
#include <pcl/pcl_base.h>
Public Types | |
using | PCLPointCloud2 = pcl::PCLPointCloud2 |
using | PCLPointCloud2Ptr = PCLPointCloud2::Ptr |
using | PCLPointCloud2ConstPtr = PCLPointCloud2::ConstPtr |
using | PointIndicesPtr = PointIndices::Ptr |
using | PointIndicesConstPtr = PointIndices::ConstPtr |
Public Member Functions | |
PCLBase () | |
Empty constructor. More... | |
virtual | ~PCLBase ()=default |
destructor. More... | |
void | setInputCloud (const PCLPointCloud2ConstPtr &cloud) |
Provide a pointer to the input dataset. More... | |
PCLPointCloud2ConstPtr const | getInputCloud () const |
Get a pointer to the input point cloud dataset. More... | |
void | setIndices (const IndicesPtr &indices) |
Provide a pointer to the vector of indices that represents the input data. More... | |
void | setIndices (const PointIndicesConstPtr &indices) |
Provide a pointer to the vector of indices that represents the input data. More... | |
IndicesPtr const | getIndices () const |
Get a pointer to the vector of indices used. More... | |
Protected Member Functions | |
bool | initCompute () |
bool | deinitCompute () |
Protected Attributes | |
PCLPointCloud2ConstPtr | input_ |
The input point cloud dataset. More... | |
IndicesPtr | indices_ |
A pointer to the vector of point indices to use. More... | |
bool | use_indices_ |
Set to true if point indices are used. More... | |
bool | fake_indices_ |
If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud. More... | |
std::vector< uindex_t > | field_sizes_ |
The size of each individual field. More... | |
index_t | x_idx_ |
The x-y-z fields indices. More... | |
index_t | y_idx_ |
index_t | z_idx_ |
std::string | x_field_name_ |
The desired x-y-z field names. More... | |
std::string | y_field_name_ |
std::string | z_field_name_ |
Definition at line 181 of file pcl_base.h.
Definition at line 184 of file pcl_base.h.
Definition at line 186 of file pcl_base.h.
Definition at line 185 of file pcl_base.h.
Definition at line 189 of file pcl_base.h.
Definition at line 188 of file pcl_base.h.
pcl::PCLBase< pcl::PCLPointCloud2 >::PCLBase | ( | ) |
Empty constructor.
|
virtualdefault |
destructor.
|
protected |
|
inline |
Get a pointer to the vector of indices used.
Definition at line 221 of file pcl_base.h.
|
inline |
Get a pointer to the input point cloud dataset.
Definition at line 205 of file pcl_base.h.
|
protected |
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. |
Referenced by pcl::outofcore::OutofcoreOctreeBaseNode< ContainerT, PointT >::addPointCloud_and_genLOD(), and pcl::outofcore::OutofcoreOctreeBaseNode< ContainerT, PointT >::queryBBIncludes_subsample().
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. |
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 |
Referenced by pcl::outofcore::OutofcoreOctreeBaseNode< ContainerT, PointT >::addPointCloud_and_genLOD(), and pcl::outofcore::OutofcoreOctreeBaseNode< ContainerT, PointT >::queryBBIncludes_subsample().
|
protected |
If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud.
Definition at line 234 of file pcl_base.h.
|
protected |
The size of each individual field.
Definition at line 237 of file pcl_base.h.
|
protected |
A pointer to the vector of point indices to use.
Definition at line 228 of file pcl_base.h.
|
protected |
The input point cloud dataset.
Definition at line 225 of file pcl_base.h.
|
protected |
Set to true if point indices are used.
Definition at line 231 of file pcl_base.h.
|
protected |
The desired x-y-z field names.
Definition at line 243 of file pcl_base.h.
|
protected |
The x-y-z fields indices.
Definition at line 240 of file pcl_base.h.
|
protected |
Definition at line 243 of file pcl_base.h.
|
protected |
Definition at line 240 of file pcl_base.h.
|
protected |
Definition at line 243 of file pcl_base.h.
|
protected |
Definition at line 240 of file pcl_base.h.