VR-Forces 5.0.3 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
trpgModelRef Class Reference
Inheritance diagram for trpgModelRef:
Inheritance graph
[legend]

Public Member Functions

 trpgModelRef (void)
 
 ~trpgModelRef (void)
 
void SetModel (int)
 
void SetMatrix (const float64 *)
 
bool GetModel (int32 &) const
 
bool GetMatrix (float64 *) const
 
bool Write (trpgWriteBuffer &)
 
bool Read (trpgReadBuffer &)
 
bool Print (trpgPrintBuffer &) const
 
void Reset (void)
 
- 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
 
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 Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)