Point Cloud Library (PCL)  1.5.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | 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 Types

typedef DataT leaf_data_t

Public Member Functions

 OctreePointCloudDensityLeaf ()
 Class initialization.
 ~OctreePointCloudDensityLeaf ()
 Empty class deconstructor.
virtual OctreeNodedeepCopy () const
 deep copy function
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

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 (juliu.nosp@m.s@ka.nosp@m.mmerl.nosp@m..de)

Definition at line 59 of file octree_pointcloud_density.h.


Member Typedef Documentation

template<typename DataT >
typedef DataT pcl::octree::OctreeLeafAbstract< DataT >::leaf_data_t [inherited]

Definition at line 86 of file octree_nodes.h.


Constructor & Destructor Documentation

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

Class initialization.

Definition at line 63 of file octree_pointcloud_density.h.

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

Empty class deconstructor.

Definition at line 69 of file octree_pointcloud_density.h.


Member Function Documentation

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

deep copy function

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

Definition at line 75 of file octree_pointcloud_density.h.

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

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

template<typename DataT >
virtual node_type_t pcl::octree::OctreeLeafAbstract< DataT >::getNodeType ( ) const [inline, virtual, inherited]

Get the type of octree node.

Returns LEAVE_NODE type

Implements pcl::octree::OctreeNode.

Definition at line 102 of file octree_nodes.h.

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

Return point counter.

Returns:
Amaount of points

Definition at line 110 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 117 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

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

Definition at line 84 of file octree_pointcloud_density.h.


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