Octree leaf class that does store a vector of DataT elements. More...
#include <octree_container.h>
Public Member Functions | |
virtual OctreeContainerDataTVector * | deepCopy () const |
Octree deep copy method. | |
void | getData (DataT &data_arg) const |
Receive the most recent DataT element that was pushed to the internal DataT vector. | |
void | getData (std::vector< DataT > &dataVector_arg) const |
Concatenate the internal DataT vector to vector argument dataVector_arg. | |
const std::vector< DataT > & | getDataTVector () const |
Return const reference to internal DataT vector. | |
size_t | getSize () const |
Get size of container (number of DataT objects) | |
OctreeContainerDataTVector () | |
Empty constructor. | |
OctreeContainerDataTVector (const OctreeContainerDataTVector &source) | |
Empty constructor. | |
void | reset () |
Reset leaf node. Clear DataT vector. | |
void | setData (const DataT &data_arg) |
Pushes a DataT element to internal DataT vector. | |
virtual | ~OctreeContainerDataTVector () |
Empty deconstructor. | |
Protected Attributes | |
vector< DataT > | leafDataTVector_ |
Leaf node DataT vector. |
Octree leaf class that does store a vector of DataT elements.
Definition at line 221 of file octree_container.h.
pcl::octree::OctreeContainerDataTVector< DataT >::OctreeContainerDataTVector | ( | ) | [inline] |
Empty constructor.
Definition at line 225 of file octree_container.h.
pcl::octree::OctreeContainerDataTVector< DataT >::OctreeContainerDataTVector | ( | const OctreeContainerDataTVector< DataT > & | source | ) | [inline] |
Empty constructor.
Definition at line 231 of file octree_container.h.
virtual pcl::octree::OctreeContainerDataTVector< DataT >::~OctreeContainerDataTVector | ( | ) | [inline, virtual] |
Empty deconstructor.
Definition at line 238 of file octree_container.h.
virtual OctreeContainerDataTVector* pcl::octree::OctreeContainerDataTVector< DataT >::deepCopy | ( | ) | const [inline, virtual] |
Octree deep copy method.
Definition at line 244 of file octree_container.h.
void pcl::octree::OctreeContainerDataTVector< DataT >::getData | ( | DataT & | data_arg | ) | const [inline] |
Receive the most recent DataT element that was pushed to the internal DataT vector.
[in] | data_arg | reference to DataT type to obtain the most recently added leaf node DataT element. |
Definition at line 262 of file octree_container.h.
void pcl::octree::OctreeContainerDataTVector< DataT >::getData | ( | std::vector< DataT > & | dataVector_arg | ) | const [inline] |
Concatenate the internal DataT vector to vector argument dataVector_arg.
[in] | dataVector_arg,: | reference to DataT vector that is to be extended with leaf node DataT elements. |
Definition at line 272 of file octree_container.h.
const std::vector<DataT>& pcl::octree::OctreeContainerDataTVector< DataT >::getDataTVector | ( | ) | const [inline] |
Return const reference to internal DataT vector.
Definition at line 281 of file octree_container.h.
size_t pcl::octree::OctreeContainerDataTVector< DataT >::getSize | ( | ) | const [inline] |
Get size of container (number of DataT objects)
Definition at line 290 of file octree_container.h.
void pcl::octree::OctreeContainerDataTVector< DataT >::reset | ( | ) | [inline] |
Reset leaf node. Clear DataT vector.
Definition at line 297 of file octree_container.h.
void pcl::octree::OctreeContainerDataTVector< DataT >::setData | ( | const DataT & | data_arg | ) | [inline] |
Pushes a DataT element to internal DataT vector.
[in] | data_arg | reference to DataT element to be stored within leaf node. |
Definition at line 253 of file octree_container.h.
vector<DataT> pcl::octree::OctreeContainerDataTVector< DataT >::leafDataTVector_ [protected] |
Leaf node DataT vector.
Definition at line 304 of file octree_container.h.