Public Member Functions | |
CompareToBucket (int split, int num, int d, const BBox &b) | |
bool | operator() (const BVHPrimitiveInfo &p) const |
Public Attributes | |
int | splitBucket |
int | nBuckets |
int | dim |
const BBox & | centroidBounds |
Definition at line 85 of file bvh.cpp.
CompareToBucket::CompareToBucket | ( | int | split, | |
int | num, | |||
int | d, | |||
const BBox & | b | |||
) | [inline] |
Definition at line 86 of file bvh.cpp.
References dim, nBuckets, and splitBucket.
bool CompareToBucket::operator() | ( | const BVHPrimitiveInfo & | p | ) | const |
Definition at line 96 of file bvh.cpp.
References Assert, BVHPrimitiveInfo::centroid, centroidBounds, dim, nBuckets, BBox::pMax, BBox::pMin, and splitBucket.
Definition at line 92 of file bvh.cpp.
Referenced by operator()().
Definition at line 91 of file bvh.cpp.
Referenced by CompareToBucket(), and operator()().
Definition at line 91 of file bvh.cpp.
Referenced by CompareToBucket(), and operator()().
Definition at line 91 of file bvh.cpp.
Referenced by CompareToBucket(), and operator()().