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

Octree leaf class that does not store any information. More...

#include <pcl/octree/octree_nodes.h>

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

List of all members.

Public Types

typedef DataT leaf_data_t

Public Member Functions

 OctreeLeafEmpty ()
 Empty constructor.
 ~OctreeLeafEmpty ()
 Empty deconstructor.
virtual void setData (const DataT &data_arg)
 Empty setData data implementation.
virtual void getData (const DataT *&data_arg) const
 Returns a null pointer as this leaf node does not store any data.
virtual void getData (std::vector< DataT > &dataVector_arg) const
 Empty getData data vector implementation as this leaf node does not store any data.
virtual void reset ()
 Empty reset leaf node implementation as this leaf node does not store any data.
virtual node_type_t getNodeType () const
 Get the type of octree node.

Detailed Description

Octree leaf class that does not store any information.

Note:
Can be used for occupancy trees that are used for checking only the existence of leaf nodes in the tree
Author:
Julius Kammerl (julius@kammerl.de)

Member Typedef Documentation

Definition at line 82 of file octree_nodes.h.


Constructor & Destructor Documentation

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

Empty constructor.

Definition at line 134 of file octree_nodes.h.

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

Empty deconstructor.

Definition at line 139 of file octree_nodes.h.


Member Function Documentation

virtual void pcl::octree::OctreeLeafEmpty::getData ( const DataT *&  data_arg) const [inline, virtual]

Returns a null pointer as this leaf node does not store any data.

Parameters:
data_arg,:reference to return pointer of leaf node DataT element (will be set to 0).

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

Definition at line 156 of file octree_nodes.h.

virtual void pcl::octree::OctreeLeafEmpty::getData ( std::vector< DataT > &  dataVector_arg) const [inline, virtual]

Empty getData data vector implementation as this leaf node does not store any data.

\

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

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

Definition at line 165 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::OctreeLeafEmpty::reset ( ) [inline, virtual]

Empty reset leaf node implementation as this leaf node does not store any data.

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

Definition at line 171 of file octree_nodes.h.

virtual void pcl::octree::OctreeLeafEmpty::setData ( const DataT &  data_arg) [inline, virtual]

Empty setData data implementation.

This leaf node does not store any data.

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

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

Definition at line 148 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