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

Public Member Functions | |
| trpgLod (void) | |
| ~trpgLod (void) | |
| void | SetCenter (const trpg3dPoint &) |
| Set the calculated center. | |
| void | SetNumChild (int) |
| Set the number of children hint. | |
| void | SetLOD (double in, double out, double width) |
| Set the LOD information. | |
| bool | GetCenter (trpg3dPoint &) const |
| Center of this LOD. Distance from the viewer is calculated from this. | |
| bool | GetNumChild (int &) const |
| Number of children hint. | |
| bool | GetLOD (double &in, double &out, double &width) const |
| LOD specific information. | |
| void | SetID (int) |
| Set the group ID. | |
| bool | GetID (int &) const |
| Group IDs are used here the same way as in trpgGroup. | |
| void | SetName (const char *) |
| const char * | GetName (void) const |
| Returns the lod name. | |
| void | SetRangeIndex (int ri) |
| Set the range Index. | |
| bool | GetRangeIndex (int &ri) const |
| Get the range index. | |
| 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 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 | numRange |
| double | switchIn |
| double | switchOut |
| double | width |
| trpg3dPoint | center |
| int | id |
| char * | name |
| int | rangeIndex |
Protected Attributes inherited from trpgReadWriteable | |
| char | errMess [512] |
Protected Attributes inherited from trpgCheckable | |
| bool | valid |
| TeAttrHdl | handle |
| bool | writeHandle |
| trpgLod::trpgLod | ( | void | ) |
| trpgLod::~trpgLod | ( | void | ) |
| void trpgLod::SetCenter | ( | const trpg3dPoint & | ) |
Set the calculated center.
| void trpgLod::SetNumChild | ( | int | ) |
Set the number of children hint.
| void trpgLod::SetLOD | ( | double | in, |
| double | out, | ||
| double | width | ||
| ) |
Set the LOD information.
| bool trpgLod::GetCenter | ( | trpg3dPoint & | ) | const |
Center of this LOD. Distance from the viewer is calculated from this.
| bool trpgLod::GetLOD | ( | double & | in, |
| double & | out, | ||
| double & | width | ||
| ) | const |
LOD specific information.
in and out can be switched. width is the transition range for doing fading.
| void trpgLod::SetID | ( | int | ) |
Set the group ID.
| void trpgLod::SetName | ( | const char * | ) |
| const char* trpgLod::GetName | ( | void | ) | const |
Returns the lod name.
| void trpgLod::SetRangeIndex | ( | int | ri | ) |
Set the range Index.
|
virtual |
Resets the contents back to empty.
Implements trpgReadWriteable.
|
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.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |