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 Attributes
DtChordIntersectionRecord Class Reference
Inheritance diagram for DtChordIntersectionRecord:
Inheritance graph
[legend]

Public Member Functions

 DtChordIntersectionRecord ()
 
 DtChordIntersectionRecord (DtPoint &intersectionPoint, double intersectionTime, DtVector &normal, DtSurface *surface)
 
virtual ~DtChordIntersectionRecord () override
 
 DtChordIntersectionRecord (const DtChordIntersectionRecord &orig)
 
DtChordIntersectionRecordoperator= (const DtChordIntersectionRecord &orig)
 
virtual DtIntersectionRecordclone () const override
 
virtual DtRecordType type () const override
 
virtual void dump () const override
 
const DtPoint intersectionPoint () const
 
const DtVector intersectionVector () const
 
void setIntersectionPoint (const DtPoint &pt)
 
const double intersectionTime () const
 
void setIntersectionTime (double t)
 
const DtVector normal () const
 
void setNormal (const DtVector &v)
 
const DtSurface surface () const
 
void setSurface (const DtSurface &s)
 
unsigned int numberOfIntersectionTests () const
 
void incrementNumberOfIntersectionTests ()
 
void setNumberOfIntersectionTests (unsigned int newNumberOfTests)
 
- Public Member Functions inherited from DtIntersectionRecord
 DtIntersectionRecord ()
 
virtual ~DtIntersectionRecord ()
 
 DtIntersectionRecord (const DtIntersectionRecord &orig)
 
DtIntersectionRecordoperator= (const DtIntersectionRecord &orig)
 
bool intersectionFound () const
 
void setIntersectionFound (bool arg)
 

Protected Attributes

DtPoint myIntersectionPoint
 
DtVector myIntersectionVector
 
double myIntersectionTime
 
DtVector myNormal
 
DtSurface mySurface
 
unsigned int myNumberOfIntersectionTests
 
- Protected Attributes inherited from DtIntersectionRecord
bool myIntersectionFound
 

Additional Inherited Members

- Public Types inherited from DtIntersectionRecord
enum  DtRecordType {
  BASE_TYPE = 0, CHORD_TYPE = 1, GDBCHORD_TYPE = 2, SPHERE_TYPE = 3,
  GDBSPHERE_TYPE = 4
}
 
enum  DtIntersectionType {
  INT_EXISTS = 0, INT_POINT = 0x01, INT_NORMAL = 0x02, INT_RESERVED = 0x04,
  INT_ALL_DATA = 0x07
}
 

Constructor & Destructor Documentation

DtChordIntersectionRecord::DtChordIntersectionRecord ( )
DtChordIntersectionRecord::DtChordIntersectionRecord ( DtPoint intersectionPoint,
double  intersectionTime,
DtVector &  normal,
DtSurface surface 
)
virtual DtChordIntersectionRecord::~DtChordIntersectionRecord ( )
overridevirtual
DtChordIntersectionRecord::DtChordIntersectionRecord ( const DtChordIntersectionRecord orig)

Member Function Documentation

DtChordIntersectionRecord& DtChordIntersectionRecord::operator= ( const DtChordIntersectionRecord orig)
virtual DtIntersectionRecord* DtChordIntersectionRecord::clone ( ) const
overridevirtual
virtual DtRecordType DtChordIntersectionRecord::type ( ) const
overridevirtual

Reimplemented from DtIntersectionRecord.

Reimplemented in DtGdbChordIntersectionRecord.

virtual void DtChordIntersectionRecord::dump ( ) const
overridevirtual

Reimplemented from DtIntersectionRecord.

Reimplemented in DtGdbChordIntersectionRecord.

const DtPoint DtChordIntersectionRecord::intersectionPoint ( ) const
inline

References myIntersectionPoint.

const DtVector DtChordIntersectionRecord::intersectionVector ( ) const
inline

References myIntersectionVector.

void DtChordIntersectionRecord::setIntersectionPoint ( const DtPoint pt)
inline
const double DtChordIntersectionRecord::intersectionTime ( ) const
inline

References myIntersectionTime.

void DtChordIntersectionRecord::setIntersectionTime ( double  t)
inline

References myIntersectionTime.

const DtVector DtChordIntersectionRecord::normal ( ) const
inline

References myNormal.

void DtChordIntersectionRecord::setNormal ( const DtVector &  v)
inline

References myNormal.

const DtSurface DtChordIntersectionRecord::surface ( ) const
inline

References mySurface.

void DtChordIntersectionRecord::setSurface ( const DtSurface s)
inline

References mySurface.

unsigned int DtChordIntersectionRecord::numberOfIntersectionTests ( ) const
inline
void DtChordIntersectionRecord::incrementNumberOfIntersectionTests ( )
inline
void DtChordIntersectionRecord::setNumberOfIntersectionTests ( unsigned int  newNumberOfTests)
inline

Member Data Documentation

DtPoint DtChordIntersectionRecord::myIntersectionPoint
protected
DtVector DtChordIntersectionRecord::myIntersectionVector
protected
double DtChordIntersectionRecord::myIntersectionTime
protected
DtVector DtChordIntersectionRecord::myNormal
protected

Referenced by normal(), and setNormal().

DtSurface DtChordIntersectionRecord::mySurface
protected

Referenced by setSurface(), and surface().

unsigned int DtChordIntersectionRecord::myNumberOfIntersectionTests
protected

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)