Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | Public Attributes | List of all members
BVHBuildNode Struct Reference
Collaboration diagram for BVHBuildNode:
Collaboration graph
[legend]

Public Member Functions

 BVHBuildNode ()
 
void InitLeaf (unsigned int first, unsigned int n, const BBox &b)
 
void InitInterior (unsigned int axis, BVHBuildNode *c0, BVHBuildNode *c1)
 

Public Attributes

BBox bounds
 
BVHBuildNodechildren [2]
 
unsigned int splitAxis
 
unsigned int firstPrimOffset
 
unsigned int nPrimitives
 

Detailed Description

Definition at line 33 of file BvhAccelerator.cpp.

Constructor & Destructor Documentation

◆ BVHBuildNode()

BVHBuildNode::BVHBuildNode ( )
inline

Definition at line 36 of file BvhAccelerator.cpp.

Member Function Documentation

◆ InitInterior()

void BVHBuildNode::InitInterior ( unsigned int  axis,
BVHBuildNode c0,
BVHBuildNode c1 
)
inline

Definition at line 46 of file BvhAccelerator.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitLeaf()

void BVHBuildNode::InitLeaf ( unsigned int  first,
unsigned int  n,
const BBox b 
)
inline

Definition at line 40 of file BvhAccelerator.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ bounds

BBox BVHBuildNode::bounds

Definition at line 54 of file BvhAccelerator.cpp.

◆ children

BVHBuildNode* BVHBuildNode::children[2]

Definition at line 55 of file BvhAccelerator.cpp.

◆ firstPrimOffset

unsigned int BVHBuildNode::firstPrimOffset

Definition at line 56 of file BvhAccelerator.cpp.

◆ nPrimitives

unsigned int BVHBuildNode::nPrimitives

Definition at line 56 of file BvhAccelerator.cpp.

◆ splitAxis

unsigned int BVHBuildNode::splitAxis

Definition at line 56 of file BvhAccelerator.cpp.


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