Public Types | Public Member Functions

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

Abstract octree leaf class More...

#include <pcl/octree/octree_nodes.h>

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

List of all members.

Public Types

typedef DataT leaf_data_t

Public Member Functions

 OctreeLeafAbstract ()
 Empty constructor.
 ~OctreeLeafAbstract ()
 Empty deconstructor.
virtual node_type_t getNodeType () const
 Get the type of octree node.
virtual void setData (const leaf_data_t &data_arg)=0
 Pure virtual method for storing data into the octree node.
virtual void getData (const DataT *&data_arg)=0
 Pure virtual method for retrieving a single DataT element from the octree leaf node.
virtual void getData (std::vector< leaf_data_t > &dataVector_arg)=0
 Pure virtual method for retrieving a vector of DataT elements from the octree laef node.
virtual void reset ()=0
 Pure virtual method for resetting the data storage of the octree leaf node.

Detailed Description

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

Abstract octree leaf class

Note:
Octree leafs may collect data of type DataT
Author:
Julius Kammerl (julius@kammerl.de)

Definition at line 76 of file octree_nodes.h.


Member Typedef Documentation

template<typename DataT >
typedef DataT pcl::octree::OctreeLeafAbstract< DataT >::leaf_data_t

Definition at line 80 of file octree_nodes.h.


Constructor & Destructor Documentation

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

Empty constructor.

Definition at line 83 of file octree_nodes.h.

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

Empty deconstructor.

Definition at line 87 of file octree_nodes.h.


Member Function Documentation

template<typename DataT >
virtual void pcl::octree::OctreeLeafAbstract< DataT >::getData ( const DataT *&  data_arg  )  [pure virtual]

Pure virtual method for retrieving a single DataT element from the octree leaf node.

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

Implemented in pcl::octree::OctreeLeafEmpty< DataT >, pcl::octree::OctreeLeafDataT< DataT >, pcl::octree::OctreeLeafDataTVector< DataT >, and pcl::octree::OctreePointCloudDensityLeaf< DataT >.

template<typename DataT >
virtual void pcl::octree::OctreeLeafAbstract< DataT >::getData ( std::vector< leaf_data_t > &  dataVector_arg  )  [pure virtual]

Pure virtual method for retrieving a vector of DataT elements from the octree laef node.

Parameters:
dataVector_arg,: reference to DataT vector that is extended with leaf node DataT elements.
template<typename DataT >
virtual node_type_t pcl::octree::OctreeLeafAbstract< DataT >::getNodeType (  )  const [inline, virtual]

Get the type of octree node.

Returns LEAVE_NODE type

Implements pcl::octree::OctreeNode.

Definition at line 93 of file octree_nodes.h.

template<typename DataT >
virtual void pcl::octree::OctreeLeafAbstract< DataT >::reset (  )  [pure virtual]
template<typename DataT >
virtual void pcl::octree::OctreeLeafAbstract< DataT >::setData ( const leaf_data_t data_arg  )  [pure virtual]

Pure virtual method for storing data into the octree node.

Parameters:
data_arg,: reference to DataT element to be stored.

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