|
| | trpgwArchive (char *baseDir, char *name, trpg2dPoint &ll, trpg2dPoint &ur, int majorVer=TRPG_VERSION_MAJOR, int minorVer=TRPG_VERSION_MINOR) |
| |
| virtual void | Init (char *baseDir, char *name, trpg2dPoint &ll, trpg2dPoint &ur, int majorVer=TRPG_VERSION_MAJOR, int minorVer=TRPG_VERSION_MINOR) |
| |
| | trpgwArchive (trpgEndian ness=LittleEndian, TileMode tileMode=TileLocal, int majorVer=TRPG_VERSION_MAJOR, int minorVer=TRPG_VERSION_MINOR) |
| |
| virtual void | Init (trpgEndian ness=LittleEndian, TileMode tileMode=TileLocal, int majorVer=TRPG_VERSION_MAJOR, int minorVer=TRPG_VERSION_MINOR) |
| |
| | trpgwArchive (int) |
| |
| virtual | ~trpgwArchive (void) |
| |
| virtual void | SetMaxTileFileLength (int len) |
| |
| virtual bool | SetHeader (const trpgHeader &) |
| |
| virtual bool | SetMaterialTable (const trpgMatTable &) |
| |
| virtual bool | SetTextureTable (const trpgTexTable &) |
| |
| virtual bool | SetModelTable (const trpgModelTable &) |
| |
| virtual bool | SetLightTable (const trpgLightTable &) |
| |
| virtual bool | SetRangeTable (const trpgRangeTable &) |
| |
| virtual bool | SetLabelPropertyTable (const trpgLabelPropertyTable &) |
| |
| virtual bool | SetSupportStyleTable (const trpgSupportStyleTable &) |
| |
| virtual bool | SetTextStyleTable (const trpgTextStyleTable &) |
| |
| virtual trpgHeader * | GetHeader () |
| |
| virtual trpgMatTable * | GetMatTable () |
| |
| virtual trpgTexTable * | GetTextureTable () |
| |
| virtual trpgModelTable * | GetModelTable () |
| |
| virtual trpgLightTable * | GetLightTable () |
| |
| virtual trpgRangeTable * | GetRangeTable () |
| |
| virtual trpgLabelPropertyTable * | GetLabelPropertyTable () |
| |
| virtual trpgTextStyleTable * | GetTextStyleTable () |
| |
| virtual trpgSupportStyleTable * | GetSupportStyleTable () |
| |
| virtual bool | IncrementTileFile (void) |
| |
| virtual bool | DesignateTileFile (int) |
| |
| virtual bool | OpenFile (const char *, const char *) |
| |
| virtual void | CloseFile (void) |
| |
| virtual bool | WriteHeader (void) |
| |
| virtual bool | CheckpointHeader (void) |
| |
| virtual bool | WriteTile (unsigned int, unsigned int, unsigned int, float zmin, float zmax, const trpgMemWriteBuffer *, const trpgMemWriteBuffer *, int32 &fileId, int32 &fileOffset) |
| |
| bool | isValid (void) const |
| |
| const char * | getErrMess () const |
| |
| char * | getDir (void) |
| |
| virtual trpgwImageHelper * | GetNewWImageHelper (trpgEndian ness, char *dir, trpgTexTable &) |
| |
| virtual trpgwAppFile * | GetNewWAppFile (trpgEndian inNess, const char *fileName, bool reuse=false) |
| |
| virtual trpgr_Archive * | GetArchiveReader () |
| |
| virtual int32 | WriteHeaderData (const char *dataPtr, int32 length, FILE *filehandle) |
| |
| virtual int32 | GetMagicNumber () |
| |
| | trpgCheckable (void) |
| |
| virtual | ~trpgCheckable (void) |
| |
| bool | isValid (void) const |
| |
| virtual TeAttrHdl | GetHandle () const |
| |
| virtual void | SetHandle (TeAttrHdl hdl) |
| |
Tiles can be stored as individual files (External) or grouped together (Local)
| Enumerator |
|---|
| TileLocal |
|
| TileExternal |
|
| TileExternalSaved |
|
real constructor work done in Init(...) now for quasi-virtual ctor action. Add data to an existing archive
Start an archive from scratch.
| trpgwArchive::trpgwArchive |
( |
int |
| ) |
|
|
inline |
dummy constructor, does nothing so subclasses can have more control
| virtual trpgwArchive::~trpgwArchive |
( |
void |
| ) |
|
|
virtual |
| virtual void trpgwArchive::SetMaxTileFileLength |
( |
int |
len | ) |
|
|
virtual |
Set the maximum length for a tile file (if using them) This is only a suggestion for when to stop appending.
Set functions. Have to fill all these out before writing.
Get functions. If we're doing a regenerate we need to get at these.
| virtual bool trpgwArchive::IncrementTileFile |
( |
void |
| ) |
|
|
virtual |
| virtual bool trpgwArchive::DesignateTileFile |
( |
int |
| ) |
|
|
virtual |
| virtual bool trpgwArchive::OpenFile |
( |
const char * |
, |
|
|
const char * |
|
|
) |
| |
|
virtual |
Write functions. For now, the header is written last.
| virtual void trpgwArchive::CloseFile |
( |
void |
| ) |
|
|
virtual |
| virtual bool trpgwArchive::WriteHeader |
( |
void |
| ) |
|
|
virtual |
| virtual bool trpgwArchive::CheckpointHeader |
( |
void |
| ) |
|
|
virtual |
| bool trpgwArchive::isValid |
( |
void |
| ) |
const |
virtual bool WriteModel(unsigned int,trpgMemWriteBuffer &);
| const char* trpgwArchive::getErrMess |
( |
| ) |
const |
| char* trpgwArchive::getDir |
( |
void |
| ) |
|
|
inline |
| virtual int32 trpgwArchive::WriteHeaderData |
( |
const char * |
dataPtr, |
|
|
int32 |
length, |
|
|
FILE * |
filehandle |
|
) |
| |
|
virtual |
| virtual int32 trpgwArchive::GetMagicNumber |
( |
| ) |
|
|
inlinevirtual |
| bool trpgwArchive::isRegenerate |
|
protected |
Set if we're adding to an existing archive.
| int trpgwArchive::majorVersion |
|
protected |
| int trpgwArchive::minorVersion |
|
protected |
| char trpgwArchive::dir[1024] |
|
protected |
Directory where we're doing all this.
These are passed in
| int trpgwArchive::tileFileCount |
|
protected |
| std::vector<TileFile> trpgwArchive::tileFiles |
|
protected |
| int trpgwArchive::maxTileFileLen |
|
protected |
This offset is used when we're adding to an existing archive.
| bool trpgwArchive::firstHeaderWrite |
|
protected |
| char trpgwArchive::errMess[512] |
|
mutableprotected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-1-branch/include/osgdb_vrftxp/trpage_write.h