BVHBuildNode Struct Reference

List of all members.

Public Member Functions

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

Public Attributes

BBox bounds
BVHBuildNodechildren [2]
uint32_t splitAxis
uint32_t firstPrimOffset
uint32_t nPrimitives

Detailed Description

Definition at line 44 of file bvh.cpp.


Constructor & Destructor Documentation

BVHBuildNode::BVHBuildNode (  )  [inline]

Definition at line 46 of file bvh.cpp.

References children.


Member Function Documentation

void BVHBuildNode::InitInterior ( uint32_t  axis,
BVHBuildNode c0,
BVHBuildNode c1 
) [inline]

Definition at line 52 of file bvh.cpp.

References bounds, children, nPrimitives, splitAxis, and Union().

Referenced by BVHAccel::recursiveBuild().

void BVHBuildNode::InitLeaf ( uint32_t  first,
uint32_t  n,
const BBox b 
) [inline]

Definition at line 47 of file bvh.cpp.

References bounds, firstPrimOffset, and nPrimitives.

Referenced by BVHAccel::recursiveBuild().


Member Data Documentation

Definition at line 59 of file bvh.cpp.

Referenced by BVHAccel::flattenBVHTree(), InitInterior(), and InitLeaf().

Definition at line 60 of file bvh.cpp.

Referenced by BVHBuildNode(), BVHAccel::flattenBVHTree(), and InitInterior().

Definition at line 61 of file bvh.cpp.

Referenced by BVHAccel::flattenBVHTree(), and InitLeaf().

Definition at line 61 of file bvh.cpp.

Referenced by BVHAccel::flattenBVHTree(), InitInterior(), and InitLeaf().

Definition at line 61 of file bvh.cpp.

Referenced by BVHAccel::flattenBVHTree(), and InitInterior().


The documentation for this struct was generated from the following file:
Generated on Sat Aug 28 20:00:13 2010 for pbrt by  doxygen 1.6.3