VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions
makVrv::DtIntersectionCache Class Referenceabstract

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

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

Public Member Functions

virtual ~DtIntersectionCache ()
 
virtual void setCacheFromIntersectionResult (const DtIntersectorResult &result)=0
 
virtual bool intersectWithCache (const DtVector &point, const DtVector &dir, DtVector &hitPoint, DtVector &hitNormal)=0
 

Protected Member Functions

 DtIntersectionCache ()
 

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 Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)