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

Public Types

typedef std::map< int,
trpgLightAttr
LightMapType
 

Public Member Functions

 trpgLightTable (void)
 
 trpgLightTable (const trpgLightTable &)
 
 ~trpgLightTable (void)
 
int AddLightAttr (const trpgLightAttr &)
 
int FindAddLightAttr (const trpgLightAttr &)
 
bool GetNumLightAttrs (int &) const
 
const trpgLightAttrGetLightAttrRef (int) const
 
bool isValid (void) const
 
void Reset (void)
 
bool Write (trpgWriteBuffer &)
 
bool Read (trpgReadBuffer &)
 
bool Print (trpgPrintBuffer &) const
 
trpgLightTableoperator= (const trpgLightTable &)
 
LightMapTypegetLightMap ()
 
- 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
 
virtual TeAttrHdl GetHandle () const
 
virtual void SetHandle (TeAttrHdl hdl)
 

Protected Attributes

LightMapType lightMap
 
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
 
- Protected Attributes inherited from trpgCheckable
bool valid
 
TeAttrHdl handle
 
bool writeHandle
 

Member Typedef Documentation

Constructor & Destructor Documentation

trpgLightTable::trpgLightTable ( void  )

Default constructor.

trpgLightTable::trpgLightTable ( const trpgLightTable )

Copy constructor.

trpgLightTable::~trpgLightTable ( void  )

Destructor.

Member Function Documentation

int trpgLightTable::AddLightAttr ( const trpgLightAttr )

Adds the given light attrib to the table and increments the total light attrib count.

int trpgLightTable::FindAddLightAttr ( const trpgLightAttr )
bool trpgLightTable::GetNumLightAttrs ( int ) const

Returns the number of light attrib in this table.

const trpgLightAttr* trpgLightTable::GetLightAttrRef ( int  ) const

Returns a pointer to a light attrib from a given index.

bool trpgLightTable::isValid ( void  ) const

Validity check.

void trpgLightTable::Reset ( void  )
virtual

Resets the contents back to empty.

Implements trpgReadWriteable.

bool trpgLightTable::Write ( trpgWriteBuffer )
virtual

Writes this class to a write buffer.

Implements trpgReadWriteable.

bool trpgLightTable::Read ( trpgReadBuffer )
virtual

Reads this class from a read buffer.

Reimplemented from trpgReadWriteable.

bool trpgLightTable::Print ( trpgPrintBuffer ) const
virtual

Prints this class to a print buffer.

Reimplemented from trpgReadWriteable.

trpgLightTable& trpgLightTable::operator= ( const trpgLightTable )

operator

LightMapType* trpgLightTable::getLightMap ( )
inline

Member Data Documentation

LightMapType trpgLightTable::lightMap
protected

Here we store the light attributes.


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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)