**Octree** leaf class that does store a vector of DataT elements.
More...

`#include <pcl/octree/octree_nodes.h>`

Inheritance diagram for pcl::octree::OctreeLeafDataTVector< DataT >:

Collaboration diagram for pcl::octree::OctreeLeafDataTVector< DataT >:

## Public Member Functions | |

OctreeLeafDataTVector () | |

Empty constructor. | |

~OctreeLeafDataTVector () | |

Empty deconstructor. | |

virtual void | setData (const DataT &data_arg) |

Pushes a DataT element to internal DataT vector. | |

virtual void | getData (const DataT *&data_arg) |

Receive the most recent DataT element that was pushed to the internal DataT vector. | |

virtual void | getData (std::vector< DataT > &dataVector_arg) |

Concatenate the internal DataT vector to vector argument dataVector_arg. | |

virtual const std::vector < DataT > & | getIdxVector () |

Receive const reference to internal DataT Vector. | |

virtual void | reset () |

Reset leaf node. | |

## Protected Attributes | |

std::vector< DataT > | leafDataTVector_ |

Leaf node DataT vector. |

class pcl::octree::OctreeLeafDataTVector< DataT >

**Octree** leaf class that does store a vector of DataT elements.

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

Definition at line 240 of file octree_nodes.h.

template<typename DataT >

pcl::octree::OctreeLeafDataTVector< DataT >::OctreeLeafDataTVector | ( | ) | ` [inline]` |

Empty constructor.

Definition at line 245 of file octree_nodes.h.

template<typename DataT >

pcl::octree::OctreeLeafDataTVector< DataT >::~OctreeLeafDataTVector | ( | ) | ` [inline]` |

Empty deconstructor.

Definition at line 249 of file octree_nodes.h.

template<typename DataT >

virtual void pcl::octree::OctreeLeafDataTVector< DataT >::getData | ( | const DataT *& | data_arg |
) | ` [inline, virtual]` |

Receive the most recent DataT element that was pushed to the internal DataT vector.

**Parameters:**-
*data_arg,:*reference to return pointer of most recently added leaf node DataT element.

Implements pcl::octree::OctreeLeafAbstract< DataT >.

Definition at line 266 of file octree_nodes.h.

template<typename DataT >

virtual void pcl::octree::OctreeLeafDataTVector< DataT >::getData | ( | std::vector< DataT > & | dataVector_arg |
) | ` [inline, virtual]` |

Concatenate the internal DataT vector to vector argument dataVector_arg.

**Parameters:**-
*dataVector_arg,:*reference to DataT vector that is to be extended with leaf node DataT elements.

Definition at line 281 of file octree_nodes.h.

template<typename DataT >

virtual const std::vector<DataT>& pcl::octree::OctreeLeafDataTVector< DataT >::getIdxVector | ( | ) | ` [inline, virtual]` |

Receive const reference to internal DataT Vector.

**Returns:**- reference to internal DataT Vector

Definition at line 291 of file octree_nodes.h.

template<typename DataT >

virtual void pcl::octree::OctreeLeafDataTVector< DataT >::reset | ( | ) | ` [inline, virtual]` |

Reset leaf node.

Clear DataT vector.

Implements pcl::octree::OctreeLeafAbstract< DataT >.

Definition at line 298 of file octree_nodes.h.

template<typename DataT >

virtual void pcl::octree::OctreeLeafDataTVector< DataT >::setData | ( | const DataT & | data_arg |
) | ` [inline, virtual]` |

Pushes a DataT element to internal DataT vector.

**Parameters:**-
*data_arg,:*reference to DataT element to be stored within leaf node.

Definition at line 257 of file octree_nodes.h.

template<typename DataT >

std::vector<DataT> pcl::octree::OctreeLeafDataTVector< DataT >::leafDataTVector_` [protected]` |

Leaf node DataT vector.

Definition at line 305 of file octree_nodes.h.

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

- /tmp/pcl-1.0.1/octree/include/pcl/octree/octree_nodes.h