Point Cloud Library (PCL)
1.11.1-dev
|
Octree container class that does store a vector of point indices. More...
#include <pcl/octree/octree_container.h>
Public Member Functions | |
virtual OctreeContainerPointIndices * | deepCopy () const |
Octree deep copy method. More... | |
bool | operator== (const OctreeContainerBase &other) const override |
Equal comparison operator. More... | |
void | addPointIndex (int data_arg) |
Add point index to container memory. More... | |
int | getPointIndex () const |
Retrieve point index from container. More... | |
void | getPointIndices (std::vector< int > &data_vector_arg) const |
Retrieve point indices from container. More... | |
std::vector< int > & | getPointIndicesVector () |
Retrieve reference to point indices vector. More... | |
std::size_t | getSize () const override |
Get size of container (number of indices) More... | |
void | reset () override |
Reset leaf node. More... | |
Public Member Functions inherited from pcl::octree::OctreeContainerBase | |
virtual | ~OctreeContainerBase ()=default |
bool | operator!= (const OctreeContainerBase &other) const |
Inequal comparison operator. More... | |
void | addPointIndex (const int &) |
Empty addPointIndex implementation. More... | |
void | getPointIndex (int &) const |
Empty getPointIndex implementation as this leaf node does not store any point indices. More... | |
void | getPointIndices (std::vector< int > &) const |
Empty getPointIndices implementation as this leaf node does not store any data. More... | |
Protected Attributes | |
std::vector< int > | leafDataTVector_ |
Leaf node DataT vector. More... | |
Octree container class that does store a vector of point indices.
Definition at line 251 of file octree_container.h.
|
inline |
Add point index to container memory.
This container stores a vector of point indices.
[in] | data_arg | index to be stored within leaf node. |
Definition at line 277 of file octree_container.h.
References leafDataTVector_.
|
inlinevirtual |
Octree deep copy method.
Definition at line 255 of file octree_container.h.
|
inline |
Retrieve point index from container.
This container stores a vector of point indices.
Definition at line 287 of file octree_container.h.
References leafDataTVector_.
|
inline |
Retrieve point indices from container.
This container stores a vector of point indices.
[out] | data_vector_arg | vector of point indices to be stored within data vector |
Definition at line 298 of file octree_container.h.
References leafDataTVector_.
|
inline |
Retrieve reference to point indices vector.
This container stores a vector of point indices.
Definition at line 309 of file octree_container.h.
References leafDataTVector_.
|
inlineoverridevirtual |
Get size of container (number of indices)
Reimplemented from pcl::octree::OctreeContainerBase.
Definition at line 318 of file octree_container.h.
References leafDataTVector_.
|
inlineoverridevirtual |
Equal comparison operator.
[in] | other | OctreeContainerDataTVector to compare with |
Reimplemented from pcl::octree::OctreeContainerBase.
Definition at line 264 of file octree_container.h.
References leafDataTVector_.
|
inlineoverridevirtual |
Reset leaf node.
Clear DataT vector.
Implements pcl::octree::OctreeContainerBase.
Definition at line 325 of file octree_container.h.
References leafDataTVector_.
|
protected |
Leaf node DataT vector.
Definition at line 332 of file octree_container.h.
Referenced by addPointIndex(), getPointIndex(), getPointIndices(), getPointIndicesVector(), getSize(), operator==(), and reset().