Public Member Functions | Protected Attributes
pcl::octree::OctreeContainerDataTVector< DataT > Class Template Reference

Octree leaf class that does store a vector of DataT elements. More...

#include <octree_container.h>

List of all members.

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.

Detailed Description

template<typename DataT>
class pcl::octree::OctreeContainerDataTVector< DataT >

Octree leaf class that does store a vector of DataT elements.

Note:
Enables the octree to store multiple DataT elements within its leaf nodes.
Author:
Julius Kammerl (julius@kammerl.de)

Definition at line 221 of file octree_container.h.


Constructor & Destructor Documentation

template<typename DataT >
pcl::octree::OctreeContainerDataTVector< DataT >::OctreeContainerDataTVector ( ) [inline]

Empty constructor.

Definition at line 225 of file octree_container.h.

template<typename DataT >
pcl::octree::OctreeContainerDataTVector< DataT >::OctreeContainerDataTVector ( const OctreeContainerDataTVector< DataT > &  source) [inline]

Empty constructor.

Definition at line 231 of file octree_container.h.

template<typename DataT >
virtual pcl::octree::OctreeContainerDataTVector< DataT >::~OctreeContainerDataTVector ( ) [inline, virtual]

Empty deconstructor.

Definition at line 238 of file octree_container.h.


Member Function Documentation

template<typename DataT >
virtual OctreeContainerDataTVector* pcl::octree::OctreeContainerDataTVector< DataT >::deepCopy ( ) const [inline, virtual]

Octree deep copy method.

Definition at line 244 of file octree_container.h.

template<typename DataT >
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.

Parameters:
[in]data_argreference to DataT type to obtain the most recently added leaf node DataT element.

Definition at line 262 of file octree_container.h.

template<typename DataT >
void pcl::octree::OctreeContainerDataTVector< DataT >::getData ( std::vector< DataT > &  dataVector_arg) const [inline]

Concatenate the internal DataT vector to vector argument dataVector_arg.

Parameters:
[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.

template<typename DataT >
const std::vector<DataT>& pcl::octree::OctreeContainerDataTVector< DataT >::getDataTVector ( ) const [inline]

Return const reference to internal DataT vector.

Returns:
const reference to internal DataT vector

Definition at line 281 of file octree_container.h.

template<typename DataT >
size_t pcl::octree::OctreeContainerDataTVector< DataT >::getSize ( ) const [inline]

Get size of container (number of DataT objects)

Returns:
number of DataT elements in leaf node container.

Definition at line 290 of file octree_container.h.

template<typename DataT >
void pcl::octree::OctreeContainerDataTVector< DataT >::reset ( ) [inline]

Reset leaf node. Clear DataT vector.

Definition at line 297 of file octree_container.h.

template<typename DataT >
void pcl::octree::OctreeContainerDataTVector< DataT >::setData ( const DataT &  data_arg) [inline]

Pushes a DataT element to internal DataT vector.

Parameters:
[in]data_argreference to DataT element to be stored within leaf node.

Definition at line 253 of file octree_container.h.


Member Data Documentation

template<typename DataT >
vector<DataT> pcl::octree::OctreeContainerDataTVector< DataT >::leafDataTVector_ [protected]

Leaf node DataT vector.

Definition at line 304 of file octree_container.h.


The documentation for this class was generated from the following file:


pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:20:18