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
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. More...
 
- Public Member Functions inherited from trpgTileTable
 trpgTileTable ()
 
 ~trpgTileTable (void)
 
void SetMode (TileMode)
 Set the tile storage mode: external or local. More...
 
void SetNumLod (int numLod)
 Set the total number of LODs For version 2.1 only lod 0 is stored in the table. More...
 
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. More...
 
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. More...
 
bool GetMode (TileMode &) const
 Local or external tiles. More...
 
bool GetTile (int x, int y, int lod, trpgwAppAddress &, float32 &min, float32 &max) const
 Get the disk reference (local) More...
 
bool isValid (void) const
 Validity check. More...
 
void Reset (void)
 Reads this class from a read buffer. 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...
 
void SetCurrentBlock (int row, int col, bool local)
 SetCurrentBlock is used in two cases: 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)
 

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
 
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
 
- Protected Attributes inherited from trpgCheckable
bool valid
 
TeAttrHdl handle
 
bool writeHandle
 

Constructor & Destructor Documentation

trpgTileTable1_0::trpgTileTable1_0 ( const trpgTileTable )

Member Function Documentation

bool trpgTileTable1_0::Write ( trpgWriteBuffer )
virtual

Can write old style tile table.

Implements trpgReadWriteable.


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)