![]() |
VR-Forces Developer's Guide
|

Public Member Functions | |
| DtMgWrapper () | |
| virtual | ~DtMgWrapper () |
| virtual bool | readDfdFile (DtFilename filename, DtDfadData &data) const |
| virtual DtGdbNode * | xlateOpenFlightFile (const DtFilename &filename) |
| virtual void | setUseFltPath (const DtString &) |
| virtual const DtString & | useFltPath () const |
Public Member Functions inherited from DtMgWrapperInterface | |
| DtMgWrapperInterface () | |
| virtual | ~DtMgWrapperInterface () |
| virtual void | setTerrainDatabase (DtTerrainDatabase *terrainDB) |
| DtSurfaceCharacteristicMap & | surfaceCharacteristicMap () |
| const DtSurfaceCharacteristicMap & | surfaceCharacteristicMap () const |
| void | setSurfaceCharacteristicMap (DtSurfaceCharacteristicMap sMap) |
| void | setTerrainInitializer (const DtTerrainInitializer *initializer) |
| void | setFlightInitializer (DtFlightTerrainInitializer initializer) |
Static Public Member Functions | |
| static void | initMGAPI () |
| static void | exitMGAPI () |
Protected Types | |
| enum | DtFltProjectionType { FlatEarth = 0, Trapezoidal, RoundEarth, Lambert, UTM, Geocentric, Geodetic } |
| enum | DtFltVertexCoordinateUnits { Meters = 0, Kilometers = 1, Feet = 4, Inches = 5, NauticalMiles = 8 } |
| enum | DtFltEarthEllipsoidModel { UserDefinedEllipsoid = -1, WGS_1984 = 0, WGS_1972, Bessel, Clark, NAD_1927 } |
Protected Member Functions | |
| virtual void | parseFltPathIntoPathTree (const std::string &fltPath, DtFltPathMap *fltPathMap) |
| bool | rememberColorFromTextureName (const DtFilename &name, DtColor &color) |
| bool | computeColorFromTexture (mgrec *mgdb, int texturePatternNumber, DtColor &color) |
| bool | computeAndRememberColorFromTexture (mgrec *mgdb, const DtFilename &tex_name, int texture_pattern_number, DtColor &color) |
| FlightTextureNameToColorListItem * | lookupAlreadyAveragedColor (const DtFilename &) |
| bool | setColorFromTexture (mgrec *mgdb, int texturePatternNumber, DtColor &color) |
| void | changeFromUTMToUserDefinedProjection (const DtPoint &v0, DtPoint &result) |
| virtual bool | passPathCheck (mgrec *node, const DtFltPathMap &fltPathMap, DtFltPathMap::const_iterator *iter=0) |
| virtual void | convertFromSourceToMeters (const DtPoint &in, DtPoint &out) |
| bool | processPrimitive (mgrec *mgmesh, DtGroup *parentGroup, unsigned int ithPrimitive) |
| bool | processTriangleStrip (mgrec *mgmesh, DtGroup *parentGroup, unsigned int ithPrimitive) |
| DtGdbNode * | xlate_eFltLod (mgrec *mgdb, mgrec *mglod, const DtFltPathMap &path) |
| DtGdbNode * | xlate_eFltXref (mgrec *mgdb, mgrec *mgexternalref) |
| DtGdbNode * | xlate_eFltObject (mgrec *mgdb, mgrec *mgobject, const DtFltPathMap &path) |
| DtGdbNode * | xlate_eFltGroup (mgrec *mgdb, mgrec *mggroup, const DtFltPathMap &path) |
| DtGdbNode * | xlate_eFltSwitch (mgrec *mgdb, mgrec *mggroup, const DtFltPathMap &path) |
| DtGdbNode * | xlate_eFltDof (mgrec *mgdb, mgrec *mggroup, const DtFltPathMap &path) |
| DtGdbNode * | xlate_eFltHeader (mgrec *mgdb, mgrec *mgheader, const DtFltPathMap &path) |
| DtGdbNode * | xlate_eFltMesh (mgrec *mgdb, mgrec *mgnode) |
| DtGdbNode * | xlate_poly (mgrec *mgdb, mgrec *mgpolygon, mgrec *mgv0, mgrec *mgv1, mgrec *mgv2, mgrec *mgv3=0) |
| DtGdbNode * | xlate_eFltPolygon (mgrec *mgdb, mgrec *mgpolygon) |
| DtGdbNode * | xlate_eFltIbead (mgrec *mgdb, mgrec *mgpolygon, const DtFltPathMap &) |
| DtGdbNode * | xlateOpenFlightNode (mgrec *mgdb, mgrec *node, const DtFltPathMap &) |
| DtGdbNode * | xlate_fltMatrixIfAny (mgrec *m, DtGdbNode *already_translated_m) |
| unsigned int | xlateGroupChildrenIfAny (mgrec *mgdb, mgrec *mggroup, DtGroup *&parentGroup, const DtFltPathMap &flightPathMap, unsigned int desiredChildIndex=0) |
| bool | importChild (unsigned int childIndex, unsigned int desiredIndex) const |
Protected Attributes | |
| unsigned char | myUnits |
| double | myCurrentOffsetX |
| double | myCurrentOffsetY |
| double | myCurrentOffsetZ |
| DtString | myUseFlightPath |
| DtFltPathMap | myFlightPath |
| std::map< DtString, int > | myErrorSurfaces |
| std::map< DtString, bool > | myAlreadyColorWarned |
Protected Attributes inherited from DtMgWrapperInterface | |
| DtTerrainDatabase * | myTerrainDatabase |
| const DtTerrainInitializer * | myTerrainInitializer |
| DtSurfaceCharacteristicMap | mySurfaceCharacteristicMap |
| DtFlightTerrainInitializer | myFlightInitializer |
| double | myOriginLatitudeDegrees |
| double | myOriginLongitudeDegrees |
| bool | myOriginHasBeenRead |
| FlightTextureNameToColorListItem * | myAlreadyAveragedTextures |
Static Protected Attributes | |
| static bool | myInitMgApi |
|
protected |
|
protected |
|
protected |
| DtMgWrapper::DtMgWrapper | ( | ) |
|
virtual |
|
virtual |
Implements DtMgWrapperInterface.
|
virtual |
Implements DtMgWrapperInterface.
|
static |
|
static |
|
virtual |
|
virtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |