Public Member Functions | Protected Attributes

pcl::octree::OctreeLeafDataT< DataT > Class Template Reference

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

#include <pcl/octree/octree_nodes.h>

Inheritance diagram for pcl::octree::OctreeLeafDataT< DataT >:
Inheritance graph
[legend]
Collaboration diagram for pcl::octree::OctreeLeafDataT< DataT >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OctreeLeafDataT ()
 Empty constructor.
 ~OctreeLeafDataT ()
 Empty deconstructor.
virtual void setData (const DataT &data_arg)
 Copies a DataT element to leaf node memorye.
virtual void getData (const DataT *&data_arg)
 Retrieve a pointer to the leaf node DataT element.
virtual void getData (std::vector< DataT > &dataVector_arg)
 Adds leaf node DataT element to dataVector vector of type DataT.
virtual void reset ()
 Reset leaf node memory to zero.

Protected Attributes

DataT data_
 Leaf node DataT storage.

Detailed Description

template<typename DataT>
class pcl::octree::OctreeLeafDataT< 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 180 of file octree_nodes.h.


Constructor & Destructor Documentation

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

Empty constructor.

Definition at line 185 of file octree_nodes.h.

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

Empty deconstructor.

Definition at line 190 of file octree_nodes.h.


Member Function Documentation

template<typename DataT >
virtual void pcl::octree::OctreeLeafDataT< DataT >::getData ( const DataT *&  data_arg  )  [inline, virtual]

Retrieve a pointer to the leaf node DataT element.

Parameters:
data_arg,: reference to return pointer of leaf node DataT element.

Implements pcl::octree::OctreeLeafAbstract< DataT >.

Definition at line 207 of file octree_nodes.h.

template<typename DataT >
virtual void pcl::octree::OctreeLeafDataT< DataT >::getData ( std::vector< DataT > &  dataVector_arg  )  [inline, virtual]

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

Parameters:
dataVector_arg,: reference to DataT vector that is to be extended with leaf node DataT elements.

Definition at line 216 of file octree_nodes.h.

template<typename DataT >
virtual void pcl::octree::OctreeLeafDataT< DataT >::reset (  )  [inline, virtual]

Reset leaf node memory to zero.

Implements pcl::octree::OctreeLeafAbstract< DataT >.

Definition at line 223 of file octree_nodes.h.

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

Copies a DataT element to leaf node memorye.

Parameters:
data_arg,: reference to DataT element to be stored within leaf node.

Definition at line 198 of file octree_nodes.h.


Member Data Documentation

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

Leaf node DataT storage.

Definition at line 230 of file octree_nodes.h.


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