VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | 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]

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 makVrv::DtIntersectionCache::~DtIntersectionCache ( )
virtual

virtual DTOR

makVrv::DtIntersectionCache::DtIntersectionCache ( )
protected

CTOR.

Member Function Documentation

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.


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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)