Point Cloud Library (PCL)  1.11.1-dev
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. More...
 
bool operator!= (const OctreeContainerBase &other) const
 Inequal comparison operator. More...
 
virtual std::size_t getSize () const
 Pure abstract method to get size of container (number of indices) More...
 
virtual void reset ()=0
 Pure abstract reset leaf node implementation. More...
 
void addPointIndex (const int &)
 Empty addPointIndex implementation. More...
 
void getPointIndex (int &) const
 Empty getPointIndex implementation as this leaf node does not store any point indices. More...
 
void getPointIndices (std::vector< int > &) const
 Empty getPointIndices implementation as this leaf node does not store any data. More...
 

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 53 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 int &  )
inline

Empty addPointIndex implementation.

This leaf node does not store any point indices.

Definition at line 91 of file octree_container.h.

◆ getPointIndex()

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

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

Definition at line 98 of file octree_container.h.

◆ getPointIndices()

void pcl::octree::OctreeContainerBase::getPointIndices ( std::vector< int > &  ) const
inline

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

\

Definition at line 105 of file octree_container.h.

◆ getSize()

virtual std::size_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::OctreeContainerPointIndices, pcl::octree::OctreeContainerPointIndex, pcl::octree::OctreeContainerEmpty, and pcl::octree::OctreePointCloudAdjacencyContainer< PointInT, DataT >.

Definition at line 78 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 69 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: