16 #ifndef _trpage_geom_h_
17 #define _trpage_geom_h_
55 void SetVersion(
int major,
int minor);
57 void SetDbVersion(
int major,
int minor);
69 typedef enum {DatabaseLocal,Absolute,TileLocal} trpgTileType;
71 void SetTileOriginType(trpgTileType);
87 void SetLodRange(
const float64 *);
95 void SetMaxGroupID(
int);
100 int AddGroupID(
void);
110 bool GetDbVersion(
int &,
int &)
const;
138 bool GetTileOriginType(trpgTileType &)
const;
144 bool GetMaxGroupID(
int &)
const;
156 bool GetNumLods(
int32 &)
const;
194 return ((flags &
ISMASTER)==ISMASTER);
208 return ((flags &
ISLOCAL)==ISLOCAL);
257 enum {Alpha,Blend,Decal,Modulate,AddDetail,ModulateDetail};
259 void SetEnvMode(
int);
262 MipmapBilinear, MipmapTrilinear, Nearest};
264 void SetMinFilter(
int);
266 void SetMagFilter(
int);
271 void SetWrap(
int,
int);
284 bool GetEnvMode(
int32 &)
const;
290 bool GetMinFilter(
int32 &)
const;
292 bool GetMagFilter(
int32 &)
const;
296 bool GetWrap(
int &,
int &)
const;
366 void SetShadeModel(
int);
371 enum {Front,Back,FrontAndBack};
373 void SetCullMode(
int);
375 enum {trNone,trAlways,Equal,GreaterThanOrEqual,GreaterThan,
379 LessThanOrEqual,LessThan,Never,NotEqual};
381 enum {
None,Always,Equal,GreaterThanOrEqual,GreaterThan,
382 LessThanOrEqual,LessThan,Never,NotEqual};
384 void SetAlphaFunc(
int);
391 void SetAutoNormal(
bool);
396 void SetNumTexture(
int);
410 void SetNumTiles(
int);
415 void SetIsBumpMap(
bool);
418 enum {TR_FID,TR_SMC,TR_STP,TR_SWC};
419 void SetAttr(
int attrCode,
int val);
432 bool GetShininess(
float64 &)
const;
435 bool GetShadeModel(
int &)
const;
437 bool GetPointSize(
float64 &)
const;
439 bool GetLineWidth(
float64 &)
const;
443 bool GetCullMode(
int &)
const;
448 bool GetAlphaFunc(
int &)
const;
450 bool GetAlphaRef(
float64 &)
const;
452 bool GetAutoNormal(
bool &)
const;
454 bool GetAlpha(
float64 &)
const;
462 bool GetNumTile(
int &)
const;
467 bool GetNumTexture(
int &)
const;
479 bool GetIsBumpMap(
bool &)
const;
482 bool GetAttr(
int attrCode,
int &val)
const;
549 trpg_Directional = 0x0008,
550 trpg_BackColor = 0x0010,
551 trpg_Reflective = 0x0020,
554 trpg_Flashing = 0x0100,
555 trpg_Rotating = 0x0200,
556 trpg_ClockWise = 0x0400,
557 trpg_AnimationMask = 0x0f00,
560 trpg_Perspective = 0x1000,
562 trpg_ZBuffer = 0x4000,
563 trpg_FogPunch = 0x8000,
564 trpg_PerformerMask = 0xf000
581 } LightDirectionality;
597 transparentPixelSize(0),transparentFallofExp(0),transparentScale(0),
598 transparentClamp(0),fogScale(0) {};
641 void SetFrontIntensity(
float64 );
647 void SetBackIntensity(
float64 );
653 void SetSMC(
int32 );
656 void SetFID(
int32 );
659 void SetFlags(
int32 );
668 void SetLobeRollAngle(
float64 );
671 void SetLobeFalloff(
float64 );
680 void SetRascalSignificance(
float64 );
689 void SetCalligraphicDrawOrder(
int32 );
692 void SetCalligraphicMinDefocus(
float64 );
695 void SetCalligraphicMaxDefocus(
float64 );
701 void SetPerformerFlags(
int32 );
704 void SetPerformerMinPixelSize(
float64 );
707 void SetPerformerMaxPixelSize(
float64 );
710 void SetPerformerActualSize(
float64 );
713 void SetPerformerTpPixelSize(
float64 );
716 void SetPerformerTpFalloffExp(
float64 );
719 void SetPerformerTpScale(
float64 );
722 void SetPerformerTpClamp(
float64 );
725 void SetPerformerFogScale(
float64 );
731 void SetAnimationPeriod(
float64 );
734 void SetAnimationPhaseDelay(
float64 );
737 void SetAnimationTimeOn(
float64 );
743 void SetAnimationFlags(
int32 );
746 void SetComment(
const char *);
753 void GetFrontIntensity(
float64& );
755 void GetBackIntensity(
float64& );
757 void GetSMC(
int32& );
758 void GetFID(
int32& );
759 void GetFlags(
int32& );
760 void GetHLobeAngle(
float64& );
761 void GetVLobeAngle(
float64& );
762 void GetLobeRollAngle(
float64& );
763 void GetLobeFalloff(
float64& );
766 void GetRascalSignificance(
float64& );
769 void GetCalligraphicDrawOrder(
int32& );
770 void GetCalligraphicMinDefocus(
float64& );
771 void GetCalligraphicMaxDefocus(
float64& );
773 void GetPerformerFlags(
int32& );
774 void GetPerformerMinPixelSize(
float64& );
775 void GetPerformerMaxPixelSize(
float64& );
776 void GetPerformerActualSize(
float64& );
777 void GetPerformerTpPixelSize(
float64& );
778 void GetPerformerTpFalloffExp(
float64& );
779 void GetPerformerTpScale(
float64& );
780 void GetPerformerTpClamp(
float64& );
781 void GetPerformerFogScale(
float64& );
783 void GetAnimationPeriod(
float64& );
784 void GetAnimationPhaseDelay(
float64& );
785 void GetAnimationTimeOn(
float64& );
787 void GetAnimationFlags(
int32& );
788 const char *GetComment();
855 void SetAttrIndex(
int);
861 void GetNumVertices(
uint32 &)
const;
868 bool GetVertices(
float64 *)
const;
869 bool GetVertices(
float32 *)
const;
873 void GetAttrIndex(
int &)
const;
925 bool GetNumLightAttrs(
int &)
const;
973 void SetCategory(
const char *cat,
const char *subCat);
979 void GetCategory(
char *cat,
int maxCatLen,
char *subCat,
int maxSubCatLen)
const;
982 void SetLodInfo(
double in,
double out);
986 void GetLodInfo(
double &in,
double &out)
const;
989 void SetPriority(
int);
996 void GetPriority(
int &)
const;
1062 bool GetRange(
int id,
trpgRange &)
const;
1127 void SetNumTable(
int);
1132 void SetNumMaterial(
int);
1145 int AddMaterial(
const trpgMaterial &,
bool lookForExisting=
true);
1159 bool GetNumTable(
int &)
const;
1164 bool GetNumMaterial(
int &)
const;
1170 bool GetMaterial(
int subTable,
int matID,
trpgMaterial &)
const;
1246 typedef enum {External,Local,Global,Template} ImageMode;
1277 void SetName(
const char *);
1280 bool GetName(
char *retStr,
int strLen)
const;
1284 void SetNumTile(
int);
1297 bool GetNumTile(
int &)
const;
1300 bool GetImageMode(ImageMode &)
const;
1304 bool GetImageType(ImageType &)
const;
1313 bool GetImageDepth(
int32 &depth)
const;
1316 bool GetIsMipmap(
bool &)
const;
1319 void SetImageMode(ImageMode);
1322 void SetImageType(ImageType);
1331 void SetIsMipmap(
bool);
1340 void SetNumMipmap(
int);
1343 void SetNumLayer(
int);
1347 bool GetNumLayer(
int &)
const;
1352 int32 CalcNumMipmaps()
const;
1355 int32 CalcTotalSize()
const;
1358 int32 MipLevelSize(
int miplevel);
1361 int32 MipLevelOffset(
int miplevel);
1411 void CalcMipLevelSizes();
1449 void SetNumTextures(
int);
1466 bool GetNumTextures(
int &)
const;
1489 const trpgTexture *FindByName(
const char *name,
int &texid)
const;
1548 void SetName(
const char *);
1557 void SetNumTiles(
int);
1565 bool GetType(
int &);
1568 bool GetName(
char *ret,
int strLen)
const;
1575 bool GetNumTiles(
int &)
const;
1625 void SetNumModels(
int);
1637 bool GetNumModels(
int &)
const;
1640 bool GetModel(
int modID,
trpgModel &)
const;
1660 bool FindByName(
const char *name,
unsigned int &mId);
1692 void SetMode(TileMode);
1695 void SetNumLod(
int numLod);
1698 void SetNumTiles(
int numX,
int numY,
int lod);
1703 bool GetMode(TileMode &)
const;
1770 void SetBaseMaterial(
int32 matSubTable,
int32 matID);
1785 bool GetBaseMaterial(
int32 &matSubTable,
int32 &matID)
const;
1821 bool GetNumLocals(
int &)
const;
1905 void AddMaterial(
int);
1916 void SetDate(
int32);
1920 void SetMaterial(
int no,
int id);
1924 void SetModel(
int no,
int id);
1927 bool GetNumMaterial(
int32 &)
const;
1930 bool GetMaterial(
int32 nth,
int32 &matID)
const;
1932 bool GetNumModel(
int32 &)
const;
1937 bool GetNumLocalMaterial(
int32 &)
const;
1948 const std::vector<trpgLocalMaterial> *GetLocalMaterialList(
void)
const;
1950 bool GetDate(
int32 &)
const;
2084 void SetPrimType(PrimType type);
2087 void SetPrimLengths(
int,
const int *);
2091 void AddPrimLength(
int);
2100 void SetNumPrims(
int);
2105 void SetNumMaterial(
int);
2116 void SetMaterial(
int which,
int matID,
bool isLocal=
false);
2119 void SetMaterials(
int32 numMat,
const int32 *matIDs);
2123 int AddMaterial(
int matID);
2138 void SetVertices(
int num,
const float32 *);
2139 void SetVertices(
int num,
const float64 *);
2147 typedef enum {Overall,PerPrim,PerVertex} BindType;
2155 void SetNormals(
int num,BindType
bind,
const float32 *);
2156 void SetNormals(
int num,BindType
bind,
const float64 *);
2165 typedef enum {Ambient,Diffuse,
Specular,Emission} ColorType;
2171 void SetColors(
int num,ColorType type,BindType
bind,
const trpgColor *);
2180 void SetTexCoords(
int num,BindType
bind,
const float32 *);
2181 void SetTexCoords(
int num,BindType
bind,
const float64 *);
2183 void AddTexCoords(BindType
bind);
2187 void AddTexCoord(DataType type,
trpg2dPoint &,
int n=0);
2191 void AddTexCoord(DataType type,std::vector<trpg2dPoint> &pts);
2195 void SetEdgeFlags(
int num,
const char *);
2199 bool GetPrimType(PrimType &type)
const;
2204 bool GetNumPrims(
int &num)
const;
2212 bool GetPrimLengths(
int *lenArray)
const;
2217 bool GetNumMaterial(
int &num)
const;
2223 bool GetMaterial(
int num,
int32 &matID,
bool &isLocal)
const;
2228 bool GetNumVertex(
int &num)
const;
2235 bool GetVertices(
float32 *)
const;
2236 bool GetVertices(
float64 *)
const;
2244 bool GetNumNormal(
int &num)
const;
2250 bool GetNormals(
float32 *)
const;
2251 bool GetNormals(
float64 *)
const;
2257 bool GetNumColorSets(
int &num)
const;
2267 bool GetNumTexCoordSets(
int &)
const;
2281 bool GetNumEdgeFlag(
int &num)
const;
2284 bool GetEdgeFlags(
char *)
const;
2346 virtual void Reset(
void);
2349 virtual void SetNumChild(
int);
2351 virtual int AddChild(
void);
2354 virtual bool GetNumChild(
int &)
const;
2357 virtual void SetID(
int);
2359 virtual bool GetID(
int &)
const;
2362 void SetName(
const char* );
2364 const char* GetName(
void)
const;
2367 virtual bool isValid(
void)
const;
2450 void SetParentID(
int);
2452 bool GetParentID(
int &)
const;
2456 void SetChildPos(
int);
2461 bool GetChildPos(
int &)
const;
2485 void SetTileLoc(
int gx,
int gy,
int glod);
2488 bool GetTileLoc(
int &gx,
int &gy,
int &glod)
const;
2493 void SetTileZValue(
float gZmin,
float gZmax);
2494 bool GetTileAddress(
int32& file,
int32& offset)
const;
2496 bool GetTileZValue(
float& gZmin,
float& gZmax)
const;
2558 bool GetType(
int &)
const;
2568 bool GetMode(
int &)
const;
2634 void SetNumChild(
int);
2636 void SetLOD(
double in,
double out,
double width);
2641 bool GetNumChild(
int &)
const;
2644 bool GetLOD(
double &in,
double &out,
double &width)
const;
2650 bool GetID(
int &)
const;
2653 void SetName(
const char* );
2655 const char* GetName(
void)
const;
2658 void SetRangeIndex(
int ri);
2660 bool GetRangeIndex(
int &ri)
const;
2729 void SetMatrix(
const float64 *);
2732 bool GetMatrix(
float64 *)
const;
2774 void SetMatrix(
const float64 *);
2777 bool GetModel(
int32 &)
const;
2779 bool GetMatrix(
float64 *)
const;
2810 void SetMaterial(
int);
2812 int GetMaterial(
void)
const;
2815 void SetFont(std::string &);
2817 const std::string *
GetFont(
void)
const;
2822 bool GetBold(
void)
const;
2825 void SetItalic(
bool);
2827 bool GetItalic(
void)
const;
2830 void SetUnderline(
bool);
2832 bool GetUnderline(
void)
const;
2835 void SetCharacterSize(
float32);
2837 float32 GetCharacterSize(
void)
const;
2874 int GetNumStyle(
void)
const;
2912 typedef enum {Line,Cylinder,MaxSupportType} SupportType;
2915 void SetType(SupportType);
2922 SupportType GetType(
void)
const;
2925 void SetMaterial(
int);
2927 int GetMaterial(
void)
const;
2963 int GetNumStyle(
void)
const;
3003 void SetType(LabelType);
3011 LabelType GetType(
void)
const;
3014 void SetFontStyle(
int);
3016 int GetFontStyle(
void)
const;
3019 void SetSupport(
int);
3021 int GetSupport(
void)
const;
3058 int GetNumProperty(
void)
const;
3095 typedef enum {Left,Center,
Right,MaxAlignmentType} AlignmentType;
3098 void SetProperty(
int);
3099 int GetProperty()
const;
3104 void SetText(
const std::string &);
3111 const std::string *GetText(
void)
const;
3114 void SetAlignment(AlignmentType);
3118 AlignmentType GetAlignment(
void)
const;
3123 int GetTab(
void)
const;
3135 void SetDesc(
const std::string &);
3141 const std::string *GetDesc(
void)
const;
3144 void SetURL(
const std::string &);
3149 const std::string *GetURL(
void)
const;
3152 void SetTabSize(
int);
3154 int GetTabSize(
void)
const;
3167 const std::vector<trpg3dPoint> *GetSupports(
void)
const;
Definition: trpage_geom.h:2076
Definition: trpage_geom.h:570
int GetNumRanges()
Get the number of entries in the table.
Definition: trpage_geom.h:1065
int primType
Definition: trpage_geom.h:2299
int numLayer
Number of layers (for RGBX)
Definition: trpage_geom.h:1398
Definition: trpage_geom.h:2951
int type
Definition: trpage_geom.h:2582
char * commentStr
Definition: trpage_geom.h:835
int alphaFunc
Definition: trpage_geom.h:509
std::vector< trpgColorInfo > colors
Definition: trpage_geom.h:2308
MCM no longer.
Definition: trpage_geom.h:1261
int numMat
Definition: trpage_geom.h:1194
Definition: trpage_geom.h:1272
LabelType type
Definition: trpage_geom.h:3038
#define TRPG_NOMERGE_VERSION_MINOR
Definition: trpage_io.h:54
Definition: trpage_geom.h:578
TextureMapType * getTextureMap()
Definition: trpage_geom.h:1498
Simple arrow.
Definition: DtTacticalGraphicUtilities.h:46
Definition: trpage_geom.h:3095
Definition: trpage_geom.h:381
trpg3dPoint vector
Definition: trpage_geom.h:617
trpgColor specular
Definition: trpage_geom.h:502
int32 sy
Definition: trpage_geom.h:1790
int bind
This should always be set to PerVertex.
Definition: trpage_geom.h:2030
trpgllong trpgDiskRef
Basic data types.
Definition: trpage_io.h:260
This is not a texture format. It's here to keep the numbering consistent.
Definition: trpage_geom.h:1260
trpg3dPoint location
Definition: trpage_geom.h:3188
int currentCol
Definition: trpage_geom.h:1747
SupportStyleMapType supportStyleMap
Definition: trpage_geom.h:2983
std::vector< float > normDataFloat
Definition: trpage_geom.h:2306
int supportId
Definition: trpage_geom.h:3037
Definition: trpage_geom.h:1254
Definition: trpage_geom.h:261
int magFilter
Definition: trpage_geom.h:314
std::vector< int > primLength
Definition: trpage_geom.h:2301
std::vector< double > vertDataDouble
Definition: trpage_geom.h:2304
float64 lineWidth
Definition: trpage_geom.h:507
std::string text
Definition: trpage_geom.h:3181
float64 lobeFalloff
Definition: trpage_geom.h:827
#define DT_DLL_osgdb_vrftxp
Contains DLL export macros.
Definition: osgdb_vrftxpDefines.h:25
Definition: trpage_geom.h:2024
Definition: trpage_geom.h:1763
void SetCurrentBlock(int row, int col, bool local)
SetCurrentBlock is used in two cases:
Definition: trpage_geom.h:1723
int tabSize
Definition: trpage_geom.h:3183
Definition: trpage_geom.h:1538
Definition: trpage_geom.h:2766
int sizeY
Definition: trpage_geom.h:1389
int matId
Definition: trpage_geom.h:2855
char * category
Definition: trpage_geom.h:1018
IMGUI_API const char * GetVersion()
int useCount
Definition: trpage_geom.h:1386
LightDirectionality directionality
Definition: trpage_geom.h:815
Definition: trpage_geom.h:2082
ImageMode
Definition: trpage_geom.h:1246
int swc
Definition: trpage_geom.h:520
Definition: trpage_geom.h:2543
float zmin
Definition: trpage_geom.h:2514
Definition: trpage_geom.h:2998
TileMode mode
Definition: trpage_geom.h:1730
int fid
Definition: trpage_geom.h:517
LightMapType * getLightMap()
Definition: trpage_geom.h:949
IMGUI_API ImGuiID GetID(const char *str_id)
This is a bit ugly, but we can't change the size of the texture record without breaking existing read...
Definition: trpage_geom.h:1269
Definition: trpage_geom.h:1271
trpg3dPoint center
Definition: trpage_geom.h:2675
Definition: trpage_geom.h:1544
Definition: trpage_geom.h:812
voidpf void uLong size
Definition: ioapi.h:39
Definition: trpage_geom.h:515
float32 scale
Definition: trpage_geom.h:3184
Definition: trpage_geom.h:2904
Definition: trpage_geom.h:1262
std::vector< int > storageSize
Sizes of each level. This is important for compressed textures in particular, which may have random s...
Definition: trpage_geom.h:1402
Definition: trpage_geom.h:571
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
int type
Definition: trpage_geom.h:1595
Definition: trpage_geom.h:2131
std::vector< LodInfo > lodInfo
Definition: trpage_geom.h:1743
std::vector< trpgTextureEnv > texEnvs
Definition: trpage_geom.h:523
Definition: trpage_geom.h:1990
LightQuality
Light Quality.
Definition: trpage_geom.h:584
Definition: trpage_geom.h:1438
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque
int numY
Definition: trpage_geom.h:1735
float64 pointSize
Definition: trpage_geom.h:506
void SetCurrentBlock(int row, int col)
Definition: trpage_geom.h:1490
const StyleMapType * getStyleMap() const
Definition: trpage_geom.h:2891
trpgColor frontColor
Definition: trpage_geom.h:816
std::map< int, trpgRange > RangeMapType
Definition: trpage_geom.h:1091
RangeMapType rangeMap
Definition: trpage_geom.h:1092
int currentRow
Definition: trpage_geom.h:1507
Definition: trpage_geom.h:2081
Definition: trpage_geom.h:532
Definition: trpage_geom.h:1255
trpg3dPoint center
Definition: trpage_geom.h:2584
Definition: trpage_geom.h:1055
Definition: trpage_geom.h:2127
float64 alpha
Definition: trpage_geom.h:510
bool Read(trpgReadBuffer &)
Reads this class from a read buffer.
Definition: trpage_geom.h:589
float64 lobeRollAngle
Definition: trpage_geom.h:826
std::map< int, trpgTexture > TextureMapType
Definition: trpage_geom.h:1497
unsigned int uint32
Definition: trpage_sys.h:80
LightMapType lightMap
Here we store the light attributes.
Definition: trpage_geom.h:953
Definition: trpage_geom.h:2126
std::vector< float > elev_max
Definition: trpage_geom.h:1741
char * name
Definition: trpage_geom.h:1596
std::vector< trpg3dPoint > lightPoints
Here we store the light locations.
Definition: trpage_geom.h:895
Definition: trpage_geom.h:588
int32 flags
Definition: trpage_geom.h:618
PerformerAttr performerAttr
Definition: trpage_geom.h:833
std::list< DtLocation3D > Points
Definition: luaTerrainReasoningJob.h:290
std::map< int, trpgTextStyle > StyleMapType
Definition: trpage_geom.h:2890
int minFilter
Definition: trpage_geom.h:313
Definition: trpage_geom.h:1616
StyleMapType styleMap
Definition: trpage_geom.h:2895
Definition: trpage_geom.h:1264
std::vector< trpgColor > data
Definition: trpage_geom.h:2006
Definition: trpage_geom.h:364
Definition: trpage_geom.h:1732
int numPrim
Definition: trpage_geom.h:2300
float64 maxDefocus
Definition: trpage_geom.h:627
Definition: trpage_geom.h:1226
float64 ambientIntensity
Definition: trpage_geom.h:828
int envMode
Definition: trpage_geom.h:312
ImageType type
Type of texture (only valid if ImageMode is Local or Template)
Definition: trpage_geom.h:1382
int index
Definition: trpage_geom.h:896
Definition: trpage_geom.h:249
trpgColor color
Definition: trpage_geom.h:499
float64 backIntensity
Definition: trpage_geom.h:819
float64 alphaRef
Definition: trpage_geom.h:511
int32 destWidth
Source (ex,ey) in pixels.
Definition: trpage_geom.h:1792
Definition: trpage_geom.h:844
int numTable
Definition: trpage_geom.h:1193
int priority
Definition: trpage_geom.h:1020
MaterialMapType materialMap
Definition: trpage_geom.h:1196
#define TRPG_NOMERGE_VERSION_MAJOR
defined values for the version that doesn't need a merge
Definition: trpage_io.h:53
Definition: trpage_geom.h:2476
int32 numTile
Definition: trpage_geom.h:514
float64 verticalLobeAngle
Definition: trpage_geom.h:825
int currentCol
Definition: trpage_geom.h:1508
int numChild
Definition: trpage_geom.h:2377
std::map< int, trpgModel > ModelMapType
Definition: trpage_geom.h:1661
Definition: trpage_geom.h:579
std::map< int, trpgLabelProperty > LabelPropertyMapType
Definition: trpage_geom.h:3077
virtual bool isValid(void) const
Validity check.
binderNoArgs< _Fn > bind(const _Fn &_Func, const _Ty &_Left)
Definition: DtSTLUtilities.h:76
Definition: trpage_geom.h:1270
int32 ey
Definition: trpage_geom.h:1791
Definition: trpage_geom.h:2992
double width
Definition: trpage_geom.h:2674
std::vector< trpgwAppAddress > addr
Storage sizes for each mipmap level. Important for compressed textures. vector<int> storageSize; This...
Definition: trpage_geom.h:1848
LightDirectionality
Light Directionality.
Definition: trpage_geom.h:576
Definition: trpage_geom.h:2340
Definition: trpage_geom.h:1265
std::vector< int > texids
Definition: trpage_geom.h:522
Definition: trpage_io.h:265
LabelType
Definition: trpage_geom.h:2998
int propertyId
Definition: trpage_geom.h:3180
trpgwAppAddress addr
Address is used only for Local textures.
Definition: trpage_geom.h:1408
Definition: trpage_geom.h:2533
int type
Definition: trpage_geom.h:1998
Definition: trpage_geom.h:2626
int parentID
Definition: trpage_geom.h:2473
Definition: trpage_io.h:299
LightType
Definition: DtLight.h:30
Definition: trpage_geom.h:2862
trpgColor backColor
Definition: trpage_geom.h:818
Definition: trpage_geom.h:2441
int bind
Definition: trpage_geom.h:2002
int32 flags
Definition: trpage_geom.h:823
int wrapT
Definition: trpage_geom.h:315
Struct for Calligraphic Lights.
Definition: trpage_geom.h:622
ModelMapType modelsMap
Definition: trpage_geom.h:1668
int cullMode
Definition: trpage_geom.h:508
float64 timeOn
Definition: trpage_geom.h:616
SupportType type
Definition: trpage_geom.h:2943
trpgColor emission
Definition: trpage_geom.h:503
AlignmentType
Definition: trpage_geom.h:3095
char * subCategory
Definition: trpage_geom.h:1019
int fontId
Definition: trpage_geom.h:3036
Definition: trpage_print.h:28
Definition: trpage_io.h:632
std::vector< float > elev_min
Elevation of the midpoint of each tile This is used for calculating bounding boxes.
Definition: trpage_geom.h:1740
float float32
Definition: trpage_sys.h:83
float32 characterSize
Definition: trpage_geom.h:2854
Struct for Animated Lights.
Definition: trpage_geom.h:611
bool Print(trpgPrintBuffer &) const
Prints this class to a print buffer.
trpgColor diffuse
Definition: trpage_geom.h:501
double outLod
Definition: trpage_geom.h:1017
bool isMipmap
Whether or not there are mipmap levels.
Definition: trpage_geom.h:1392
bool localBlock
Definition: trpage_geom.h:1748
Definition: trpage_geom.h:2801
bool isValid(void) const
Returns the state of the valid flag, or can be overriden by a subclass to do a more complex check...
Definition: trpage_geom.h:3045
Definition: trpage_io.h:601
Definition: trpage_geom.h:2165
float64 phaseDelay
Definition: trpage_geom.h:615
std::vector< float32 > floatData
Definition: trpage_geom.h:2035
std::vector< float > vertDataFloat
Definition: trpage_geom.h:2303
std::vector< int > levelOffset
Offset of each level.
Definition: trpage_geom.h:1405
virtual bool Print(trpgPrintBuffer &) const
Definition: trpage_io.h:619
int32 fid
Definition: trpage_geom.h:822
int rangeIndex
Definition: trpage_geom.h:2678
std::vector< trpgTexData > texData
Definition: trpage_geom.h:2309
Definition: trpage_geom.h:903
virtual bool Read(trpgReadBuffer &)
Definition: trpage_io.h:612
ImageMode mode
Mode for this texture. See ImageMode for details.
Definition: trpage_geom.h:1379
Definition: trpage_geom.h:1263
int normBind
Definition: trpage_geom.h:2305
AnimationAttr animationAttr
Definition: trpage_geom.h:834
Definition: trpage_io.h:323
trpgwAppAddress addr
File Location.
Definition: trpage_geom.h:2512
int32 baseMatTable
Definition: trpage_geom.h:1842
Definition: trpage_geom.h:1680
LightQuality quality
Definition: trpage_geom.h:829
int shadeModel
Definition: trpage_geom.h:505
virtual bool Write(trpgWriteBuffer &)=0
trpg3dPoint axis
Definition: trpage_geom.h:2585
Definition: trpage_io.h:278
std::vector< trpg3dPoint > supports
Definition: trpage_geom.h:3189
Definition: trpage_geom.h:1787
Definition: trpage_geom.h:345
trpgColor ambient
Definition: trpage_geom.h:500
ModelMapType * GetModelMap()
Definition: trpage_geom.h:1662
ImageType
Definition: trpage_geom.h:1252
LightType type
Definition: trpage_geom.h:814
TileMode
Tiles can be stored individually (External and ExternalSaved) or in grouped files (Local)...
Definition: trpage_geom.h:1686
virtual void Reset(void)=0
std::vector< int > materials
Definition: trpage_geom.h:2302
float64 shininess
Definition: trpage_geom.h:504
int smc
Definition: trpage_geom.h:518
char * name
The name really only has meaning for External or Global textures.
Definition: trpage_geom.h:1385
Definition: trpage_geom.h:2538
LightQuality randomIntensity
Definition: trpage_geom.h:830
std::vector< char > edgeFlags
Definition: trpage_geom.h:2310
int modelRef
Definition: trpage_geom.h:2791
Definition: trpage_geom.h:586
int id
Definition: trpage_geom.h:2676
SupportType
Definition: trpage_geom.h:2912
Definition: trpage_geom.h:587
Definition: trpage_geom.h:1257
bool autoNormal
Definition: trpage_geom.h:512
Definition: trpage_geom.h:1258
Definition: trpage_geom.h:963
std::map< int, trpgLightAttr > LightMapType
Definition: trpage_geom.h:948
Definition: trpage_geom.h:1259
trpg3dPoint normal
Definition: trpage_geom.h:820
Definition: trpage_geom.h:1256
trpgDiskRef diskRef
Definition: trpage_geom.h:1597
int matId
Definition: trpage_geom.h:2944
float64 frontIntensity
Definition: trpage_geom.h:817
char * name
Definition: trpage_geom.h:2677
trpgColor borderCol
Definition: trpage_geom.h:316
AlignmentType alignment
Actual label text. May contain formatting.
Definition: trpage_geom.h:3182
Definition: trpage_geom.h:1119
virtual void Reset(void)
Resets the contents back to empty.
#define TX_EXDECL
Goes before "class" to handle DLL export in windows.
Definition: trdll.h:69
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
IMGUI_API ImFont * GetFont()
float64 minDefocus
Definition: trpage_geom.h:626
#define ISMASTER
Definition: trpage_geom.h:37
virtual bool Write(trpgWriteBuffer &)
Writes this class to a write buffer.
int id
Definition: trpage_geom.h:2376
int mode
Definition: trpage_geom.h:2583
int useCount
Definition: trpage_geom.h:1598
LabelPropertyMapType labelPropertyMap
Definition: trpage_geom.h:3078
Definition: trpage_io.h:452
int numRange
Definition: trpage_geom.h:2673
voidpf uLong offset
Definition: ioapi.h:42
int32 smc
Definition: trpage_geom.h:821
std::map< int, trpgMaterial > MaterialMapType
Definition: trpage_geom.h:1195
float64 rascalSignificance
Definition: trpage_geom.h:831
int numMipMap
Number of mipmap levels, 0 if not present.
Definition: trpage_geom.h:1395
bool underline
Definition: trpage_geom.h:2853
float32 thickness
Definition: trpage_geom.h:3185
std::vector< trpgwAppAddress > addr
Tile addresses into external Appendable files.
Definition: trpage_geom.h:1737
LightType
Light Type.
Definition: trpage_geom.h:568
#define ISLOCAL
Definition: trpage_geom.h:38
CalligraphicAttr calligraphicAttr
Definition: trpage_geom.h:832
int32 sy
Definition: trpage_geom.h:1844
std::string desc
Definition: trpage_geom.h:3186
Definition: trpage_geom.h:3087
std::string url
Definition: trpage_geom.h:3187
std::map< int, trpgSupportStyle > SupportStyleMapType
Definition: trpage_geom.h:2982
bool isBump
Note: Need to do equality operator.
Definition: trpage_geom.h:498
int currentRow
Definition: trpage_geom.h:1746
int y
Definition: trpage_geom.h:2510
int stp
Definition: trpage_geom.h:519
Definition: trpage_io.h:285
std::vector< double > normDataDouble
Definition: trpage_geom.h:2307
TextureMapType textureMap
Definition: trpage_geom.h:1504
int numTex
Definition: trpage_geom.h:513
float64 horizontalLobeAngle
Definition: trpage_geom.h:824
std::vector< float64 > doubleData
Definition: trpage_geom.h:2040
char * name
Definition: trpage_geom.h:2378
std::string font
Definition: trpage_geom.h:2852
Definition: trpage_geom.h:2700