Point Cloud Library (PCL) 1.12.0
Loading...
Searching...
No Matches
List of all members | Public Member Functions
pcl::octree::OctreeContainerBase Class Referenceabstract

Octree container class that can serve as a base to construct own leaf node container classes. More...

#include <pcl/octree/octree_container.h>

+ Inheritance diagram for pcl::octree::OctreeContainerBase:

Public Member Functions

virtual ~OctreeContainerBase ()=default
 
virtual bool operator== (const OctreeContainerBase &) const
 Equal comparison operator.
 
bool operator!= (const OctreeContainerBase &other) const
 Inequal comparison operator.
 
virtual uindex_t getSize () const
 Pure abstract method to get size of container (number of indices)
 
virtual void reset ()=0
 Pure abstract reset leaf node implementation.
 
void addPointIndex (const index_t &)
 Empty addPointIndex implementation.
 
void getPointIndex (index_t &) const
 Empty getPointIndex implementation as this leaf node does not store any point indices.
 
void getPointIndices (Indices &) const
 Empty getPointIndices implementation as this leaf node does not store any data.
 

Detailed Description

Octree container class that can serve as a base to construct own leaf node container classes.

Author
Julius Kammerl (juliu.nosp@m.s@ka.nosp@m.mmerl.nosp@m..de)

Definition at line 55 of file octree_container.h.

Constructor & Destructor Documentation

◆ ~OctreeContainerBase()

virtual pcl::octree::OctreeContainerBase::~OctreeContainerBase ( )
virtualdefault

Member Function Documentation

◆ addPointIndex()

void pcl::octree::OctreeContainerBase::addPointIndex ( const index_t & )
inline

Empty addPointIndex implementation.

This leaf node does not store any point indices.

Definition at line 93 of file octree_container.h.

◆ getPointIndex()

void pcl::octree::OctreeContainerBase::getPointIndex ( index_t & ) const
inline

Empty getPointIndex implementation as this leaf node does not store any point indices.

Definition at line 100 of file octree_container.h.

◆ getPointIndices()

void pcl::octree::OctreeContainerBase::getPointIndices ( Indices & ) const
inline

Empty getPointIndices implementation as this leaf node does not store any data.

\

Definition at line 107 of file octree_container.h.

◆ getSize()

virtual uindex_t pcl::octree::OctreeContainerBase::getSize ( ) const
inlinevirtual

Pure abstract method to get size of container (number of indices)

Returns
number of points/indices stored in leaf node container.

Reimplemented in pcl::octree::OctreeContainerEmpty, pcl::octree::OctreeContainerPointIndex, pcl::octree::OctreeContainerPointIndices, and pcl::octree::OctreePointCloudAdjacencyContainer< PointInT, DataT >.

Definition at line 80 of file octree_container.h.

◆ operator!=()

bool pcl::octree::OctreeContainerBase::operator!= ( const OctreeContainerBase & other) const
inline

Inequal comparison operator.

Parameters
[in]otherOctreeContainerBase to compare with

Definition at line 71 of file octree_container.h.

◆ operator==()

virtual bool pcl::octree::OctreeContainerBase::operator== ( const OctreeContainerBase & ) const
inlinevirtual

◆ reset()

virtual void pcl::octree::OctreeContainerBase::reset ( )
pure virtual

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