VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
trpgLight Class Reference
Inheritance diagram for trpgLight:
Inheritance graph
[legend]

Public Member Functions

 trpgLight (void)
 
 trpgLight (const trpgLight &)
 
virtual ~trpgLight (void) override
 
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
 
virtual void Reset (void) override
 
virtual bool Write (trpgWriteBuffer &) override
 
virtual bool Read (trpgReadBuffer &) override
 
virtual bool Print (trpgPrintBuffer &) const override
 
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
 

Constructor & Destructor Documentation

trpgLight::trpgLight ( void  )

Default constructor.

trpgLight::trpgLight ( const trpgLight &  )

Copy constructor.

virtual trpgLight::~trpgLight ( void  )
overridevirtual

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.

virtual void trpgLight::Reset ( void  )
overridevirtual

Resets the contents back to empty.

Implements trpgReadWriteable.

virtual bool trpgLight::Write ( trpgWriteBuffer &  )
overridevirtual

Writes this class to a write buffer.

Implements trpgReadWriteable.

virtual bool trpgLight::Read ( trpgReadBuffer &  )
overridevirtual

Reads this class from a read buffer.

Reimplemented from trpgReadWriteable.

virtual bool trpgLight::Print ( trpgPrintBuffer &  ) const
overridevirtual

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 Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)