Public Member Functions | Private Attributes
pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT > Class Template Reference

Octree pointcloud voxel centroid leaf node class More...

#include <octree_pointcloud_voxelcentroid.h>

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

List of all members.

Public Member Functions

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

Private Attributes

unsigned int point_counter_
PointT point_sum_

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

Class initialization.

Definition at line 62 of file octree_pointcloud_voxelcentroid.h.

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_pointthe 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_argthe 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]OctreePointCloudVoxelCentroidContainerto compare with

Reimplemented from pcl::octree::OctreeContainerBase.

Definition at line 82 of file octree_pointcloud_voxelcentroid.h.

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

Reset leaf container.

Implements pcl::octree::OctreeContainerBase.

Definition at line 121 of file octree_pointcloud_voxelcentroid.h.


Member Data Documentation

template<typename PointT>
unsigned int pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::point_counter_ [private]

Definition at line 130 of file octree_pointcloud_voxelcentroid.h.

Definition at line 131 of file octree_pointcloud_voxelcentroid.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:44:31