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

Public Member Functions

 trpgTileTable1_0 (const trpgTileTable &)
bool Write (trpgWriteBuffer &)
 Can write old style tile table.
- Public Member Functions inherited from trpgTileTable
 trpgTileTable ()
 ~trpgTileTable (void)
void SetMode (TileMode)
 Set the tile storage mode: external or local.
void SetNumLod (int numLod)
 Set the total number of LODs For version 2.1 only lod 0 is stored in the table.
void SetNumTiles (int numX, int numY, int lod)
 Set the number of tiles in each dimenion for each terrain LOD This must agree with trpgHeader.
void SetTile (int x, int y, int lod, trpgwAppAddress &, float32 min, float32 max)
 Set the external address of a given tile as well as its Z value.
bool GetMode (TileMode &) const
 Local or external tiles.
bool GetTile (int x, int y, int lod, trpgwAppAddress &, float32 &min, float32 &max) const
 Get the disk reference (local)
bool isValid (void) const
 Validity check.
void Reset (void)
 Reads this class from a read buffer.
bool Read (trpgReadBuffer &)
 Reads this class from a read buffer.
bool Print (trpgPrintBuffer &) const
 Prints this class to a print buffer.
void SetCurrentBlock (int row, int col, bool local)
 SetCurrentBlock is used in two cases:
- 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)

Additional Inherited Members

- Public Types inherited from trpgTileTable
enum  TileMode { Local, External, ExternalSaved }
 Tiles can be stored individually (External and ExternalSaved) or in grouped files (Local). More...
- Protected Attributes inherited from trpgTileTable
TileMode mode
std::vector< LodInfolodInfo
int currentRow
int currentCol
bool localBlock

Constructor & Destructor Documentation

trpgTileTable1_0::trpgTileTable1_0 ( const trpgTileTable )

Member Function Documentation

bool trpgTileTable1_0::Write ( trpgWriteBuffer )
virtual

Can write old style tile table.

Reimplemented from trpgTileTable.


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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)