Octree leaf class that does store a single DataT element. More...
#include <octree_container.h>
Public Member Functions | |
virtual OctreeContainerDataT * | deepCopy () const |
Octree deep copy method. | |
void | getData (DataT &dataVector_arg) const |
Adds leaf node DataT element to dataVector vector of type DataT. | |
void | getData (vector< DataT > &dataVector_arg) const |
Adds leaf node DataT element to dataVector vector of type DataT. | |
size_t | getSize () const |
Get size of container (number of DataT objects) | |
OctreeContainerDataT () | |
Empty constructor. | |
OctreeContainerDataT (const OctreeContainerDataT &source) | |
Empty constructor. | |
void | reset () |
Reset leaf node memory to zero. | |
void | setData (const DataT &data_arg) |
Copies a DataT element to leaf node memorye. | |
virtual | ~OctreeContainerDataT () |
Empty deconstructor. | |
Protected Attributes | |
DataT | data_ |
Leaf node DataT storage. | |
bool | isEmpty_ |
Bool indicating if leaf node is empty or not. |
Octree leaf class that does store a single DataT element.
Definition at line 132 of file octree_container.h.
pcl::octree::OctreeContainerDataT< DataT >::OctreeContainerDataT | ( | ) | [inline] |
Empty constructor.
Definition at line 136 of file octree_container.h.
pcl::octree::OctreeContainerDataT< DataT >::OctreeContainerDataT | ( | const OctreeContainerDataT< DataT > & | source | ) | [inline] |
Empty constructor.
Definition at line 144 of file octree_container.h.
virtual pcl::octree::OctreeContainerDataT< DataT >::~OctreeContainerDataT | ( | ) | [inline, virtual] |
Empty deconstructor.
Definition at line 151 of file octree_container.h.
virtual OctreeContainerDataT* pcl::octree::OctreeContainerDataT< DataT >::deepCopy | ( | ) | const [inline, virtual] |
Octree deep copy method.
Definition at line 157 of file octree_container.h.
void pcl::octree::OctreeContainerDataT< DataT >::getData | ( | DataT & | dataVector_arg | ) | const [inline] |
Adds leaf node DataT element to dataVector vector of type DataT.
[in] | dataVector_arg,: | reference to DataT type to obtain the most recently added leaf node DataT element. |
Definition at line 176 of file octree_container.h.
void pcl::octree::OctreeContainerDataT< DataT >::getData | ( | vector< DataT > & | dataVector_arg | ) | const [inline] |
Adds leaf node DataT element to dataVector vector of type DataT.
[in] | dataVector_arg,: | reference to DataT vector that is to be extended with leaf node DataT elements. |
Definition at line 186 of file octree_container.h.
size_t pcl::octree::OctreeContainerDataT< DataT >::getSize | ( | ) | const [inline] |
Get size of container (number of DataT objects)
Definition at line 196 of file octree_container.h.
void pcl::octree::OctreeContainerDataT< DataT >::reset | ( | ) | [inline] |
Reset leaf node memory to zero.
Definition at line 203 of file octree_container.h.
void pcl::octree::OctreeContainerDataT< DataT >::setData | ( | const DataT & | data_arg | ) | [inline] |
Copies a DataT element to leaf node memorye.
[in] | data_arg | reference to DataT element to be stored within leaf node. |
Definition at line 166 of file octree_container.h.
DataT pcl::octree::OctreeContainerDataT< DataT >::data_ [protected] |
Leaf node DataT storage.
Definition at line 209 of file octree_container.h.
bool pcl::octree::OctreeContainerDataT< DataT >::isEmpty_ [protected] |
Bool indicating if leaf node is empty or not.
Definition at line 212 of file octree_container.h.