Octree pointcloud voxel centroid class More...
#include <pcl/octree/octree_pointcloud_voxelcentroid.h>
Public Types | |
typedef OctreePointCloudVoxelCentroid < PointT, LeafT, OctreeBase < int, LeafT > > | SingleBuffer |
typedef OctreePointCloudVoxelCentroid < PointT, LeafT, Octree2BufBase< int, LeafT > > | DoubleBuffer |
Public Member Functions | |
OctreePointCloudVoxelCentroid (const double resolution_arg) | |
OctreePointCloudVoxelCentroids class constructor. | |
virtual | ~OctreePointCloudVoxelCentroid () |
Empty class deconstructor. | |
unsigned int | getVoxelCentroids (std::vector< PointT, Eigen::aligned_allocator< PointT > > &voxelCentroidList_arg) |
Get PointT vector of centroids for all occupied voxels. | |
bool | getVoxelCentroidAtPoint (const PointT &point_arg, PointT &voxelCentroid_arg) |
Get centroid for a single voxel addressed by a PointT point. | |
bool | getVoxelCentroidAtPoint (const int &pointIdx_arg, PointT &voxelCentroid_arg) |
Get centroid for a single voxel addressed by a PointT point from input cloud. |
Octree pointcloud voxel centroid class
Definition at line 61 of file octree_pointcloud_voxelcentroid.h.
typedef OctreePointCloudVoxelCentroid<PointT, LeafT, Octree2BufBase<int, LeafT> > pcl::octree::OctreePointCloudVoxelCentroid< PointT, LeafT, OctreeT >::DoubleBuffer |
Reimplemented from pcl::octree::OctreePointCloud< PointT, LeafT, OctreeT >.
Definition at line 67 of file octree_pointcloud_voxelcentroid.h.
typedef OctreePointCloudVoxelCentroid<PointT, LeafT, OctreeBase<int, LeafT> > pcl::octree::OctreePointCloudVoxelCentroid< PointT, LeafT, OctreeT >::SingleBuffer |
Reimplemented from pcl::octree::OctreePointCloud< PointT, LeafT, OctreeT >.
Definition at line 66 of file octree_pointcloud_voxelcentroid.h.
pcl::octree::OctreePointCloudVoxelCentroid< PointT, LeafT, OctreeT >::OctreePointCloudVoxelCentroid | ( | const double | resolution_arg | ) | [inline] |
OctreePointCloudVoxelCentroids class constructor.
resolution_arg,: | octree resolution at lowest octree level |
Definition at line 72 of file octree_pointcloud_voxelcentroid.h.
virtual pcl::octree::OctreePointCloudVoxelCentroid< PointT, LeafT, OctreeT >::~OctreePointCloudVoxelCentroid | ( | ) | [inline, virtual] |
Empty class deconstructor.
Definition at line 79 of file octree_pointcloud_voxelcentroid.h.
bool pcl::octree::OctreePointCloudVoxelCentroid< PointT, LeafT, OctreeT >::getVoxelCentroidAtPoint | ( | const PointT & | point_arg, | |
PointT & | voxelCentroid_arg | |||
) | [inline] |
Get centroid for a single voxel addressed by a PointT point.
point_arg,: | point addressing a voxel in octree | |
voxelCentroid_arg,: | centroid is written to this PointT reference |
Definition at line 169 of file octree_pointcloud_voxelcentroid.h.
bool pcl::octree::OctreePointCloudVoxelCentroid< PointT, LeafT, OctreeT >::getVoxelCentroidAtPoint | ( | const int & | pointIdx_arg, | |
PointT & | voxelCentroid_arg | |||
) | [inline] |
Get centroid for a single voxel addressed by a PointT point from input cloud.
pointIdx_arg,: | point index from input cloud addressing a voxel in octree | |
voxelCentroid_arg,: | centroid is written to this PointT reference |
Definition at line 215 of file octree_pointcloud_voxelcentroid.h.
unsigned int pcl::octree::OctreePointCloudVoxelCentroid< PointT, LeafT, OctreeT >::getVoxelCentroids | ( | std::vector< PointT, Eigen::aligned_allocator< PointT > > & | voxelCentroidList_arg | ) | [inline] |
Get PointT vector of centroids for all occupied voxels.
voxelCentroidList_arg,: | results are written to this vector of PointT elements |
Definition at line 88 of file octree_pointcloud_voxelcentroid.h.