VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions
makVrv::DtIntersectionCache Class Reference

An abstract interface for managing cached intersection information and determining if the cache needs to be updated. More...

Inheritance diagram for makVrv::DtIntersectionCache:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

An abstract interface for managing cached intersection information and determining if the cache needs to be updated.


Constructor & Destructor Documentation

virtual DTOR

CTOR.


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)