OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
Public Member Functions | |
Voxel () | |
Voxel (const Vector_t &min, const Vector_t &max) | |
void | scale (const Vector_t &scale) |
bool | intersect (const Ray &r, double &tmin, double &tmax) const |
bool | intersect (const Ray &r) const |
int | intersect (const Triangle &t) const |
Vector_t | extent () const |
bool | isInside (const Vector_t &P) const |
Public Attributes | |
Vector_t | pts [2] |
Definition at line 580 of file BoundaryGeometry.cpp.
|
inline |
Definition at line 582 of file BoundaryGeometry.cpp.
Definition at line 583 of file BoundaryGeometry.cpp.
References max(), min(), and pts.
|
inline |
|
inline |
Definition at line 599 of file BoundaryGeometry.cpp.
References Ray::inv_direction, Ray::origin, pts, and Ray::sign.
Referenced by intersect(), BoundaryGeometry::intersectRayBoundary(), BoundaryGeometry::intersectTinyLineSegmentBoundary(), and BoundaryGeometry::intersectTriangleVoxel().
|
inline |
Definition at line 627 of file BoundaryGeometry.cpp.
References intersect().
|
inline |
Definition at line 635 of file BoundaryGeometry.cpp.
References extent(), pts, Triangle::scale(), and scale().
|
inline |
Definition at line 650 of file BoundaryGeometry.cpp.
References pts.
Referenced by BoundaryGeometry::fastIsInside().
|
inline |
Vector_t Voxel::pts[2] |
Definition at line 662 of file BoundaryGeometry.cpp.
Referenced by extent(), intersect(), BoundaryGeometry::intersectTinyLineSegmentBoundary(), isInside(), scale(), and Voxel().