KiCad PCB EDA Suite
|
Public Member Functions | |
void | InitLeaf (int first, int n, const BBOX_3D &b) |
void | InitInterior (int axis, BVHBuildNode *c0, BVHBuildNode *c1) |
Public Attributes | |
BBOX_3D | bounds |
BVHBuildNode * | children [2] |
int | splitAxis |
int | firstPrimOffset |
int | nPrimitives |
Definition at line 106 of file bvh_pbrt.cpp.
|
inline |
Definition at line 117 of file bvh_pbrt.cpp.
References bounds, children, nPrimitives, BBOX_3D::Set(), splitAxis, and BBOX_3D::Union().
Referenced by BVH_PBRT::buildUpperSAH(), BVH_PBRT::emitLBVH(), and BVH_PBRT::recursiveBuild().
|
inline |
Definition at line 109 of file bvh_pbrt.cpp.
References bounds, children, firstPrimOffset, and nPrimitives.
Referenced by BVH_PBRT::emitLBVH(), and BVH_PBRT::recursiveBuild().
BBOX_3D BVHBuildNode::bounds |
Definition at line 127 of file bvh_pbrt.cpp.
Referenced by BVH_PBRT::buildUpperSAH(), BVH_PBRT::flattenBVHTree(), BVH_PBRT::HLBVHBuild(), InitInterior(), InitLeaf(), HLBVH_SAH_Evaluator::operator()(), and BVH_PBRT::recursiveBuild().
BVHBuildNode* BVHBuildNode::children[2] |
Definition at line 128 of file bvh_pbrt.cpp.
Referenced by BVH_PBRT::buildUpperSAH(), BVH_PBRT::flattenBVHTree(), BVH_PBRT::HLBVHBuild(), InitInterior(), InitLeaf(), and BVH_PBRT::recursiveBuild().
int BVHBuildNode::firstPrimOffset |
Definition at line 129 of file bvh_pbrt.cpp.
Referenced by BVH_PBRT::buildUpperSAH(), BVH_PBRT::flattenBVHTree(), BVH_PBRT::HLBVHBuild(), InitLeaf(), and BVH_PBRT::recursiveBuild().
int BVHBuildNode::nPrimitives |
Definition at line 129 of file bvh_pbrt.cpp.
Referenced by BVH_PBRT::buildUpperSAH(), BVH_PBRT::flattenBVHTree(), BVH_PBRT::HLBVHBuild(), InitInterior(), InitLeaf(), and BVH_PBRT::recursiveBuild().
int BVHBuildNode::splitAxis |
Definition at line 129 of file bvh_pbrt.cpp.
Referenced by BVH_PBRT::buildUpperSAH(), BVH_PBRT::flattenBVHTree(), BVH_PBRT::HLBVHBuild(), InitInterior(), and BVH_PBRT::recursiveBuild().