VR-Forces 4.1 Class Documentation
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 ()
 DtChordIntersectionRecord (const DtChordIntersectionRecord &orig)
DtChordIntersectionRecordoperator= (const DtChordIntersectionRecord &orig)
virtual DtIntersectionRecordclone () const
virtual DtRecordType type () const
virtual void dump () const
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 ( )
virtual
DtChordIntersectionRecord::DtChordIntersectionRecord ( const DtChordIntersectionRecord orig)

Member Function Documentation

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

Reimplemented from DtIntersectionRecord.

Reimplemented in DtGdbChordIntersectionRecord.

virtual DtRecordType DtChordIntersectionRecord::type ( ) const
virtual

Reimplemented from DtIntersectionRecord.

Reimplemented in DtGdbChordIntersectionRecord.

virtual void DtChordIntersectionRecord::dump ( ) const
virtual

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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)