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

Public Member Functions | |
| trpgLight (void) | |
| trpgLight (const trpgLight &) | |
| ~trpgLight (void) | |
| void | SetAttrIndex (int) |
| void | AddVertex (trpg3dPoint) |
| void | GetNumVertices (uint32 &) const |
| bool | GetVertex (uint32, trpg3dPoint &) const |
| bool | GetVertices (trpg3dPoint *) const |
| bool | GetVertices (float64 *) const |
| bool | GetVertices (float32 *) const |
| void | GetAttrIndex (int &) const |
| bool | isValid (void) const |
| void | Reset (void) |
| bool | Write (trpgWriteBuffer &) |
| bool | Read (trpgReadBuffer &) |
| bool | Print (trpgPrintBuffer &) const |
| trpgLight & | operator= (const trpgLight &) |
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 | |
| std::vector< trpg3dPoint > | lightPoints |
| int | index |
Protected Attributes inherited from trpgReadWriteable | |
| char | errMess [512] |
Protected Attributes inherited from trpgCheckable | |
| bool | valid |
| TeAttrHdl | handle |
| bool | writeHandle |
| trpgLight::trpgLight | ( | void | ) |
Default constructor.
| trpgLight::trpgLight | ( | const trpgLight & | ) |
Copy constructor.
| trpgLight::~trpgLight | ( | void | ) |
Destructor.
| void trpgLight::SetAttrIndex | ( | int | ) |
Set the index pointing into the Light Table.
| void trpgLight::AddVertex | ( | trpg3dPoint | ) |
Add a new location this light is located at.
| void trpgLight::GetNumVertices | ( | uint32 & | ) | const |
Returns the number of locations, this light is located at.
| bool trpgLight::GetVertex | ( | uint32 | , |
| trpg3dPoint & | |||
| ) | const |
Returns the location at a given index.
| bool trpgLight::GetVertices | ( | trpg3dPoint * | ) | const |
Returns the whole list of vertices.
| void trpgLight::GetAttrIndex | ( | int & | ) | const |
Returns the index of the Light Attributes in the Light Table.
| bool trpgLight::isValid | ( | void | ) | const |
Validity check.
|
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 |
Here we store the light locations.
|
protected |