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

Octree leaf class that does store a single DataT element. More...

#include <octree_container.h>

List of all members.

Public Member Functions

virtual OctreeContainerDataTdeepCopy () 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.

Detailed Description

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

Octree leaf class that does store a single DataT element.

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

Definition at line 132 of file octree_container.h.


Constructor & Destructor Documentation

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

Empty constructor.

Definition at line 136 of file octree_container.h.

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

Empty constructor.

Definition at line 144 of file octree_container.h.

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

Empty deconstructor.

Definition at line 151 of file octree_container.h.


Member Function Documentation

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

Octree deep copy method.

Definition at line 157 of file octree_container.h.

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

Adds leaf node DataT element to dataVector vector of type DataT.

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

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

Adds leaf node DataT element to dataVector vector of type DataT.

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

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

Get size of container (number of DataT objects)

Returns:
number of DataT elements in leaf node container.

Definition at line 196 of file octree_container.h.

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

Reset leaf node memory to zero.

Definition at line 203 of file octree_container.h.

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

Copies a DataT element to leaf node memorye.

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

Definition at line 166 of file octree_container.h.


Member Data Documentation

template<typename DataT >
DataT pcl::octree::OctreeContainerDataT< DataT >::data_ [protected]

Leaf node DataT storage.

Definition at line 209 of file octree_container.h.

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


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