VR-Forces 4.10 Class Documentation
 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)
 Default constructor. More...
 
 trpgLight (const trpgLight &)
 Copy constructor. More...
 
 ~trpgLight (void)
 Destructor. More...
 
void SetAttrIndex (int)
 Set the index pointing into the Light Table. More...
 
void AddVertex (trpg3dPoint)
 Add a new location this light is located at. More...
 
void GetNumVertices (uint32 &) const
 Returns the number of locations, this light is located at. More...
 
bool GetVertex (uint32, trpg3dPoint &) const
 Returns the location at a given index. More...
 
bool GetVertices (trpg3dPoint *) const
 Returns the whole list of vertices. More...
 
bool GetVertices (float64 *) const
 
bool GetVertices (float32 *) const
 
void GetAttrIndex (int &) const
 Returns the index of the Light Attributes in the Light Table. More...
 
bool isValid (void) const
 Validity check. More...
 
void Reset (void)
 Resets the contents back to empty. More...
 
bool Write (trpgWriteBuffer &)
 Writes this class to a write buffer. More...
 
bool Read (trpgReadBuffer &)
 Reads this class from a read buffer. More...
 
bool Print (trpgPrintBuffer &) const
 Prints this class to a print buffer. More...
 
trpgLightoperator= (const trpgLight &)
 operator More...
 
- Public Member Functions inherited from trpgReadWriteable
 trpgReadWriteable ()
 
const chargetErrMess () 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. More...
 
virtual TeAttrHdl GetHandle () const
 
virtual void SetHandle (TeAttrHdl hdl)
 

Protected Attributes

std::vector< trpg3dPointlightPoints
 Here we store the light locations. More...
 
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.

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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)