![]() |
VR-Forces Developer's Guide
|

Public Types | |
| enum | { Individual, Group } |
| enum | { Axial, World, Eye } |
Public Member Functions | |
| trpgBillboard (void) | |
| virtual | ~trpgBillboard (void) override |
| void | SetType (int) |
| void | SetCenter (const trpg3dPoint &) |
| void | SetMode (int) |
| void | SetAxis (const trpg3dPoint &) |
| bool | GetType (int &) const |
| bool | GetCenter (trpg3dPoint &) const |
| bool | GetMode (int &) const |
| bool | GetAxis (trpg3dPoint &) const |
| virtual void | Reset (void) override |
| virtual bool | Write (trpgWriteBuffer &) override |
| virtual bool | Read (trpgReadBuffer &) override |
| virtual bool | Print (trpgPrintBuffer &) const override |
Public Member Functions inherited from trpgGroup | |
| trpgGroup (void) | |
| virtual | ~trpgGroup (void) override |
| virtual void | SetNumChild (int) |
| virtual int | AddChild (void) |
| virtual bool | GetNumChild (int &) const |
| virtual void | SetID (int) |
| virtual bool | GetID (int &) const |
| void | SetName (const char *) |
| const char * | GetName (void) const |
| virtual bool | isValid (void) const |
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 |
| 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 | ) |
|
overridevirtual |
| 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 |
|
overridevirtual |
Resets the contents back to empty.
Reimplemented from trpgGroup.
|
overridevirtual |
Writes this class to a write buffer.
Reimplemented from trpgGroup.
|
overridevirtual |
Reads this class from a read buffer.
Reimplemented from trpgGroup.
|
overridevirtual |
Prints this class to a print buffer.
Reimplemented from trpgGroup.
|
protected |
|
protected |
|
protected |
|
protected |