OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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:

    Public Member Functions

     BVH_TypedBuildTool (BVH_Set< T, N > *theSet, BVH_Tree< T, N > *theBVH, BVH_BuildQueue &theBuildQueue, const BVH_QueueBuilder< T, N > *theAlgo)
     Creates new BVH build thread.
    void Perform (const int theNode) override
     Performs splitting of the given BVH node.

    Protected Attributes

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

    Detailed Description

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

    Wrapper for BVH build data.

    Constructor & Destructor Documentation

    ◆ BVH_TypedBuildTool()

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

    Creates new BVH build thread.

    Member Function Documentation

    ◆ Perform()

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

    Performs splitting of the given BVH node.

    Implements BVH_BuildTool.

    Field Documentation

    ◆ myAlgo

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

    Queue based BVH builder to use.

    ◆ myBuildQueue

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

    ◆ myBVH

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

    Output BVH tree for the set.

    ◆ mySet

    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: