Public Member Functions |
| | 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 | 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.
|
| void | SetCurrentBlock (int row, int col, bool local) |
| | SetCurrentBlock is used in two cases:
|
| | trpgReadWriteable () |
| const char * | getErrMess () const |
| | trpgCheckable (void) |
| virtual | ~trpgCheckable (void) |
| virtual TeAttrHdl | GetHandle () const |
| virtual void | SetHandle (TeAttrHdl hdl) |
Member Enumeration Documentation
Tiles can be stored individually (External and ExternalSaved) or in grouped files (Local).
ExternalSaved still have an entry in the table. In this case the addess data is not valid.
- Enumerator:
| Local |
|
| External |
|
| ExternalSaved |
|
Constructor & Destructor Documentation
| trpgTileTable::trpgTileTable |
( |
| ) |
|
| trpgTileTable::~trpgTileTable |
( |
void |
| ) |
|
Member Function Documentation
| void trpgTileTable::SetMode |
( |
TileMode |
| ) |
|
Set the tile storage mode: external or local.
| void trpgTileTable::SetNumLod |
( |
int |
numLod | ) |
|
Set the total number of LODs For version 2.1 only lod 0 is stored in the table.
| void trpgTileTable::SetNumTiles |
( |
int |
numX, |
|
|
int |
numY, |
|
|
int |
lod |
|
) |
| |
Set the number of tiles in each dimenion for each terrain LOD This must agree with trpgHeader.
Set the external address of a given tile as well as its Z value.
Get the disk reference (local)
| bool trpgTileTable::isValid |
( |
void |
| ) |
const |
| void trpgTileTable::Reset |
( |
void |
| ) |
|
|
virtual |
| void trpgTileTable::SetCurrentBlock |
( |
int |
row, |
|
|
int |
col, |
|
|
bool |
local |
|
) |
| |
|
inline |
SetCurrentBlock is used in two cases:
- When building a block specific tile archive (MMB and non-MMB). (local is TRUE)
- When merging several blocks into memory for visualization. (local is FALSE)
Member Data Documentation
| std::vector<LodInfo> trpgTileTable::lodInfo |
|
protected |
| int trpgTileTable::currentRow |
|
protected |
| int trpgTileTable::currentCol |
|
protected |
| bool trpgTileTable::localBlock |
|
protected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.vrf4-6-branch/include/osgdb_vrftxp/trpage_geom.h