Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Member Functions
pcl::octree::OctreePointCloudDensityContainer Class Reference

Octree pointcloud density leaf node class More...

#include <pcl/octree/octree_pointcloud_density.h>

+ Inheritance diagram for pcl::octree::OctreePointCloudDensityContainer:
+ Collaboration diagram for pcl::octree::OctreePointCloudDensityContainer:

Public Member Functions

 OctreePointCloudDensityContainer ()=default
 Class initialization. More...
 
 ~OctreePointCloudDensityContainer () override=default
 Empty class deconstructor. More...
 
virtual OctreePointCloudDensityContainerdeepCopy () const
 deep copy function More...
 
bool operator== (const OctreeContainerBase &other) const override
 Equal comparison operator. More...
 
void addPointIndex (index_t) override
 Read input data. More...
 
uindex_t getPointCounter ()
 Return point counter. More...
 
void reset () override
 Reset leaf node. 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...
 
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...
 

Detailed Description

Octree pointcloud density leaf node class

Note
This class implements a leaf node that counts the amount of points which fall into its voxel space.
Author
Julius Kammerl (juliu.nosp@m.s@ka.nosp@m.mmerl.nosp@m..de)

Definition at line 50 of file octree_pointcloud_density.h.

Constructor & Destructor Documentation

◆ OctreePointCloudDensityContainer()

pcl::octree::OctreePointCloudDensityContainer::OctreePointCloudDensityContainer ( )
default

Class initialization.

Referenced by deepCopy().

◆ ~OctreePointCloudDensityContainer()

pcl::octree::OctreePointCloudDensityContainer::~OctreePointCloudDensityContainer ( )
overridedefault

Empty class deconstructor.

Member Function Documentation

◆ addPointIndex()

void pcl::octree::OctreePointCloudDensityContainer::addPointIndex ( index_t  )
inlineoverridevirtual

Read input data.

Only an internal counter is increased.

Reimplemented from pcl::octree::OctreeContainerBase.

Definition at line 80 of file octree_pointcloud_density.h.

◆ deepCopy()

virtual OctreePointCloudDensityContainer* pcl::octree::OctreePointCloudDensityContainer::deepCopy ( ) const
inlinevirtual

deep copy function

Definition at line 60 of file octree_pointcloud_density.h.

References OctreePointCloudDensityContainer().

◆ getPointCounter()

uindex_t pcl::octree::OctreePointCloudDensityContainer::getPointCounter ( )
inline

Return point counter.

Returns
Amount of points

Definition at line 89 of file octree_pointcloud_density.h.

Referenced by pcl::octree::OctreePointCloudDensity< PointT, LeafContainerT, BranchContainerT >::getVoxelDensityAtPoint().

◆ operator==()

bool pcl::octree::OctreePointCloudDensityContainer::operator== ( const OctreeContainerBase other) const
inlineoverridevirtual

Equal comparison operator.

Parameters
[in]otherOctreePointCloudDensityContainer to compare with

Reimplemented from pcl::octree::OctreeContainerBase.

Definition at line 69 of file octree_pointcloud_density.h.

◆ reset()

void pcl::octree::OctreePointCloudDensityContainer::reset ( )
inlineoverridevirtual

Reset leaf node.

Implements pcl::octree::OctreeContainerBase.

Definition at line 96 of file octree_pointcloud_density.h.


The documentation for this class was generated from the following file: