![]() |
VR-Forces 4.0.4 Class Documentation
|

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 |
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 |
Static Protected Attributes | |
| static bool | myInitMgApi |
enum DtMgWrapper::DtFltProjectionType [protected] |
enum DtMgWrapper::DtFltVertexCoordinateUnits [protected] |
enum DtMgWrapper::DtFltEarthEllipsoidModel [protected] |
| virtual DtMgWrapper::~DtMgWrapper | ( | ) | [virtual] |
| virtual bool DtMgWrapper::readDfdFile | ( | DtFilename | filename, |
| DtDfadData & | data | ||
| ) | const [virtual] |
Implements DtMgWrapperInterface.
| virtual DtGdbNode* DtMgWrapper::xlateOpenFlightFile | ( | const DtFilename & | filename | ) | [virtual] |
Implements DtMgWrapperInterface.
| static void DtMgWrapper::initMGAPI | ( | ) | [static] |
| static void DtMgWrapper::exitMGAPI | ( | ) | [static] |
| virtual void DtMgWrapper::setUseFltPath | ( | const DtString & | ) | [virtual] |
| virtual const DtString& DtMgWrapper::useFltPath | ( | ) | const [virtual] |
| virtual void DtMgWrapper::parseFltPathIntoPathTree | ( | const std::string & | fltPath, |
| DtFltPathMap * | fltPathMap | ||
| ) | [protected, virtual] |
| bool DtMgWrapper::rememberColorFromTextureName | ( | const DtFilename & | name, |
| DtColor & | color | ||
| ) | [protected] |
| bool DtMgWrapper::computeColorFromTexture | ( | mgrec * | mgdb, |
| int | texturePatternNumber, | ||
| DtColor & | color | ||
| ) | [protected] |
| bool DtMgWrapper::computeAndRememberColorFromTexture | ( | mgrec * | mgdb, |
| const DtFilename & | tex_name, | ||
| int | texture_pattern_number, | ||
| DtColor & | color | ||
| ) | [protected] |
| FlightTextureNameToColorListItem* DtMgWrapper::lookupAlreadyAveragedColor | ( | const DtFilename & | ) | [protected] |
| bool DtMgWrapper::setColorFromTexture | ( | mgrec * | mgdb, |
| int | texturePatternNumber, | ||
| DtColor & | color | ||
| ) | [protected] |
| void DtMgWrapper::changeFromUTMToUserDefinedProjection | ( | const DtPoint & | v0, |
| DtPoint & | result | ||
| ) | [protected] |
| virtual bool DtMgWrapper::passPathCheck | ( | mgrec * | node, |
| const DtFltPathMap & | fltPathMap, | ||
| DtFltPathMap::const_iterator * | iter = 0 |
||
| ) | [protected, virtual] |
| virtual void DtMgWrapper::convertFromSourceToMeters | ( | const DtPoint & | in, |
| DtPoint & | out | ||
| ) | [protected, virtual] |
| bool DtMgWrapper::processPrimitive | ( | mgrec * | mgmesh, |
| DtGroup * | parentGroup, | ||
| unsigned int | ithPrimitive | ||
| ) | [protected] |
| bool DtMgWrapper::processTriangleStrip | ( | mgrec * | mgmesh, |
| DtGroup * | parentGroup, | ||
| unsigned int | ithPrimitive | ||
| ) | [protected] |
| DtGdbNode* DtMgWrapper::xlate_eFltLod | ( | mgrec * | mgdb, |
| mgrec * | mglod, | ||
| const DtFltPathMap & | path | ||
| ) | [protected] |
| DtGdbNode* DtMgWrapper::xlate_eFltXref | ( | mgrec * | mgdb, |
| mgrec * | mgexternalref | ||
| ) | [protected] |
| DtGdbNode* DtMgWrapper::xlate_eFltObject | ( | mgrec * | mgdb, |
| mgrec * | mgobject, | ||
| const DtFltPathMap & | path | ||
| ) | [protected] |
| DtGdbNode* DtMgWrapper::xlate_eFltGroup | ( | mgrec * | mgdb, |
| mgrec * | mggroup, | ||
| const DtFltPathMap & | path | ||
| ) | [protected] |
| DtGdbNode* DtMgWrapper::xlate_eFltSwitch | ( | mgrec * | mgdb, |
| mgrec * | mggroup, | ||
| const DtFltPathMap & | path | ||
| ) | [protected] |
| DtGdbNode* DtMgWrapper::xlate_eFltDof | ( | mgrec * | mgdb, |
| mgrec * | mggroup, | ||
| const DtFltPathMap & | path | ||
| ) | [protected] |
| DtGdbNode* DtMgWrapper::xlate_eFltHeader | ( | mgrec * | mgdb, |
| mgrec * | mgheader, | ||
| const DtFltPathMap & | path | ||
| ) | [protected] |
| DtGdbNode* DtMgWrapper::xlate_eFltMesh | ( | mgrec * | mgdb, |
| mgrec * | mgnode | ||
| ) | [protected] |
| DtGdbNode* DtMgWrapper::xlate_poly | ( | mgrec * | mgdb, |
| mgrec * | mgpolygon, | ||
| mgrec * | mgv0, | ||
| mgrec * | mgv1, | ||
| mgrec * | mgv2, | ||
| mgrec * | mgv3 = 0 |
||
| ) | [protected] |
| DtGdbNode* DtMgWrapper::xlate_eFltPolygon | ( | mgrec * | mgdb, |
| mgrec * | mgpolygon | ||
| ) | [protected] |
| DtGdbNode* DtMgWrapper::xlate_eFltIbead | ( | mgrec * | mgdb, |
| mgrec * | mgpolygon, | ||
| const DtFltPathMap & | |||
| ) | [protected] |
| DtGdbNode* DtMgWrapper::xlateOpenFlightNode | ( | mgrec * | mgdb, |
| mgrec * | node, | ||
| const DtFltPathMap & | |||
| ) | [protected] |
| DtGdbNode* DtMgWrapper::xlate_fltMatrixIfAny | ( | mgrec * | m, |
| DtGdbNode * | already_translated_m | ||
| ) | [protected] |
| unsigned int DtMgWrapper::xlateGroupChildrenIfAny | ( | mgrec * | mgdb, |
| mgrec * | mggroup, | ||
| DtGroup *& | parentGroup, | ||
| const DtFltPathMap & | flightPathMap, | ||
| unsigned int | desiredChildIndex = 0 |
||
| ) | [protected] |
| bool DtMgWrapper::importChild | ( | unsigned int | childIndex, |
| unsigned int | desiredIndex | ||
| ) | const [protected] |
bool DtMgWrapper::myInitMgApi [static, protected] |
unsigned char DtMgWrapper::myUnits [protected] |
double DtMgWrapper::myCurrentOffsetX [protected] |
double DtMgWrapper::myCurrentOffsetY [protected] |
double DtMgWrapper::myCurrentOffsetZ [protected] |
DtString DtMgWrapper::myUseFlightPath [protected] |
DtFltPathMap DtMgWrapper::myFlightPath [protected] |
std::map<DtString, int> DtMgWrapper::myErrorSurfaces [protected] |
std::map<DtString, bool> DtMgWrapper::myAlreadyColorWarned [protected] |