Public Types | Public Member Functions

pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT > Class Template Reference
[Module octree]

Octree pointcloud density class More...

#include <pcl/octree/octree_pointcloud_density.h>

Inheritance diagram for pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT >:
Inheritance graph
[legend]
Collaboration diagram for pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
OctreePointCloudDensity
< PointT, LeafT, OctreeBase
< int, LeafT > > 
SingleBuffer
typedef
OctreePointCloudDensity
< PointT, LeafT,
Octree2BufBase< int, LeafT > > 
DoubleBuffer

Public Member Functions

 OctreePointCloudDensity (const double resolution_arg)
 OctreePointCloudDensity class constructor.
virtual ~OctreePointCloudDensity ()
 Empty class deconstructor.
unsigned int getVoxelDensityAtPoint (const PointT &point_arg) const
 Get the amount of points within a leaf node voxel which is addressed by a point.

Detailed Description

template<typename PointT, typename LeafT = OctreePointCloudDensityLeaf<int>, typename OctreeT = OctreeBase<int, LeafT>>
class pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT >

Octree pointcloud density class

Note:
This class generate an octrees from a point cloud (zero-copy). Only the amount of points that fall into the leaf node voxel are stored.
The octree pointcloud is initialized with its voxel resolution. Its bounding box is automatically adjusted or can be predefined.
typename: PointT: type of point used in pointcloud
Author:
Julius Kammerl (julius@kammerl.de)

Definition at line 130 of file octree_pointcloud_density.h.


Member Typedef Documentation

template<typename PointT , typename LeafT = OctreePointCloudDensityLeaf<int>, typename OctreeT = OctreeBase<int, LeafT>>
typedef OctreePointCloudDensity<PointT, LeafT, Octree2BufBase<int, LeafT> > pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT >::DoubleBuffer
template<typename PointT , typename LeafT = OctreePointCloudDensityLeaf<int>, typename OctreeT = OctreeBase<int, LeafT>>
typedef OctreePointCloudDensity<PointT, LeafT, OctreeBase<int, LeafT> > pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT >::SingleBuffer

Constructor & Destructor Documentation

template<typename PointT , typename LeafT = OctreePointCloudDensityLeaf<int>, typename OctreeT = OctreeBase<int, LeafT>>
pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT >::OctreePointCloudDensity ( const double  resolution_arg  )  [inline]

OctreePointCloudDensity class constructor.

Parameters:
resolution_arg,: octree resolution at lowest octree level

Definition at line 141 of file octree_pointcloud_density.h.

template<typename PointT , typename LeafT = OctreePointCloudDensityLeaf<int>, typename OctreeT = OctreeBase<int, LeafT>>
virtual pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT >::~OctreePointCloudDensity (  )  [inline, virtual]

Empty class deconstructor.

Definition at line 148 of file octree_pointcloud_density.h.


Member Function Documentation

template<typename PointT , typename LeafT = OctreePointCloudDensityLeaf<int>, typename OctreeT = OctreeBase<int, LeafT>>
unsigned int pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT >::getVoxelDensityAtPoint ( const PointT &  point_arg  )  const [inline]

Get the amount of points within a leaf node voxel which is addressed by a point.

Parameters:
point_arg,: a point addressing a voxel
Returns:
amount of points that fall within leaf node voxel

Definition at line 157 of file octree_pointcloud_density.h.


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