pcl::octree::OctreeContainerBase Class Reference

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

`#include <octree_container.h>`

Inheritance diagram for pcl::octree::OctreeContainerBase:

## Public Member Functions | |

void | addPointIndex (const int &) |

Empty addPointIndex implementation. This leaf node does not store any point indices. | |

void | getPointIndex (int &) const |

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

void | getPointIndices (std::vector< int > &) const |

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

virtual size_t | getSize () |

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

OctreeContainerBase () | |

Empty constructor. | |

OctreeContainerBase (const OctreeContainerBase &) | |

Empty constructor. | |

bool | operator!= (const OctreeContainerBase &other) const |

Inequal comparison operator. | |

virtual bool | operator== (const OctreeContainerBase &) const |

Equal comparison operator. | |

virtual void | reset ()=0 |

Pure abstract reset leaf node implementation. | |

virtual | ~OctreeContainerBase () |

Empty deconstructor. |

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

Definition at line 56 of file octree_container.h.

Empty constructor.

Definition at line 60 of file octree_container.h.

pcl::octree::OctreeContainerBase::OctreeContainerBase | ( | const OctreeContainerBase & | ) | ` [inline]` |

Empty constructor.

Definition at line 65 of file octree_container.h.

virtual pcl::octree::OctreeContainerBase::~OctreeContainerBase | ( | ) | ` [inline, virtual]` |

Empty deconstructor.

Definition at line 71 of file octree_container.h.

void pcl::octree::OctreeContainerBase::addPointIndex | ( | const int & | ) | ` [inline]` |

Empty addPointIndex implementation. This leaf node does not store any point indices.

Definition at line 108 of file octree_container.h.

void pcl::octree::OctreeContainerBase::getPointIndex | ( | int & | ) | const` [inline]` |

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

Definition at line 115 of file octree_container.h.

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

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

Reimplemented in pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerPointIndex, and pcl::octree::OctreeContainerEmpty.

Definition at line 122 of file octree_container.h.

virtual size_t pcl::octree::OctreeContainerBase::getSize | ( | ) | ` [inline, virtual]` |

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::OctreePointCloudAdjacencyContainer< PointInT, DataT >.

Definition at line 96 of file octree_container.h.

bool pcl::octree::OctreeContainerBase::operator!= | ( | const OctreeContainerBase & | other | ) | const` [inline]` |

Inequal comparison operator.

**Parameters:**-
[in] other OctreeContainerBase to compare with

Definition at line 87 of file octree_container.h.

virtual bool pcl::octree::OctreeContainerBase::operator== | ( | const OctreeContainerBase & | ) | const` [inline, virtual]` |

Equal comparison operator.

Reimplemented in pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerPointIndex, pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >, and pcl::octree::OctreePointCloudDensityContainer.

Definition at line 78 of file octree_container.h.

virtual void pcl::octree::OctreeContainerBase::reset | ( | ) | ` [pure virtual]` |

Pure abstract reset leaf node implementation.

Implemented in pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerPointIndex, pcl::octree::OctreeContainerEmpty, pcl::octree::OctreePointCloudAdjacencyContainer< PointInT, DataT >, pcl::octree::OctreePointCloudVoxelCentroidContainer< PointT >, and pcl::octree::OctreePointCloudDensityContainer.

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