예제 #1
0
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]);
    }

}
예제 #2
0
template<typename Container, typename PointT> void
octree_base<Container, PointT>::DeAllocEmptyNodeCache ()
{
    DeAllocEmptyNodeCache (root_ );
}
예제 #3
0
 template<typename ContainerT, typename PointT> void
 OutofcoreOctreeBase<ContainerT, PointT>::DeAllocEmptyNodeCache ()
 {
   DeAllocEmptyNodeCache (root_ );
 }