pcl::octree::OctreeContainerPointIndex Class Reference

**Octree** container class that does store a single point index.
More...

`#include <octree_container.h>`

Inheritance diagram for pcl::octree::OctreeContainerPointIndex:

## Public Member Functions | |

void | addPointIndex (int data_arg) |

Add point index to container memory. This container stores a only a single point index. | |

virtual OctreeContainerPointIndex * | deepCopy () const |

Octree deep copy method. | |

int | getPointIndex () const |

Retrieve point index from container. This container stores a only a single point index. | |

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

Retrieve point indices from container. This container stores only a single point index. | |

size_t | getSize () const |

Get size of container (number of DataT objects) | |

OctreeContainerPointIndex () | |

Empty constructor. | |

OctreeContainerPointIndex (const OctreeContainerPointIndex &source) | |

Empty constructor. | |

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

Equal comparison operator. | |

virtual void | reset () |

Reset leaf node memory to zero. | |

virtual | ~OctreeContainerPointIndex () |

Empty deconstructor. | |

## Protected Attributes | |

int | data_ |

Point index stored in octree. |

**Octree** container class that does store a single point index.

**Note:**- Enables the octree to store a single DataT element within its leaf nodes.

Definition at line 208 of file octree_container.h.

Empty constructor.

Definition at line 212 of file octree_container.h.

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

Empty constructor.

Definition at line 219 of file octree_container.h.

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

Empty deconstructor.

Definition at line 226 of file octree_container.h.

void pcl::octree::OctreeContainerPointIndex::addPointIndex | ( | int | data_arg | ) | ` [inline]` |

Add point index to container memory. This container stores a only a single point index.

**Parameters:**-
[in] data_arg index to be stored within leaf node.

Definition at line 252 of file octree_container.h.

virtual OctreeContainerPointIndex* pcl::octree::OctreeContainerPointIndex::deepCopy | ( | ) | const` [inline, virtual]` |

Octree deep copy method.

Definition at line 232 of file octree_container.h.

int pcl::octree::OctreeContainerPointIndex::getPointIndex | ( | ) | const` [inline]` |

Retrieve point index from container. This container stores a only a single point index.

**Returns:**- index stored within container.

Definition at line 261 of file octree_container.h.

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

Retrieve point indices from container. This container stores only a single point index.

**Parameters:**-
[out] data_vector_arg vector of point indices to be stored within data vector

Reimplemented from pcl::octree::OctreeContainerBase.

Definition at line 270 of file octree_container.h.

size_t pcl::octree::OctreeContainerPointIndex::getSize | ( | ) | const` [inline]` |

Get size of container (number of DataT objects)

**Returns:**- number of DataT elements in leaf node container.

Definition at line 280 of file octree_container.h.

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

Equal comparison operator.

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

Reimplemented from pcl::octree::OctreeContainerBase.

Definition at line 241 of file octree_container.h.

virtual void pcl::octree::OctreeContainerPointIndex::reset | ( | ) | ` [inline, virtual]` |

Reset leaf node memory to zero.

Implements pcl::octree::OctreeContainerBase.

Definition at line 287 of file octree_container.h.

int pcl::octree::OctreeContainerPointIndex::data_` [protected]` |

Point index stored in octree.

Definition at line 293 of file octree_container.h.

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