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

Octree pointcloud density leaf node class More...

#include <pcl/octree/octree_pointcloud_density.h>

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

List of all members.

Public Types

typedef DataT leaf_data_t

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) 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.
unsigned int getPointCounter ()
 Return point counter.
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 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)

Member Typedef Documentation

Definition at line 82 of file octree_nodes.h.


Constructor & Destructor Documentation

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

Class initialization.

Definition at line 63 of file octree_pointcloud_density.h.

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

Empty class deconstructor.

Definition at line 69 of file octree_pointcloud_density.h.


Member Function Documentation

virtual void pcl::octree::OctreePointCloudDensityLeaf::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 86 of file octree_pointcloud_density.h.

virtual void pcl::octree::OctreePointCloudDensityLeaf::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 95 of file octree_pointcloud_density.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.

unsigned int pcl::octree::OctreePointCloudDensityLeaf::getPointCounter ( ) [inline]

Return point counter.

Returns:
Amaount of points

Definition at line 103 of file octree_pointcloud_density.h.

virtual void pcl::octree::OctreePointCloudDensityLeaf::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 110 of file octree_pointcloud_density.h.

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

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

Definition at line 77 of file octree_pointcloud_density.h.


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