|
| | trpgHeader (void) |
| |
| virtual | ~trpgHeader (void) override |
| |
| void | SetVersion (int major, int minor) |
| |
| void | SetDbVersion (int major, int minor) |
| |
| void | SetTileSize (int lod, const trpg2dPoint &size) |
| |
| void | SetOrigin (const trpg3dPoint &) |
| |
| void | SetExtents (const trpg2dPoint &sw, const trpg2dPoint &ne) |
| |
| void | SetTileOriginType (trpgTileType) |
| |
| void | SetNumLods (int) |
| |
| void | SetLodSize (int lod, const trpg2iPoint &) |
| |
| void | SetLodSize (const trpg2iPoint *) |
| |
| void | SetLodRange (int, float64) |
| |
| void | SetLodRange (const float64 *) |
| |
| void | AddLod (const trpg2iPoint &size, const trpg2dPoint &ext, float64 range) |
| |
| void | SetLod (const trpg2iPoint &size, const trpg2dPoint &ext, float64 range, unsigned int lod) |
| |
| void | SetMaxGroupID (int) |
| |
| int | AddGroupID (void) |
| |
| bool | isValid (void) const |
| |
| virtual void | Reset (void) override |
| |
| bool | GetVersion (int &, int &) const |
| |
| bool | GetDbVersion (int &, int &) const |
| |
| bool | GetTileSize (int, trpg2dPoint &) const |
| |
| bool | GetOrigin (trpg3dPoint &) const |
| |
| bool | GetExtents (trpg2dPoint &sw, trpg2dPoint &ne) const |
| |
| bool | GetTileOriginType (trpgTileType &) const |
| |
| bool | GetMaxGroupID (int &) const |
| |
| bool | GetNumLods (int32 &) const |
| |
| bool | GetLodSize (int32, trpg2iPoint &) const |
| |
| bool | GetLodRange (int32, float64 &) const |
| |
| virtual bool | Write (trpgWriteBuffer &) override |
| |
| virtual bool | Read (trpgReadBuffer &) override |
| |
| virtual bool | Print (trpgPrintBuffer &) const override |
| |
| bool | ReadLodInfo (trpgReadBuffer &) |
| |
| void | SetMaster (bool isMaster) |
| |
| bool | GetIsMaster () const |
| |
| void | SetLocal (bool isLocal) |
| |
| bool | GetIsLocal () const |
| |
| void | SetBlocks (int rows, int cols) |
| |
| void | GetBlocks (int &rows, int &cols) |
| |
| | trpgReadWriteable () |
| |
| const char * | getErrMess () const |
| |
| | trpgCheckable (void) |
| |
| virtual | ~trpgCheckable (void) |
| |
| bool | isValid (void) const |
| |
| virtual TeAttrHdl | GetHandle () const |
| |
| virtual void | SetHandle (TeAttrHdl hdl) |
| |
| Enumerator |
|---|
| DatabaseLocal |
|
| Absolute |
|
| TileLocal |
|
| trpgHeader::trpgHeader |
( |
void |
| ) |
|
| virtual trpgHeader::~trpgHeader |
( |
void |
| ) |
|
|
overridevirtual |
| void trpgHeader::SetVersion |
( |
int |
major, |
|
|
int |
minor |
|
) |
| |
Set the TerraPage version info.
| void trpgHeader::SetDbVersion |
( |
int |
major, |
|
|
int |
minor |
|
) |
| |
Set the database version info.
Origin defaults to 0,0,0.
2D archive extents. Must be set.
How the coordinates are treated with respect to real world values.
| void trpgHeader::SetNumLods |
( |
int |
| ) |
|
| void trpgHeader::SetLodRange |
( |
const float64 * |
| ) |
|
Increase the number of terrain LODs, adding a new one with the given size and range.
Set details for an LOD, resizing if necessary.
| void trpgHeader::SetMaxGroupID |
( |
int |
| ) |
|
Keep track of the maximum assigned group IDs (for tile paging)
| int trpgHeader::AddGroupID |
( |
void |
| ) |
|
| bool trpgHeader::isValid |
( |
void |
| ) |
const |
| virtual void trpgHeader::Reset |
( |
void |
| ) |
|
|
overridevirtual |
| bool trpgHeader::GetVersion |
( |
int & |
, |
|
|
int & |
|
|
) |
| const |
TerraVista version information is two integers.
| bool trpgHeader::GetDbVersion |
( |
int & |
, |
|
|
int & |
|
|
) |
| const |
Database version information is user defined. Put whatever you want here.
| bool trpgHeader::GetMaxGroupID |
( |
int & |
| ) |
const |
| bool trpgHeader::GetNumLods |
( |
int32 & |
| ) |
const |
Read/Write functions.
Writes this class to a write buffer
Implements trpgReadWriteable.
| void trpgHeader::SetMaster |
( |
bool |
isMaster | ) |
|
|
inline |
| bool trpgHeader::GetIsMaster |
( |
| ) |
const |
|
inline |
| void trpgHeader::SetLocal |
( |
bool |
isLocal | ) |
|
|
inline |
| bool trpgHeader::GetIsLocal |
( |
| ) |
const |
|
inline |
| void trpgHeader::SetBlocks |
( |
int |
rows, |
|
|
int |
cols |
|
) |
| |
|
inline |
| void trpgHeader::GetBlocks |
( |
int & |
rows, |
|
|
int & |
cols |
|
) |
| |
|
inline |
| int trpgHeader::dbVerMinor |
|
protected |
| int trpgHeader::dbVerMajor |
|
protected |
| int trpgHeader::maxGroupID |
|
protected |
| std::vector<float64> trpgHeader::lodRanges |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-2-branch/include/osgdb_vrftxp/trpage_geom.h