KiCad PCB EDA Suite
|
Public Member Functions | |
CompareToBucket (int split, int num, int d, const BBOX_3D &b) | |
bool | operator() (const BVHPrimitiveInfo &p) const |
Public Attributes | |
int | splitBucket |
int | nBuckets |
int | dim |
const BBOX_3D & | centroidBounds |
Definition at line 349 of file bvh_pbrt.cpp.
|
inline |
Definition at line 351 of file bvh_pbrt.cpp.
References dim, nBuckets, split(), and splitBucket.
bool CompareToBucket::operator() | ( | const BVHPrimitiveInfo & | p | ) | const |
Definition at line 367 of file bvh_pbrt.cpp.
References BVHPrimitiveInfo::centroid, centroidBounds, dim, BBOX_3D::Max(), BBOX_3D::Min(), nBuckets, and splitBucket.
const BBOX_3D& CompareToBucket::centroidBounds |
Definition at line 363 of file bvh_pbrt.cpp.
Referenced by operator()().
int CompareToBucket::dim |
Definition at line 361 of file bvh_pbrt.cpp.
Referenced by CompareToBucket(), and operator()().
int CompareToBucket::nBuckets |
Definition at line 361 of file bvh_pbrt.cpp.
Referenced by CompareToBucket(), and operator()().
int CompareToBucket::splitBucket |
Definition at line 361 of file bvh_pbrt.cpp.
Referenced by CompareToBucket(), and operator()().