![]() |
VR-Forces 4.3 Class Documentation
|

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 char * | getErrMess () 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 |
| trpgModelRef::trpgModelRef | ( | void | ) |
| trpgModelRef::~trpgModelRef | ( | void | ) |
| 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.
Model ID pointing into a trpgModelTable.
Positional matrix. Works just like a trpgTransform.
|
virtual |
Writes this class to a write buffer.
Implements trpgReadWriteable.
|
virtual |
Reads this class from a read buffer.
Reimplemented from trpgReadWriteable.
|
virtual |
Prints this class to a print buffer.
Reimplemented from trpgReadWriteable.
|
virtual |
Resets the contents back to empty.
Implements trpgReadWriteable.
|
protected |
|
protected |