39 #ifndef PCL_OCTREE_DENSITY_H 40 #define PCL_OCTREE_DENSITY_H 42 #include <pcl/octree/octree_pointcloud.h> 78 dynamic_cast<const OctreePointCloudDensityContainer*>(&other);
80 return (this->point_counter_==otherContainer->point_counter_);
97 return (point_counter_);
108 unsigned int point_counter_;
120 template<
typename Po
intT,
typename LeafContainerT = OctreePo
intCloudDensityContainer,
typename BranchContainerT = OctreeContainerEmpty >
146 unsigned int point_count = 0;
153 return (point_count);
159 #define PCL_INSTANTIATE_OctreePointCloudDensity(T) template class PCL_EXPORTS pcl::octree::OctreePointCloudDensity<T>; Octree container class that can serve as a base to construct own leaf node container classes.
Octree pointcloud density class
virtual ~OctreePointCloudDensity()
Empty class deconstructor.
OctreePointCloudDensity(const double resolution_arg)
OctreePointCloudDensity class constructor.
OctreePointCloudDensityContainer()
Class initialization.
This file defines compatibility wrappers for low level I/O functions.
virtual void reset()
Reset leaf node.
void addPointIndex(int)
Read input data.
Octree pointcloud density leaf node class
virtual OctreePointCloudDensityContainer * deepCopy() const
deep copy function
unsigned int getVoxelDensityAtPoint(const PointT &point_arg) const
Get the amount of points within a leaf node voxel which is addressed by a point.
virtual ~OctreePointCloudDensityContainer()
Empty class deconstructor.
unsigned int getPointCounter()
Return point counter.
LeafContainerT * findLeafAtPoint(const PointT &point_arg) const
Find octree leaf node at a given point.
virtual bool operator==(const OctreeContainerBase &other) const
Equal comparison operator.
A point structure representing Euclidean xyz coordinates, and the RGB color.