Octree node pool More...
#include <octree_node_pool.h>
Public Member Functions | |
void | deletePool () |
Delete all nodes in pool. | |
OctreeNodePool () | |
Empty constructor. | |
NodeT * | popNode () |
Pop node from pool - Allocates new nodes if pool is empty. | |
void | pushNode (NodeT *node_arg) |
Push node to pool. | |
virtual | ~OctreeNodePool () |
Empty deconstructor. | |
Protected Attributes | |
std::vector< NodeT * > | nodePool_ |
Octree node pool
Definition at line 56 of file octree_node_pool.h.
pcl::octree::OctreeNodePool< NodeT >::OctreeNodePool | ( | ) | [inline] |
Empty constructor.
Definition at line 60 of file octree_node_pool.h.
virtual pcl::octree::OctreeNodePool< NodeT >::~OctreeNodePool | ( | ) | [inline, virtual] |
Empty deconstructor.
Definition at line 67 of file octree_node_pool.h.
void pcl::octree::OctreeNodePool< NodeT >::deletePool | ( | ) | [inline] |
Delete all nodes in pool.
Definition at line 112 of file octree_node_pool.h.
NodeT* pcl::octree::OctreeNodePool< NodeT >::popNode | ( | ) | [inline] |
Pop node from pool - Allocates new nodes if pool is empty.
Definition at line 86 of file octree_node_pool.h.
void pcl::octree::OctreeNodePool< NodeT >::pushNode | ( | NodeT * | node_arg | ) | [inline] |
Push node to pool.
node_arg,: | add this node to the pool |
Definition at line 77 of file octree_node_pool.h.
std::vector<NodeT*> pcl::octree::OctreeNodePool< NodeT >::nodePool_ [protected] |
Definition at line 123 of file octree_node_pool.h.