Open CASCADE Technology  7.1.0.beta
Public Member Functions | Protected Attributes
BVH_QueueBuilder< T, N >::BVH_TypedBuildTool Class Reference

Wrapper for BVH build data. More...

#include <BVH_QueueBuilder.hxx>

Inheritance diagram for BVH_QueueBuilder< T, N >::BVH_TypedBuildTool:
Inheritance graph
[legend]

Public Member Functions

 BVH_TypedBuildTool (BVH_Set< T, N > *theSet, BVH_Tree< T, N > *theBVH, BVH_Builder< T, N > *theAlgo)
 Creates new BVH build thread. More...
 
virtual void Perform (const Standard_Integer theNode)
 Performs splitting of the given BVH node. More...
 

Protected Attributes

BVH_Set< T, N > * mySet
 Primitive set to build BVH. More...
 
BVH_Tree< T, N > * myBVH
 Output BVH tree for the set. More...
 
BVH_QueueBuilder< T, N > * myAlgo
 Queue based BVH builder to use. More...
 

Detailed Description

template<class T, int N>
class BVH_QueueBuilder< T, N >::BVH_TypedBuildTool

Wrapper for BVH build data.

Constructor & Destructor Documentation

template<class T , int N>
BVH_QueueBuilder< T, N >::BVH_TypedBuildTool::BVH_TypedBuildTool ( BVH_Set< T, N > *  theSet,
BVH_Tree< T, N > *  theBVH,
BVH_Builder< T, N > *  theAlgo 
)
inline

Creates new BVH build thread.

Member Function Documentation

template<class T , int N>
virtual void BVH_QueueBuilder< T, N >::BVH_TypedBuildTool::Perform ( const Standard_Integer  theNode)
inlinevirtual

Performs splitting of the given BVH node.

Implements BVH_BuildTool.

Field Documentation

template<class T , int N>
BVH_QueueBuilder<T, N>* BVH_QueueBuilder< T, N >::BVH_TypedBuildTool::myAlgo
protected

Queue based BVH builder to use.

template<class T , int N>
BVH_Tree<T, N>* BVH_QueueBuilder< T, N >::BVH_TypedBuildTool::myBVH
protected

Output BVH tree for the set.

template<class T , int N>
BVH_Set<T, N>* BVH_QueueBuilder< T, N >::BVH_TypedBuildTool::mySet
protected

Primitive set to build BVH.


The documentation for this class was generated from the following file: