VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
trpgModelRef Class Reference
Inheritance diagram for trpgModelRef:
Inheritance graph
[legend]

Public Member Functions

 trpgModelRef (void)
 ~trpgModelRef (void)
void SetModel (int)
 Set the model ID. Must come from a trpgModelTable.
void SetMatrix (const float64 *)
 Set the 4x4 rotate/translate/scale matrix.
bool GetModel (int32 &) const
 Model ID pointing into a trpgModelTable.
bool GetMatrix (float64 *) const
 Positional matrix. Works just like a trpgTransform.
bool Write (trpgWriteBuffer &)
 Writes this class to a write buffer.
bool Read (trpgReadBuffer &)
 Reads this class from a read buffer.
bool Print (trpgPrintBuffer &) const
 Prints this class to a print buffer.
void Reset (void)
 Resets the contents back to empty.
- Public Member Functions inherited from trpgReadWriteable
 trpgReadWriteable ()
const chargetErrMess () const
- Public Member Functions inherited from trpgCheckable
 trpgCheckable (void)
virtual ~trpgCheckable (void)
bool isValid (void) const
 Returns the state of the valid flag, or can be overriden by a subclass to do a more complex check.
virtual TeAttrHdl GetHandle () const
virtual void SetHandle (TeAttrHdl hdl)

Protected Attributes

int modelRef
float64 m [4][4]
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
- Protected Attributes inherited from trpgCheckable
bool valid
TeAttrHdl handle
bool writeHandle

Constructor & Destructor Documentation

trpgModelRef::trpgModelRef ( void  )
trpgModelRef::~trpgModelRef ( void  )

Member Function Documentation

void trpgModelRef::SetModel ( int  )

Set the model ID. Must come from a trpgModelTable.

void trpgModelRef::SetMatrix ( const float64 )

Set the 4x4 rotate/translate/scale matrix.

bool trpgModelRef::GetModel ( int32 ) const

Model ID pointing into a trpgModelTable.

bool trpgModelRef::GetMatrix ( float64 ) const

Positional matrix. Works just like a trpgTransform.

bool trpgModelRef::Write ( trpgWriteBuffer )
virtual

Writes this class to a write buffer.

Implements trpgReadWriteable.

bool trpgModelRef::Read ( trpgReadBuffer )
virtual

Reads this class from a read buffer.

Reimplemented from trpgReadWriteable.

bool trpgModelRef::Print ( trpgPrintBuffer ) const
virtual

Prints this class to a print buffer.

Reimplemented from trpgReadWriteable.

void trpgModelRef::Reset ( void  )
virtual

Resets the contents back to empty.

Implements trpgReadWriteable.

Member Data Documentation

int trpgModelRef::modelRef
protected
float64 trpgModelRef::m[4][4]
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)