|
Point Cloud Library (PCL) 1.15.1
|
#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 |
| using | PointCloud |
| using | PointCloudPtr |
| using | PointCloudConstPtr |
Public Member Functions | |
| PCLBase () | |
| Empty constructor. | |
| virtual | ~PCLBase ()=default |
| destructor. | |
| void | setInputCloud (const PCLPointCloud2ConstPtr &cloud) |
| Provide a pointer to the input dataset. | |
| PCLPointCloud2ConstPtr const | getInputCloud () const |
| Get a pointer to the input point cloud dataset. | |
| 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. | |
| IndicesPtr const | getIndices () const |
| Get a pointer to the vector of indices used. | |
| const pcl::PCLPointCloud2 & | operator[] (std::size_t pos) const |
| Override PointCloud operator[] to shorten code. | |
Protected Member Functions | |
| bool | initCompute () |
| bool | deinitCompute () |
Protected Attributes | |
| PCLPointCloud2ConstPtr | input_ |
| The input point cloud dataset. | |
| IndicesPtr | indices_ |
| A pointer to the vector of point indices to use. | |
| bool | use_indices_ |
| Set to true if point indices are used. | |
| bool | fake_indices_ |
| If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud. | |
| std::vector< uindex_t > | field_sizes_ |
| The size of each individual field. | |
| index_t | x_idx_ |
| The x-y-z fields indices. | |
| index_t | y_idx_ |
| index_t | z_idx_ |
| std::string | x_field_name_ |
| The desired x-y-z field names. | |
| std::string | y_field_name_ |
| std::string | z_field_name_ |
Definition at line 181 of file pcl_base.h.
| using pcl::PCLBase< pcl::PCLPointCloud2 >::PCLPointCloud2 = pcl::PCLPointCloud2 |
Definition at line 184 of file pcl_base.h.
| using pcl::PCLBase< pcl::PCLPointCloud2 >::PCLPointCloud2ConstPtr = PCLPointCloud2::ConstPtr |
Definition at line 186 of file pcl_base.h.
| using pcl::PCLBase< pcl::PCLPointCloud2 >::PCLPointCloud2Ptr = PCLPointCloud2::Ptr |
Definition at line 185 of file pcl_base.h.
| using pcl::PCLBase< pcl::PCLPointCloud2 >::PointCloud |
Definition at line 72 of file pcl_base.h.
| using pcl::PCLBase< pcl::PCLPointCloud2 >::PointCloudConstPtr |
Definition at line 74 of file pcl_base.h.
| using pcl::PCLBase< pcl::PCLPointCloud2 >::PointCloudPtr |
Definition at line 73 of file pcl_base.h.
| using pcl::PCLBase< pcl::PCLPointCloud2 >::PointIndicesConstPtr = PointIndices::ConstPtr |
Definition at line 189 of file pcl_base.h.
| using pcl::PCLBase< pcl::PCLPointCloud2 >::PointIndicesPtr = PointIndices::Ptr |
Definition at line 188 of file pcl_base.h.
| pcl::PCLBase< pcl::PCLPointCloud2 >::PCLBase | ( | ) |
Empty constructor.
|
virtualdefault |
destructor.
|
protected |
References PCL_MAKE_ALIGNED_OPERATOR_NEW.
|
inline |
Get a pointer to the vector of indices used.
Definition at line 221 of file pcl_base.h.
References indices_.
|
inline |
Get a pointer to the input point cloud dataset.
Definition at line 205 of file pcl_base.h.
References input_.
|
protected |
|
inline |
Override PointCloud operator[] to shorten code.
| [in] | pos | position in indices_ vector |
Definition at line 140 of file pcl_base.h.
| 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. |
| 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 |
|
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.
Referenced by pcl::ExtractIndices< pcl::PCLPointCloud2 >::applyFilterIndices(), and getIndices().
|
protected |
The input point cloud dataset.
Definition at line 225 of file pcl_base.h.
Referenced by pcl::ExtractIndices< pcl::PCLPointCloud2 >::applyFilterIndices(), and getInputCloud().
|
protected |
Set to true if point indices are used.
Definition at line 231 of file pcl_base.h.
Referenced by pcl::ExtractIndices< pcl::PCLPointCloud2 >::ExtractIndices().
|
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.