pcl::octree::OctreeContainerPointIndices Class Reference

**Octree** container class that does store a vector of point indices.
More...

`#include <octree_container.h>`

Inheritance diagram for pcl::octree::OctreeContainerPointIndices:

## Public Member Functions | |

void | addPointIndex (int data_arg) |

Add point index to container memory. This container stores a vector of point indices. | |

virtual OctreeContainerPointIndices * | deepCopy () const |

Octree deep copy method. | |

int | getPointIndex () const |

Retrieve point index from container. This container stores a vector of point indices. | |

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

Retrieve point indices from container. This container stores a vector of point indices. | |

std::vector< int > & | getPointIndicesVector () |

Retrieve reference to point indices vector. This container stores a vector of point indices. | |

size_t | getSize () const |

Get size of container (number of indices) | |

OctreeContainerPointIndices () | |

Empty constructor. | |

OctreeContainerPointIndices (const OctreeContainerPointIndices &source) | |

Empty constructor. | |

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

Equal comparison operator. | |

virtual void | reset () |

Reset leaf node. Clear DataT vector. | |

virtual | ~OctreeContainerPointIndices () |

Empty deconstructor. | |

## Protected Attributes | |

std::vector< int > | leafDataTVector_ |

Leaf node DataT vector. |

**Octree** container class that does store a vector of point indices.

**Note:**- Enables the octree to store multiple DataT elements within its leaf nodes.

Definition at line 301 of file octree_container.h.

Empty constructor.

Definition at line 305 of file octree_container.h.

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

Empty constructor.

Definition at line 311 of file octree_container.h.

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

Empty deconstructor.

Definition at line 318 of file octree_container.h.

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

Add point index to container memory. This container stores a vector of point indices.

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

Definition at line 344 of file octree_container.h.

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

Octree deep copy method.

Definition at line 324 of file octree_container.h.

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

Retrieve point index from container. This container stores a vector of point indices.

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

Definition at line 353 of file octree_container.h.

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

Retrieve point indices from container. This container stores a vector of point indices.

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

Reimplemented from pcl::octree::OctreeContainerBase.

Definition at line 362 of file octree_container.h.

std::vector<int>& pcl::octree::OctreeContainerPointIndices::getPointIndicesVector | ( | ) | ` [inline]` |

Retrieve reference to point indices vector. This container stores a vector of point indices.

**Returns:**- reference to vector of point indices to be stored within data vector

Definition at line 371 of file octree_container.h.

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

Get size of container (number of indices)

**Returns:**- number of point indices in container.

Definition at line 380 of file octree_container.h.

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

Equal comparison operator.

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

Reimplemented from pcl::octree::OctreeContainerBase.

Definition at line 333 of file octree_container.h.

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

Reset leaf node. Clear DataT vector.

Implements pcl::octree::OctreeContainerBase.

Definition at line 387 of file octree_container.h.

std::vector<int> pcl::octree::OctreeContainerPointIndices::leafDataTVector_` [protected]` |

Leaf node DataT vector.

Definition at line 394 of file octree_container.h.

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