Point Cloud Library (PCL)
1.8.0
|
Octree pointcloud voxel centroid leaf node class More...
#include <pcl/octree/octree_pointcloud_voxelcentroid.h>
Public Member Functions | |
OctreePointCloudVoxelCentroidContainer () | |
Class initialization. More... | |
virtual | ~OctreePointCloudVoxelCentroidContainer () |
Empty class deconstructor. More... | |
virtual OctreePointCloudVoxelCentroidContainer * | deepCopy () const |
deep copy function More... | |
virtual bool | operator== (const OctreeContainerBase &) const |
Equal comparison operator - set to false. More... | |
void | addPoint (const PointT &new_point) |
Add new point to voxel. More... | |
void | getCentroid (PointT ¢roid_arg) const |
Calculate centroid of voxel. More... | |
virtual void | reset () |
Reset leaf container. More... | |
![]() | |
OctreeContainerBase () | |
Empty constructor. More... | |
OctreeContainerBase (const OctreeContainerBase &) | |
Empty constructor. More... | |
virtual | ~OctreeContainerBase () |
Empty deconstructor. More... | |
bool | operator!= (const OctreeContainerBase &other) const |
Inequal comparison operator. More... | |
virtual size_t | getSize () const |
Pure abstract method to get size of container (number of indices) More... | |
void | addPointIndex (const int &) |
Empty addPointIndex implementation. More... | |
void | getPointIndex (int &) const |
Empty getPointIndex implementation as this leaf node does not store any point indices. More... | |
void | getPointIndices (std::vector< int > &) const |
Empty getPointIndices implementation as this leaf node does not store any data. More... | |
Octree pointcloud voxel centroid leaf node class
Definition at line 58 of file octree_pointcloud_voxelcentroid.h.
|
inline |
Class initialization.
Definition at line 62 of file octree_pointcloud_voxelcentroid.h.
References pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::reset().
|
inlinevirtual |
Empty class deconstructor.
Definition at line 68 of file octree_pointcloud_voxelcentroid.h.
|
inline |
Add new point to voxel.
[in] | new_point | the new point to add |
Definition at line 91 of file octree_pointcloud_voxelcentroid.h.
|
inlinevirtual |
deep copy function
Definition at line 74 of file octree_pointcloud_voxelcentroid.h.
|
inline |
Calculate centroid of voxel.
[out] | centroid_arg | the resultant centroid of the voxel |
Definition at line 104 of file octree_pointcloud_voxelcentroid.h.
|
inlinevirtual |
Equal comparison operator - set to false.
Reimplemented from pcl::octree::OctreeContainerBase.
Definition at line 82 of file octree_pointcloud_voxelcentroid.h.
|
inlinevirtual |
Reset leaf container.
Implements pcl::octree::OctreeContainerBase.
Definition at line 121 of file octree_pointcloud_voxelcentroid.h.
Referenced by pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::OctreePointCloudVoxelCentroidContainer().