| 
    Open CASCADE Technology
    7.1.0.beta
    
   | 
 
Performs construction of BVH tree using bounding boxes (AABBs) of abstract objects. More...
#include <BVH_Tree.hxx>

Public Member Functions | |
| BVH_Builder (const Standard_Integer theLeafNodeSize, const Standard_Integer theMaxTreeDepth) | |
| Creates new abstract BVH builder.  More... | |
| virtual | ~BVH_Builder () | 
| Releases resources of BVH builder.  More... | |
| virtual void | Build (BVH_Set< T, N > *theSet, BVH_Tree< T, N > *theBVH, const BVH_Box< T, N > &theBox)=0 | 
| Builds BVH using specific algorithm.  More... | |
Protected Member Functions | |
| void | UpdateDepth (BVH_Tree< T, N > *theBVH, const Standard_Integer theLevel) | 
| Updates depth of constructed BVH tree.  More... | |
Protected Attributes | |
| Standard_Integer | myMaxTreeDepth | 
| Maximum depth of constructed BVH.  More... | |
| Standard_Integer | myLeafNodeSize | 
| Maximum number of objects per leaf.  More... | |
Performs construction of BVH tree using bounding boxes (AABBs) of abstract objects.
| T | Numeric data type | 
| N | Vector dimension | 
| BVH_Builder< T, N >::BVH_Builder | ( | const Standard_Integer | theLeafNodeSize, | 
| const Standard_Integer | theMaxTreeDepth | ||
| ) | 
Creates new abstract BVH builder.
      
  | 
  virtual | 
Releases resources of BVH builder.
      
  | 
  pure virtual | 
Builds BVH using specific algorithm.
Implemented in BVH_QueueBuilder< T, N >, and BVH_LinearBuilder< T, N >.
      
  | 
  inlineprotected | 
Updates depth of constructed BVH tree.
      
  | 
  protected | 
Maximum number of objects per leaf.
      
  | 
  protected | 
Maximum depth of constructed BVH.
 1.8.10