38 #ifndef PCL_OCTREE_NODE_POOL_H
39 #define PCL_OCTREE_NODE_POOL_H
43 #include <pcl/pcl_macros.h>
55 template<
typename NodeT>
95 newLeafNode =
new NodeT ();
102 newLeafNode->reset ();
void pushNode(NodeT *node_arg)
Push node to pool.
std::vector< NodeT * > nodePool_
void deletePool()
Delete all nodes in pool.
NodeT * popNode()
Pop node from pool - Allocates new nodes if pool is empty.
virtual ~OctreeNodePool()
Empty deconstructor.
OctreeNodePool()
Empty constructor.