Public Member Functions

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

Octree pointcloud density leaf node class More...

#include <pcl/octree/octree_pointcloud_density.h>

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

List of all members.

Public Member Functions

 OctreePointCloudDensityLeaf ()
 Class initialization.
 ~OctreePointCloudDensityLeaf ()
 Empty class deconstructor.
virtual void setData (const DataT &point_arg)
 Read input data.
virtual void getData (const DataT *&data_arg)
 Returns a null pointer as this leaf node does not store any data.
virtual void getData (std::vector< DataT > &dataVector_arg)
 Empty getData data vector implementation as this leaf node does not store any data.
unsigned int getPointCounter ()
 Return point counter.
virtual void reset ()
 Empty reset leaf node implementation as this leaf node does not store any data.

Detailed Description

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

Octree pointcloud density leaf node class

Note:
This class implements a leaf node that counts the amount of points which fall into its voxel space.
Author:
Julius Kammerl (julius@kammerl.de)

Definition at line 57 of file octree_pointcloud_density.h.


Constructor & Destructor Documentation

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

Class initialization.

Definition at line 61 of file octree_pointcloud_density.h.

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

Empty class deconstructor.

Definition at line 67 of file octree_pointcloud_density.h.


Member Function Documentation

template<typename DataT>
virtual void pcl::octree::OctreePointCloudDensityLeaf< DataT >::getData ( const DataT *&  data_arg  )  [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 84 of file octree_pointcloud_density.h.

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

Definition at line 93 of file octree_pointcloud_density.h.

template<typename DataT>
unsigned int pcl::octree::OctreePointCloudDensityLeaf< DataT >::getPointCounter (  )  [inline]

Return point counter.

Returns:
Amaount of points

Definition at line 101 of file octree_pointcloud_density.h.

template<typename DataT>
virtual void pcl::octree::OctreePointCloudDensityLeaf< DataT >::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 108 of file octree_pointcloud_density.h.

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

Read input data.

Only an internal counter is increased. /param point_arg: input point - this argument is ignored

Definition at line 75 of file octree_pointcloud_density.h.


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