KiCad PCB EDA Suite
|
Public Member Functions | |
HLBVH_SAH_Evaluator (int split, int num, int d, const BBOX_3D &b) | |
bool | operator() (const BVHBuildNode *node) const |
Public Attributes | |
int | minCostSplitBucket |
int | nBuckets |
int | dim |
const BBOX_3D & | centroidBounds |
Definition at line 385 of file bvh_pbrt.cpp.
|
inline |
Definition at line 387 of file bvh_pbrt.cpp.
References dim, minCostSplitBucket, nBuckets, and split().
bool HLBVH_SAH_Evaluator::operator() | ( | const BVHBuildNode * | node | ) | const |
Definition at line 401 of file bvh_pbrt.cpp.
References BVHBuildNode::bounds, centroidBounds, dim, BBOX_3D::GetCenter(), BBOX_3D::Max(), BBOX_3D::Min(), minCostSplitBucket, and nBuckets.
const BBOX_3D& HLBVH_SAH_Evaluator::centroidBounds |
Definition at line 397 of file bvh_pbrt.cpp.
Referenced by operator()().
int HLBVH_SAH_Evaluator::dim |
Definition at line 396 of file bvh_pbrt.cpp.
Referenced by HLBVH_SAH_Evaluator(), and operator()().
int HLBVH_SAH_Evaluator::minCostSplitBucket |
Definition at line 396 of file bvh_pbrt.cpp.
Referenced by HLBVH_SAH_Evaluator(), and operator()().
int HLBVH_SAH_Evaluator::nBuckets |
Definition at line 396 of file bvh_pbrt.cpp.
Referenced by HLBVH_SAH_Evaluator(), and operator()().