41 #include <pcl/octree/octree_pointcloud.h>
74 return (this->point_counter_ == otherContainer->point_counter_);
87 return (point_counter_);
110 template <
typename PointT,
111 typename LeafContainerT = OctreePointCloudDensityContainer,
112 typename BranchContainerT = OctreeContainerEmpty>
142 return (point_count);
149 #include <pcl/octree/impl/octree_pointcloud.hpp>
151 #define PCL_INSTANTIATE_OctreePointCloudDensity(T) \
152 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 leaf node class
OctreePointCloudDensityContainer()
Class initialization.
uindex_t getPointCounter()
Return point counter.
bool operator==(const OctreeContainerBase &other) const override
Equal comparison operator.
virtual OctreePointCloudDensityContainer * deepCopy() const
deep copy function
void reset() override
Reset leaf node.
void addPointIndex(index_t) override
Read input data.
~OctreePointCloudDensityContainer() override=default
Empty class deconstructor.
Octree pointcloud density class
~OctreePointCloudDensity() override=default
Empty class deconstructor.
OctreePointCloudDensity(const double resolution_arg)
OctreePointCloudDensity class constructor.
uindex_t getVoxelDensityAtPoint(const PointT &point_arg) const
Get the amount of points within a leaf node voxel which is addressed by a point.
OctreePointCloudDensityContainer * findLeafAtPoint(const PointT &point_arg) const
Find octree leaf node at a given point.
detail::int_type_t< detail::index_type_size, false > uindex_t
Type used for an unsigned index in PCL.
detail::int_type_t< detail::index_type_size, detail::index_type_signed > index_t
Type used for an index in PCL.
A point structure representing Euclidean xyz coordinates, and the RGB color.