pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT > Class Template Reference

Octree pointcloud voxel centroid leaf node class More...

#include <pcl/octree/octree_pointcloud_voxelcentroid.h>

Inheritance diagram for pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >:
Inheritance graph
[legend]
Collaboration diagram for pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OctreePointCloudVoxelCentroidContainer ()
 Class initialization.
virtual ~OctreePointCloudVoxelCentroidContainer ()
 Empty class deconstructor.
virtual
OctreePointCloudVoxelCentroidContainer
deepCopy () const
 deep copy function
virtual bool operator== (const OctreeContainerBase &) const
 Equal comparison operator - set to false.
void addPoint (const PointT &new_point)
 Add new point to voxel.
void getCentroid (PointT &centroid_arg) const
 Calculate centroid of voxel.
virtual void reset ()
 Reset leaf container.

Detailed Description

template<typename PointT>
class pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >

Octree pointcloud voxel centroid leaf node class

Note:
This class implements a leaf node that calculates the mean centroid of all points added this octree container.
Author:
Julius Kammerl (julius@kammerl.de)

Definition at line 58 of file octree_pointcloud_voxelcentroid.h.


Constructor & Destructor Documentation

template<typename PointT >
virtual pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::~OctreePointCloudVoxelCentroidContainer (  )  [inline, virtual]

Empty class deconstructor.

Definition at line 68 of file octree_pointcloud_voxelcentroid.h.


Member Function Documentation

template<typename PointT >
void pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::addPoint ( const PointT new_point  )  [inline]

Add new point to voxel.

Parameters:
[in] new_point the new point to add

Definition at line 91 of file octree_pointcloud_voxelcentroid.h.

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

deep copy function

Definition at line 74 of file octree_pointcloud_voxelcentroid.h.

template<typename PointT >
void pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::getCentroid ( PointT centroid_arg  )  const [inline]

Calculate centroid of voxel.

Parameters:
[out] centroid_arg the resultant centroid of the voxel

Definition at line 104 of file octree_pointcloud_voxelcentroid.h.

template<typename PointT >
virtual bool pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::operator== ( const OctreeContainerBase  )  const [inline, virtual]

Equal comparison operator - set to false.

Parameters:
[in] OctreePointCloudVoxelCentroidContainer to compare with

Definition at line 82 of file octree_pointcloud_voxelcentroid.h.

template<typename PointT >
virtual void pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::reset (  )  [inline, virtual]

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