Point Cloud Library (PCL)
1.14.1-dev
|
Octree pointcloud voxel centroid leaf node class More...
#include <pcl/octree/octree_pointcloud_voxelcentroid.h>
Public Member Functions | |
OctreePointCloudVoxelCentroidContainer () | |
Class initialization. More... | |
~OctreePointCloudVoxelCentroidContainer () override=default | |
Empty class deconstructor. More... | |
virtual OctreePointCloudVoxelCentroidContainer * | deepCopy () const |
deep copy function More... | |
bool | operator== (const OctreeContainerBase &) const override |
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... | |
void | reset () override |
Reset leaf container. More... | |
Public Member Functions inherited from pcl::octree::OctreeContainerBase | |
virtual | ~OctreeContainerBase ()=default |
bool | operator!= (const OctreeContainerBase &other) const |
Inequal comparison operator. More... | |
virtual uindex_t | getSize () const |
Pure abstract method to get size of container (number of indices) More... | |
virtual void | addPointIndex (index_t) |
Empty addPointIndex implementation. More... | |
void | getPointIndex (index_t &) const |
Empty getPointIndex implementation as this leaf node does not store any point indices. More... | |
virtual index_t | getPointIndex () const |
Empty getPointIndex implementation as this leaf node does not store any point indices. More... | |
virtual void | getPointIndices (Indices &) const |
Empty getPointIndices implementation as this leaf node does not store any data. More... | |
Octree pointcloud voxel centroid leaf node class
Definition at line 52 of file octree_pointcloud_voxelcentroid.h.
|
inline |
Class initialization.
Definition at line 55 of file octree_pointcloud_voxelcentroid.h.
References pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::reset().
Referenced by pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::deepCopy().
|
overridedefault |
Empty class deconstructor.
|
inline |
Add new point to voxel.
[in] | new_point | the new point to add |
Definition at line 80 of file octree_pointcloud_voxelcentroid.h.
|
inlinevirtual |
deep copy function
Definition at line 62 of file octree_pointcloud_voxelcentroid.h.
References pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::OctreePointCloudVoxelCentroidContainer().
|
inline |
Calculate centroid of voxel.
[out] | centroid_arg | the resultant centroid of the voxel |
Definition at line 93 of file octree_pointcloud_voxelcentroid.h.
|
inlineoverridevirtual |
Equal comparison operator - set to false.
Reimplemented from pcl::octree::OctreeContainerBase.
Definition at line 71 of file octree_pointcloud_voxelcentroid.h.
|
inlineoverridevirtual |
Reset leaf container.
Implements pcl::octree::OctreeContainerBase.
Definition at line 108 of file octree_pointcloud_voxelcentroid.h.
Referenced by pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >::OctreePointCloudVoxelCentroidContainer().