Open CASCADE Technology
7.7.0
|
Performs centroid-based sorting of abstract set along the given axis (X - 0, Y - 1, Z - 2) using quick sort. More...
#include <BVH_QuickSorter.hxx>
Public Member Functions | |
BVH_QuickSorter (const Standard_Integer theAxis=0) | |
Creates new BVH quick sorter for the given axis. More... | |
virtual void | Perform (BVH_Set< T, N > *theSet) override |
Sorts the set. More... | |
virtual void | Perform (BVH_Set< T, N > *theSet, const Standard_Integer theStart, const Standard_Integer theFinal) override |
Sorts the given (inclusive) range in the set. More... | |
Public Member Functions inherited from BVH_Sorter< T, N > | |
BVH_Sorter () | |
Performs default initialization. More... | |
virtual | ~BVH_Sorter () |
Releases resources of BVH sorter. More... | |
Standard_Boolean | IsParallel () const |
Returns parallel flag. More... | |
void | SetParallel (const Standard_Boolean isParallel) |
Set parallel flag contolling possibility of parallel execution. More... | |
Protected Attributes | |
Standard_Integer | myAxis |
Axis used to arrange the primitives (X - 0, Y - 1, Z - 2). More... | |
Performs centroid-based sorting of abstract set along the given axis (X - 0, Y - 1, Z - 2) using quick sort.
|
inline |
Creates new BVH quick sorter for the given axis.
|
inlineoverridevirtual |
Sorts the set.
Implements BVH_Sorter< T, N >.
|
inlineoverridevirtual |
Sorts the given (inclusive) range in the set.
Implements BVH_Sorter< T, N >.
|
protected |
Axis used to arrange the primitives (X - 0, Y - 1, Z - 2).