VR-Forces 4.2 Class Documentation
List of all members | Public Member Functions | Protected Attributes
trpgLight Class Reference
Inheritance diagram for trpgLight:
Inheritance graph
[legend]

Public Member Functions

 trpgLight (void)
 Default constructor.
 trpgLight (const trpgLight &)
 Copy constructor.
 ~trpgLight (void)
 Destructor.
void SetAttrIndex (int)
 Set the index pointing into the Light Table.
void AddVertex (trpg3dPoint)
 Add a new location this light is located at.
void GetNumVertices (uint32 &) const
 Returns the number of locations, this light is located at.
bool GetVertex (uint32, trpg3dPoint &) const
 Returns the location at a given index.
bool GetVertices (trpg3dPoint *) const
 Returns the whole list of vertices.
bool GetVertices (float64 *) const
bool GetVertices (float32 *) const
void GetAttrIndex (int &) const
 Returns the index of the Light Attributes in the Light Table.
bool isValid (void) const
 Validity check.
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.
trpgLightoperator= (const trpgLight &)
 operator
- 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

std::vector< trpg3dPointlightPoints
 Here we store the light locations.
int index
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
- Protected Attributes inherited from trpgCheckable
bool valid
TeAttrHdl handle
bool writeHandle

Constructor & Destructor Documentation

trpgLight::trpgLight ( void  )

Default constructor.

trpgLight::trpgLight ( const trpgLight )

Copy constructor.

trpgLight::~trpgLight ( void  )

Destructor.

Member Function Documentation

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.

bool trpgLight::GetVertices ( float64 ) const
bool trpgLight::GetVertices ( float32 ) const
void trpgLight::GetAttrIndex ( int &  ) const

Returns the index of the Light Attributes in the Light Table.

bool trpgLight::isValid ( void  ) const

Validity check.

Reimplemented from trpgCheckable.

void trpgLight::Reset ( void  )
virtual

Resets the contents back to empty.

Implements trpgReadWriteable.

bool trpgLight::Write ( trpgWriteBuffer )
virtual

Writes this class to a write buffer.

Implements trpgReadWriteable.

bool trpgLight::Read ( trpgReadBuffer )
virtual

Reads this class from a read buffer.

Reimplemented from trpgReadWriteable.

bool trpgLight::Print ( trpgPrintBuffer ) const
virtual

Prints this class to a print buffer.

Reimplemented from trpgReadWriteable.

trpgLight& trpgLight::operator= ( const trpgLight )

operator

Member Data Documentation

std::vector<trpg3dPoint> trpgLight::lightPoints
protected

Here we store the light locations.

int trpgLight::index
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)