Octree pointcloud voxel centroid leaf node class More...
#include <octree_pointcloud_voxelcentroid.h>
Public Member Functions | |
void | addPoint (const PointT &new_point) |
Add new point to voxel. | |
virtual OctreePointCloudVoxelCentroidContainer * | deepCopy () const |
deep copy function | |
void | getCentroid (PointT ¢roid_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_ |
Octree pointcloud voxel centroid leaf node class
Definition at line 58 of file octree_pointcloud_voxelcentroid.h.
pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::OctreePointCloudVoxelCentroidContainer | ( | ) | [inline] |
Class initialization.
Definition at line 62 of file octree_pointcloud_voxelcentroid.h.
virtual pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::~OctreePointCloudVoxelCentroidContainer | ( | ) | [inline, virtual] |
Empty class deconstructor.
Definition at line 68 of file octree_pointcloud_voxelcentroid.h.
void pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::addPoint | ( | const PointT & | new_point | ) | [inline] |
Add new point to voxel.
[in] | new_point | the new point to add |
Definition at line 91 of file octree_pointcloud_voxelcentroid.h.
virtual OctreePointCloudVoxelCentroidContainer* pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::deepCopy | ( | ) | const [inline, virtual] |
deep copy function
Definition at line 74 of file octree_pointcloud_voxelcentroid.h.
void pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::getCentroid | ( | PointT & | centroid_arg | ) | const [inline] |
Calculate centroid of voxel.
[out] | centroid_arg | the resultant centroid of the voxel |
Definition at line 104 of file octree_pointcloud_voxelcentroid.h.
virtual bool pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::operator== | ( | const OctreeContainerBase & | ) | const [inline, virtual] |
Equal comparison operator - set to false.
[in] | OctreePointCloudVoxelCentroidContainer | to compare with |
Reimplemented from pcl::octree::OctreeContainerBase.
Definition at line 82 of file octree_pointcloud_voxelcentroid.h.
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.
unsigned int pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::point_counter_ [private] |
Definition at line 130 of file octree_pointcloud_voxelcentroid.h.
PointT pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::point_sum_ [private] |
Definition at line 131 of file octree_pointcloud_voxelcentroid.h.