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

Octree leaf class that does store a vector of DataT elements. More...

#include <pcl/octree/octree_nodes.h>

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

List of all members.

Public Types

typedef DataT leaf_data_t

Public Member Functions

 OctreeLeafDataTVector ()
 Empty constructor.
 ~OctreeLeafDataTVector ()
 Empty deconstructor.
virtual void setData (const DataT &data_arg)
 Pushes a DataT element to internal DataT vector.
virtual void getData (const DataT *&data_arg) const
 Receive the most recent DataT element that was pushed to the internal DataT vector.
virtual void getData (std::vector< DataT > &dataVector_arg) const
 Concatenate the internal DataT vector to vector argument dataVector_arg.
virtual const std::vector
< DataT > & 
getIdxVector ()
 Receive const reference to internal DataT Vector.
virtual void reset ()
 Reset leaf node.
virtual node_type_t getNodeType () const
 Get the type of octree node.

Detailed Description

Octree leaf class that does store a vector of DataT elements.

Note:
Enables the octree to store multiple DataT elements 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::OctreeLeafDataTVector::OctreeLeafDataTVector ( ) [inline]

Empty constructor.

Definition at line 247 of file octree_nodes.h.

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

Empty deconstructor.

Definition at line 251 of file octree_nodes.h.


Member Function Documentation

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

Receive the most recent DataT element that was pushed to the internal DataT vector.

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

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

Definition at line 268 of file octree_nodes.h.

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

Concatenate the internal DataT vector to vector argument dataVector_arg.

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 283 of file octree_nodes.h.

virtual const std::vector<DataT>& pcl::octree::OctreeLeafDataTVector::getIdxVector ( ) [inline, virtual]

Receive const reference to internal DataT Vector.

Returns:
reference to internal DataT Vector

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

Reset leaf node.

Clear DataT vector.

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

Definition at line 300 of file octree_nodes.h.

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

Pushes a DataT element to internal DataT vector.

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

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

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