![]() |
VR-Forces 4.0.4 Class Documentation
|
An abstract interface for managing cached intersection information and determining if the cache needs to be updated. More...

Public Member Functions | |
| virtual | ~DtIntersectionCache () |
| virtual DTOR | |
| virtual void | setCacheFromIntersectionResult (const DtIntersectorResult &result)=0 |
| cache an intersection result | |
| virtual bool | intersectWithCache (const DtVector &point, const DtVector &dir, DtVector &hitPoint, DtVector &hitNormal)=0 |
| determine if a ray from a point in the specified direction intersects the current cache (and return the hit point and normal) | |
Protected Member Functions | |
| DtIntersectionCache () | |
| CTOR. | |
An abstract interface for managing cached intersection information and determining if the cache needs to be updated.
| virtual makVrv::DtIntersectionCache::~DtIntersectionCache | ( | ) | [virtual] |
virtual DTOR
| makVrv::DtIntersectionCache::DtIntersectionCache | ( | ) | [protected] |
CTOR.
| virtual void makVrv::DtIntersectionCache::setCacheFromIntersectionResult | ( | const DtIntersectorResult & | result | ) | [pure virtual] |
cache an intersection result
Implemented in makVrv::DtTriangleIntersectionCache.
| virtual bool makVrv::DtIntersectionCache::intersectWithCache | ( | const DtVector & | point, |
| const DtVector & | dir, | ||
| DtVector & | hitPoint, | ||
| DtVector & | hitNormal | ||
| ) | [pure virtual] |
determine if a ray from a point in the specified direction intersects the current cache (and return the hit point and normal)
Implemented in makVrv::DtTriangleIntersectionCache.