8 #ifndef vrfObjectIntersectionRecord_H_
9 #define vrfObjectIntersectionRecord_H_
44 bool intersectionFound()
const;
45 void setIntersectionFound(
bool arg);
48 const DtPoint intersectionPoint()
const;
49 void setIntersectionPoint(
const DtPoint& pt);
52 const double intersectionTime()
const;
53 void setIntersectionTime(
double t);
69 inline unsigned int numberOfIntersectionTests()
const;
71 inline void incrementNumberOfIntersectionTests();
73 inline void setNumberOfIntersectionTests(
unsigned int newNumberOfTests);
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtVrfObject * myIntersectedVrfObject
Definition: vrfObjectIntersectionRecord.h:86
void incrementNumberOfIntersectionTests()
Increments the current number of intersection tests by one.
Definition: vrfObjectIntersectionRecord.h:173
DtPoint myIntersectionPoint
Definition: vrfObjectIntersectionRecord.h:82
*bool testInvariant() const
bool testInvariant() const
double myIntersectionTime
Definition: vrfObjectIntersectionRecord.h:83
Definition: surface.h:179
const double intersectionTime() const
Definition: vrfObjectIntersectionRecord.h:123
bool myIntersectionFound
Definition: vrfObjectIntersectionRecord.h:81
DtVrfObject * intersectedVrfObject()
Get a pointer to the intersecting vrfObject.
Definition: vrfObjectIntersectionRecord.h:149
DtSurface mySurface
Definition: vrfObjectIntersectionRecord.h:84
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
void setIntersectionPoint(const DtPoint &pt)
Definition: vrfObjectIntersectionRecord.h:115
bool intersectionFound() const
Copy constructor and Assignment operator left to compiler generate implementations.
Definition: vrfObjectIntersectionRecord.h:96
const DtSurface surface() const
Definition: vrfObjectIntersectionRecord.h:136
void setIntersectionFound(bool arg)
Definition: vrfObjectIntersectionRecord.h:102
unsigned int myNumberOfIntersectionTests
This represents the total number of intersection tests that were performed to fill in this intersecti...
Definition: vrfObjectIntersectionRecord.h:92
const DtPoint intersectionPoint() const
Definition: vrfObjectIntersectionRecord.h:109
unsigned int numberOfIntersectionTests() const
The number of intersection tests that were performed in order to fill in this class can be kept...
Definition: vrfObjectIntersectionRecord.h:167
Instances of DtVrfObjectIntersectionRecord are used to record the results of DtVrfObject/DtChord inte...
Definition: vrfObjectIntersectionRecord.h:28
void setIntersectionTime(double t)
Definition: vrfObjectIntersectionRecord.h:129
void setIntersectedVrfObject(DtVrfObject *vrfObj)
Definition: vrfObjectIntersectionRecord.h:160
void setNumberOfIntersectionTests(unsigned int newNumberOfTests)
Set outright the number of intersection tests.
Definition: vrfObjectIntersectionRecord.h:180
void setSurface(const DtSurface &s)
Definition: vrfObjectIntersectionRecord.h:142