VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes
trpgTexTable Class Reference
Inheritance diagram for trpgTexTable:
Inheritance graph
[legend]

Public Types

typedef std::map< int,
trpgTexture
TextureMapType

Public Member Functions

 trpgTexTable (void)
 trpgTexTable (const trpgTexTable &)
 ~trpgTexTable (void)
void SetNumTextures (int)
int AddTexture (const trpgTexture &)
int FindAddTexture (const trpgTexture &)
void SetTexture (int texID, const trpgTexture &)
bool GetNumTextures (int &) const
 Returns the number of textures in this table.
bool GetTexture (int texID, trpgTexture &) const
 This returns the trpgTexture corresponding to the given ID (from a trpgMaterial)
const trpgTextureGetTextureRef (int) const
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.
trpgTexTableoperator= (const trpgTexTable &)
const trpgTextureFindByName (const char *name, int &texid) const
void SetCurrentBlock (int row, int col)
TextureMapTypegetTextureMap ()
- Public Member Functions inherited from trpgReadWriteable
 trpgReadWriteable ()
const chargetErrMess () const
- Public Member Functions inherited from trpgCheckable
 trpgCheckable (void)
virtual ~trpgCheckable (void)
virtual TeAttrHdl GetHandle () const
virtual void SetHandle (TeAttrHdl hdl)

Protected Attributes

TextureMapType textureMap
int currentRow
int currentCol
- 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

trpgTexTable::trpgTexTable ( void  )
trpgTexTable::trpgTexTable ( const trpgTexTable )
trpgTexTable::~trpgTexTable ( void  )

Member Function Documentation

void trpgTexTable::SetNumTextures ( int  )
int trpgTexTable::AddTexture ( const trpgTexture )
int trpgTexTable::FindAddTexture ( const trpgTexture )
void trpgTexTable::SetTexture ( int  texID,
const trpgTexture  
)
bool trpgTexTable::GetNumTextures ( int &  ) const

Returns the number of textures in this table.

bool trpgTexTable::GetTexture ( int  texID,
trpgTexture  
) const

This returns the trpgTexture corresponding to the given ID (from a trpgMaterial)

const trpgTexture* trpgTexTable::GetTextureRef ( int  ) const
bool trpgTexTable::isValid ( void  ) const

Validity check.

Reimplemented from trpgCheckable.

void trpgTexTable::Reset ( void  )
virtual

Resets the contents back to empty.

Implements trpgReadWriteable.

bool trpgTexTable::Write ( trpgWriteBuffer )
virtual

Writes this class to a write buffer.

Implements trpgReadWriteable.

Reimplemented in trpgTexTable1_0.

bool trpgTexTable::Read ( trpgReadBuffer )
virtual

Reads this class from a read buffer.

Reimplemented from trpgReadWriteable.

Reimplemented in trpgTexTable1_0.

bool trpgTexTable::Print ( trpgPrintBuffer ) const
virtual

Prints this class to a print buffer.

Reimplemented from trpgReadWriteable.

trpgTexTable& trpgTexTable::operator= ( const trpgTexTable )
const trpgTexture* trpgTexTable::FindByName ( const char name,
int &  texid 
) const
void trpgTexTable::SetCurrentBlock ( int  row,
int  col 
)
inline
TextureMapType* trpgTexTable::getTextureMap ( )
inline

Member Data Documentation

TextureMapType trpgTexTable::textureMap
protected
int trpgTexTable::currentRow
protected
int trpgTexTable::currentCol
protected

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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)