template<typename Container, typename PointT> void octree_base<Container, PointT>::DeAllocEmptyNodeCache (octree_base_node<Container, PointT>* current) { if (current->size () == 0) { current->flush_DeAlloc_this_only (); } for (int i = 0; i < current->numchildren (); i++) { DeAllocEmptyNodeCache (current->children[i]); } }
template<typename Container, typename PointT> void octree_base<Container, PointT>::DeAllocEmptyNodeCache () { DeAllocEmptyNodeCache (root_ ); }
template<typename ContainerT, typename PointT> void OutofcoreOctreeBase<ContainerT, PointT>::DeAllocEmptyNodeCache () { DeAllocEmptyNodeCache (root_ ); }