Open CASCADE Technology  7.6.0
Public Member Functions

BVH_Sorter< T, N > Class Template Referenceabstract

Tool object to sort abstract primitive set. More...

#include <BVH_Sorter.hxx>

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

Public Member Functions

 BVH_Sorter ()
 Performs default initialization. More...
 
virtual ~BVH_Sorter ()
 Releases resources of BVH sorter. More...
 
virtual void Perform (BVH_Set< T, N > *theSet)=0
 Sorts the set. More...
 
virtual void Perform (BVH_Set< T, N > *theSet, const Standard_Integer theStart, const Standard_Integer theFinal)=0
 Sorts the given (inclusive) range in the set. More...
 
Standard_Boolean IsParallel () const
 Returns parallel flag. More...
 
void SetParallel (const Standard_Boolean isParallel)
 Set parallel flag contolling possibility of parallel execution. More...
 

Detailed Description

template<class T, int N>
class BVH_Sorter< T, N >

Tool object to sort abstract primitive set.

Constructor & Destructor Documentation

◆ BVH_Sorter()

template<class T , int N>
BVH_Sorter< T, N >::BVH_Sorter ( )
inline

Performs default initialization.

◆ ~BVH_Sorter()

template<class T , int N>
virtual BVH_Sorter< T, N >::~BVH_Sorter ( )
inlinevirtual

Releases resources of BVH sorter.

Member Function Documentation

◆ IsParallel()

template<class T , int N>
Standard_Boolean BVH_Sorter< T, N >::IsParallel ( ) const
inline

Returns parallel flag.

◆ Perform() [1/2]

template<class T , int N>
virtual void BVH_Sorter< T, N >::Perform ( BVH_Set< T, N > *  theSet)
pure virtual

Sorts the set.

Implemented in BVH_RadixSorter< T, N >, and BVH_QuickSorter< T, N >.

◆ Perform() [2/2]

template<class T , int N>
virtual void BVH_Sorter< T, N >::Perform ( BVH_Set< T, N > *  theSet,
const Standard_Integer  theStart,
const Standard_Integer  theFinal 
)
pure virtual

Sorts the given (inclusive) range in the set.

Implemented in BVH_RadixSorter< T, N >, and BVH_QuickSorter< T, N >.

◆ SetParallel()

template<class T , int N>
void BVH_Sorter< T, N >::SetParallel ( const Standard_Boolean  isParallel)
inline

Set parallel flag contolling possibility of parallel execution.


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