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

Public Types | |
| enum | { Individual, Group } |
| enum | { Axial, World, Eye } |
Public Member Functions | |
| trpgBillboard (void) | |
| ~trpgBillboard (void) | |
| void | SetType (int) |
| Set the type. See GetType for details. | |
| void | SetCenter (const trpg3dPoint &) |
| Set the center. | |
| void | SetMode (int) |
| Set the rotation mode. | |
| void | SetAxis (const trpg3dPoint &) |
| Set the rotation axis if mode == Axial. | |
| bool | GetType (int &) const |
| bool | GetCenter (trpg3dPoint &) const |
| bool | GetMode (int &) const |
| bool | GetAxis (trpg3dPoint &) const |
| void | Reset (void) |
| Resets the contents back to empty. | |
| 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. | |
Public Member Functions inherited from trpgGroup | |
| trpgGroup (void) | |
| virtual | ~trpgGroup (void) |
| virtual void | SetNumChild (int) |
| virtual int | AddChild (void) |
| Starting from 0, increments the number of children. | |
| virtual bool | GetNumChild (int &) const |
| virtual void | SetID (int) |
| virtual bool | GetID (int &) const |
| Returns the group ID. | |
| void | SetName (const char *) |
| const char * | GetName (void) const |
| Returns the group name. | |
| virtual bool | isValid (void) const |
| Validity check. | |
Public Member Functions inherited from trpgReadWriteable | |
| trpgReadWriteable () | |
| const char * | getErrMess () const |
Public Member Functions inherited from trpgCheckable | |
| trpgCheckable (void) | |
| virtual | ~trpgCheckable (void) |
| virtual TeAttrHdl | GetHandle () const |
| virtual void | SetHandle (TeAttrHdl hdl) |
Protected Attributes | |
| int | type |
| int | mode |
| trpg3dPoint | center |
| trpg3dPoint | axis |
Protected Attributes inherited from trpgGroup | |
| int | id |
| int | numChild |
| char * | name |
Protected Attributes inherited from trpgReadWriteable | |
| char | errMess [512] |
Protected Attributes inherited from trpgCheckable | |
| bool | valid |
| TeAttrHdl | handle |
| bool | writeHandle |
| trpgBillboard::trpgBillboard | ( | void | ) |
| trpgBillboard::~trpgBillboard | ( | void | ) |
| void trpgBillboard::SetType | ( | int | ) |
Set the type. See GetType for details.
| void trpgBillboard::SetCenter | ( | const trpg3dPoint & | ) |
Set the center.
| void trpgBillboard::SetMode | ( | int | ) |
Set the rotation mode.
| void trpgBillboard::SetAxis | ( | const trpg3dPoint & | ) |
Set the rotation axis if mode == Axial.
| bool trpgBillboard::GetCenter | ( | trpg3dPoint & | ) | const |
| bool trpgBillboard::GetAxis | ( | trpg3dPoint & | ) | const |
|
virtual |
Resets the contents back to empty.
Reimplemented from trpgGroup.
|
virtual |
Writes this class to a write buffer.
Reimplemented from trpgGroup.
|
virtual |
Reads this class from a read buffer.
Reimplemented from trpgGroup.
|
virtual |
Prints this class to a print buffer.
Reimplemented from trpgGroup.
|
protected |
|
protected |
|
protected |
|
protected |