**Octree** leaf class that does store a single DataT element.
More...

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

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

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

## Public Member Functions | |

OctreeLeafDataT () | |

Empty constructor. | |

~OctreeLeafDataT () | |

Empty deconstructor. | |

virtual void | setData (const DataT &data_arg) |

Copies a DataT element to leaf node memorye. | |

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

Retrieve a pointer to the leaf node DataT element. | |

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

Adds leaf node DataT element to dataVector vector of type DataT. | |

virtual void | reset () |

Reset leaf node memory to zero. | |

## Protected Attributes | |

DataT | data_ |

Leaf node DataT storage. |

class pcl::octree::OctreeLeafDataT< DataT >

**Octree** leaf class that does store a single DataT element.

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

Definition at line 180 of file octree_nodes.h.

template<typename DataT >

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

Empty constructor.

Definition at line 185 of file octree_nodes.h.

template<typename DataT >

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

Empty deconstructor.

Definition at line 190 of file octree_nodes.h.

template<typename DataT >

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

Retrieve a pointer to the leaf node DataT element.

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

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

Definition at line 207 of file octree_nodes.h.

template<typename DataT >

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

Adds leaf node DataT element to dataVector vector of type DataT.

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

Definition at line 216 of file octree_nodes.h.

template<typename DataT >

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

Reset leaf node memory to zero.

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

Definition at line 223 of file octree_nodes.h.

template<typename DataT >

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

Copies a DataT element to leaf node memorye.

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

Definition at line 198 of file octree_nodes.h.

template<typename DataT >

DataT pcl::octree::OctreeLeafDataT< DataT >::data_` [protected]` |

Leaf node DataT storage.

Definition at line 230 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