BVH
OCCT package BVH: BVH_Array2d, BVH_Array2f, BVH_Array2i, BVH_Array3d, and 28 more bound classes.
BVH_Array2d
Constructors(1)
BVH_Array2f
Constructors(1)
BVH_Array2i
Constructors(1)
BVH_Array3d
Constructors(1)
BVH_Array3f
Constructors(1)
BVH_Array3i
Constructors(1)
BVH_Array4d
Constructors(1)
BVH_Array4f
Constructors(1)
BVH_Array4i
Constructors(1)
BVH_BinaryTree
Type corresponding to binary BVH.
Constructors(1)
BVH_BitComparator
Constructors(1)
- constructor(theDigit: number): BVH_BitComparatorParameters (1)
theDigit
Properties(1)
BVH_BitPredicate
Constructors(1)
- constructor(theDigit: number): BVH_BitPredicateParameters (1)
theDigit
Properties(1)
BVH_BuilderTransient
A non-template class for using as base for BVH_Builder (just to have a named base class).
Static methods(2)
- get_type_name(): string
Instance methods(5)
- MaxTreeDepth(): number
Returns the maximum depth of constructed
BVH. - LeafNodeSize(): number
Returns the maximum number of sub-elements in the leaf.
- IsParallel(): boolean
Returns parallel flag.
- SetParallel(isParallel: boolean): void
Set parallel flag controlling possibility of parallel execution.
Parameters (1)isParallel
BVH_BuildQueue
Command-queue for parallel building of BVH nodes.
Constructors(1)
Creates new
BVHbuild queue.
Instance methods(4)
- Size(): number
Returns current size of
BVHbuild queue. Uses acquire semantics to synchronize with enqueue/dequeue operations. - Enqueue(theWorkItem: number): void
Enqueues new work-item onto
BVHbuild queue.Parameters (1)theWorkItem
- Fetch(wasBusy: boolean): { returnValue: number; wasBusy: boolean }
Fetches first work-item from
BVHbuild queue.Parameters (1)wasBusy
ReturnsA result object with fields:
returnValue: the C++ return valuewasBusy: updated value from the call.
- HasBusyThreads(): boolean
Checks if there are active build threads. Uses acquire semantics to ensure visibility of thread counter updates. This is critical for termination detection: threads check this after finding an empty queue to determine if they should exit or wait.
BVH_BuildThread
Wrapper for BVH build thread.
Constructors(1)
- constructor(theBuildTool: BVH_BuildTool, theBuildQueue: BVH_BuildQueue): BVH_BuildThread
Creates new
BVHbuild thread.Parameters (2)theBuildTooltheBuildQueue
Static methods(2)
- get_type_name(): string
Instance methods(3)
BVH_BuildTool
Tool object to call BVH builder subroutines.
Instance methods(1)
- Perform(theNode: number): void
Performs splitting of the given
BVHnode.Parameters (1)theNode
BVH_Mat4d
Constructors(1)
BVH_Mat4f
Constructors(1)
BVH_ObjectTransient
A non-template class for using as base for BVH_Object (just to have a named base class).
Static methods(2)
- get_type_name(): string
Instance methods(5)
Returns properties of the geometric object.
- SetProperties(theProperties: BVH_Properties): void
Sets properties of the geometric object.
Parameters (1)theProperties
- IsDirty(): boolean
Returns TRUE if object state should be updated.
- MarkDirty(): void
Marks object state as outdated (needs
BVHrebuilding).
BVH_Properties
Abstract properties of geometric object.
Static methods(2)
- get_type_name(): string
Instance methods(1)
BVH_QuadTree
Type corresponding to quad BVH.
Constructors(1)
BVH_RadixSorter
Performs radix sort of a BVH primitive set using 10-bit Morton codes (or 1024 x 1024 x 1024 grid).
Constructors(1)
BVH_TreeBaseTransient
A non-template class for using as base for BVH_TreeBase (just to have a named base class).
Static methods(2)
- get_type_name(): string