Public Member Functions |
| | trpgManagedTile (void) |
| void | Reset (void) |
| | Called to clear any info out of this tile.
|
| bool | ParseTileHeader (trpgReadBuffer &) |
| bool | IsLoaded (void) |
| | Check if the tile is loaded (e.g. the header read in)
|
| bool | SetTileLoc (int x, int y, int lod) |
| bool | GetTileLoc (int &x, int &y, int &lod) const |
| | Get the tile location.
|
| void | SetTileAddress (const trpgwAppAddress &gAddr) |
| | In version 2.1 we no longer have the tile table to find the tiles, only by traversing the parent can it be found.
|
| void | SetTileAddress (int32 file, int32 offset) |
| const trpgwAppAddress & | GetTileAddress () const |
| const trpgTileHeader * | GetTileHead (void) |
| | Return a pointer to the tile header.
|
const std::vector
< trpgLocalMaterial > * | GetLocMatList (void) const |
| const trpgLocalMaterial * | GetLocMaterial (int id) const |
| void | SetLocalData (void *) |
| void * | GetLocalData (void) const |
| bool | SetMatData (int id, void *) |
| void * | GetMatData (int id) const |
| void | AddGroupID (int id) |
| const std::vector< int > * | GetGroupIDs (void) const |
| void | Print (trpgPrintBuffer &) |
| unsigned int | GetNbChildren () const |
| | Children info, will throw exception if child index is out of bound.
|
| bool | SetChildLocationInfo (int childIdx, int x, int y, const trpgwAppAddress &addr) |
| bool | SetChildLocationInfo (int childIdx, const TileLocationInfo &info) |
| const TileLocationInfo & | GetChildLocationInfo (int childIdx) const |
| bool | GetChildTileLoc (int childIdx, int &x, int &y, int &lod) const |
| const trpgwAppAddress & | GetChildTileAddress (int childIdx) const |
Constructor & Destructor Documentation
| trpgManagedTile::trpgManagedTile |
( |
void |
| ) |
|
Member Function Documentation
| void trpgManagedTile::Reset |
( |
void |
| ) |
|
Called to clear any info out of this tile.
| bool trpgManagedTile::IsLoaded |
( |
void |
| ) |
|
Check if the tile is loaded (e.g. the header read in)
| bool trpgManagedTile::SetTileLoc |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
lod |
|
) |
| |
| bool trpgManagedTile::GetTileLoc |
( |
int & |
x, |
|
|
int & |
y, |
|
|
int & |
lod |
|
) |
| const |
In version 2.1 we no longer have the tile table to find the tiles, only by traversing the parent can it be found.
So when we have this info, this is were to save it.
| void trpgManagedTile::SetTileAddress |
( |
int32 |
file, |
|
|
int32 |
offset |
|
) |
| |
Return a pointer to the tile header.
| void trpgManagedTile::SetLocalData |
( |
void * |
| ) |
|
| void* trpgManagedTile::GetLocalData |
( |
void |
| ) |
const |
| bool trpgManagedTile::SetMatData |
( |
int |
id, |
|
|
void * |
|
|
) |
| |
| void* trpgManagedTile::GetMatData |
( |
int |
id | ) |
const |
| void trpgManagedTile::AddGroupID |
( |
int |
id | ) |
|
| const std::vector<int>* trpgManagedTile::GetGroupIDs |
( |
void |
| ) |
const |
| unsigned int trpgManagedTile::GetNbChildren |
( |
| ) |
const |
|
inline |
Children info, will throw exception if child index is out of bound.
| bool trpgManagedTile::SetChildLocationInfo |
( |
int |
childIdx, |
|
|
int |
x, |
|
|
int |
y, |
|
|
const trpgwAppAddress & |
addr |
|
) |
| |
| const TileLocationInfo& trpgManagedTile::GetChildLocationInfo |
( |
int |
childIdx | ) |
const |
| bool trpgManagedTile::GetChildTileLoc |
( |
int |
childIdx, |
|
|
int & |
x, |
|
|
int & |
y, |
|
|
int & |
lod |
|
) |
| const |
| const trpgwAppAddress& trpgManagedTile::GetChildTileAddress |
( |
int |
childIdx | ) |
const |
Friends And Related Function Documentation
Member Data Documentation
| bool trpgManagedTile::isLoaded |
|
protected |
Set if a tile is currently loaded.
Tile Header associated with this tile.
| std::vector<void *> trpgManagedTile::localMatData |
|
protected |
Data to keep associated with each individual local material index.
| std::vector<int> trpgManagedTile::groupIDs |
|
protected |
Used to keep track of group IDs in this tile.
| void* trpgManagedTile::localData |
|
protected |
Local data (probably the top of the local scene graph)
What are the children: this to be used for version 2.1 and up.
Both vector should have the same size
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.tot/include/osgdb_vrftxp/trpage_managers.h