Point Cloud Library (PCL)  1.3.1
Public Types | Public Member Functions
pcl::octree::OctreeLeafDataT Class Reference

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

#include <pcl/octree/octree_nodes.h>

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

List of all members.

Public Types

typedef DataT leaf_data_t

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) const
 Retrieve a pointer to the leaf node DataT element.
virtual void getData (std::vector< DataT > &dataVector_arg) const
 Adds leaf node DataT element to dataVector vector of type DataT.
virtual void reset ()
 Reset leaf node memory to zero.
virtual node_type_t getNodeType () const
 Get the type of octree node.

Detailed Description

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)

Member Typedef Documentation

Definition at line 82 of file octree_nodes.h.


Constructor & Destructor Documentation

pcl::octree::OctreeLeafDataT::OctreeLeafDataT ( ) [inline]

Empty constructor.

Definition at line 187 of file octree_nodes.h.

pcl::octree::OctreeLeafDataT::~OctreeLeafDataT ( ) [inline]

Empty deconstructor.

Definition at line 192 of file octree_nodes.h.


Member Function Documentation

virtual void pcl::octree::OctreeLeafDataT::getData ( const DataT *&  data_arg) const [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 209 of file octree_nodes.h.

virtual void pcl::octree::OctreeLeafDataT::getData ( std::vector< DataT > &  dataVector_arg) const [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.

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

Definition at line 218 of file octree_nodes.h.

virtual node_type_t pcl::octree::OctreeLeafAbstract::getNodeType ( ) const [inline, virtual, inherited]

Get the type of octree node.

Returns LEAVE_NODE type

Definition at line 95 of file octree_nodes.h.

virtual void pcl::octree::OctreeLeafDataT::reset ( ) [inline, virtual]

Reset leaf node memory to zero.

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

Definition at line 225 of file octree_nodes.h.

virtual void pcl::octree::OctreeLeafDataT::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.

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

Definition at line 200 of file octree_nodes.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines