|
Point Cloud Library (PCL)
1.11.1-dev
|
Octree container class that does store a single point index. More...
#include <pcl/octree/octree_container.h>
Inheritance diagram for pcl::octree::OctreeContainerPointIndex:Public Member Functions | |
| OctreeContainerPointIndex () | |
| Empty constructor. More... | |
| virtual OctreeContainerPointIndex * | 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::size_t | getSize () const override |
| Get size of container (number of DataT objects) More... | |
| void | reset () override |
| Reset leaf node memory to zero. 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 | |
| int | data_ |
| Point index stored in octree. More... | |
Octree container class that does store a single point index.
Definition at line 169 of file octree_container.h.
|
inline |
Empty constructor.
Definition at line 172 of file octree_container.h.
References reset().
Referenced by deepCopy().
|
inline |
Add point index to container memory.
This container stores a only a single point index.
| [in] | data_arg | index to be stored within leaf node. |
Definition at line 198 of file octree_container.h.
References data_.
|
inlinevirtual |
Octree deep copy method.
Definition at line 176 of file octree_container.h.
References OctreeContainerPointIndex().
|
inline |
Retrieve point index from container.
This container stores a only a single point index
Definition at line 208 of file octree_container.h.
References data_.
|
inline |
Retrieve point indices from container.
This container stores only a single point index
| [out] | data_vector_arg | vector of point indices to be stored within data vector |
Definition at line 219 of file octree_container.h.
References data_.
|
inlineoverridevirtual |
Get size of container (number of DataT objects)
Reimplemented from pcl::octree::OctreeContainerBase.
Definition at line 229 of file octree_container.h.
References data_.
|
inlineoverridevirtual |
Equal comparison operator.
| [in] | other | OctreeContainerBase to compare with |
Reimplemented from pcl::octree::OctreeContainerBase.
Definition at line 185 of file octree_container.h.
References data_.
|
inlineoverridevirtual |
Reset leaf node memory to zero.
Implements pcl::octree::OctreeContainerBase.
Definition at line 236 of file octree_container.h.
References data_.
Referenced by OctreeContainerPointIndex().
|
protected |
Point index stored in octree.
Definition at line 243 of file octree_container.h.
Referenced by addPointIndex(), getPointIndex(), getPointIndices(), getSize(), operator==(), and reset().