VR-Forces 4.10 Class Documentation
 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. More...

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

Public Member Functions

virtual ~DtIntersectionCache ()
 virtual DTOR More...
 
virtual void setCacheFromIntersectionResult (const DtIntersectorResult &result)=0
 cache an intersection result More...
 
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) More...
 

Protected Member Functions

 DtIntersectionCache ()
 CTOR. More...
 

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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)