Public Member Functions | Private Attributes
pcl::octree::OctreePointCloudDensityContainer< DataT > Class Template Reference

Octree pointcloud density leaf node class More...

#include <octree_pointcloud_density.h>

List of all members.

Public Member Functions

virtual
OctreePointCloudDensityContainer
deepCopy () const
 deep copy function
void getData (const DataT *&data_arg) const
 Returns a null pointer as this leaf node does not store any data.
void getData (std::vector< DataT > &) const
 Empty getData data vector implementation as this leaf node does not store any data. \.
unsigned int getPointCounter ()
 Return point counter.
size_t getSize () const
 Get size of container (number of DataT objects)
 OctreePointCloudDensityContainer ()
 Class initialization.
void reset ()
 Empty reset leaf node implementation as this leaf node does not store any data.
void setData (const DataT &)
 Read input data. Only an internal counter is increased.
virtual ~OctreePointCloudDensityContainer ()
 Empty class deconstructor.

Private Attributes

unsigned int pointCounter_

Detailed Description

template<typename DataT>
class pcl::octree::OctreePointCloudDensityContainer< 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 56 of file octree_pointcloud_density.h.


Constructor & Destructor Documentation

Class initialization.

Definition at line 60 of file octree_pointcloud_density.h.

template<typename DataT>
virtual pcl::octree::OctreePointCloudDensityContainer< DataT >::~OctreePointCloudDensityContainer ( ) [inline, virtual]

Empty class deconstructor.

Definition at line 65 of file octree_pointcloud_density.h.


Member Function Documentation

template<typename DataT>
virtual OctreePointCloudDensityContainer* pcl::octree::OctreePointCloudDensityContainer< DataT >::deepCopy ( ) const [inline, virtual]

deep copy function

Definition at line 71 of file octree_pointcloud_density.h.

template<typename DataT>
void pcl::octree::OctreePointCloudDensityContainer< DataT >::getData ( const DataT *&  data_arg) const [inline]

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

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

Definition at line 97 of file octree_pointcloud_density.h.

template<typename DataT>
void pcl::octree::OctreePointCloudDensityContainer< DataT >::getData ( std::vector< DataT > &  ) const [inline]

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

Definition at line 105 of file octree_pointcloud_density.h.

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

Return point counter.

Returns:
Amaount of points

Definition at line 113 of file octree_pointcloud_density.h.

template<typename DataT>
size_t pcl::octree::OctreePointCloudDensityContainer< DataT >::getSize ( ) const [inline]

Get size of container (number of DataT objects)

Returns:
number of DataT elements in leaf node container.

Definition at line 80 of file octree_pointcloud_density.h.

template<typename DataT>
void pcl::octree::OctreePointCloudDensityContainer< DataT >::reset ( ) [inline]

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

Definition at line 120 of file octree_pointcloud_density.h.

template<typename DataT>
void pcl::octree::OctreePointCloudDensityContainer< DataT >::setData ( const DataT &  ) [inline]

Read input data. Only an internal counter is increased.

Definition at line 88 of file octree_pointcloud_density.h.


Member Data Documentation

template<typename DataT>
unsigned int pcl::octree::OctreePointCloudDensityContainer< DataT >::pointCounter_ [private]

Definition at line 126 of file octree_pointcloud_density.h.


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


pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:20:18