14 #include "vlutil/vlString.h"
28 static void initMGAPI();
29 static void exitMGAPI();
31 virtual void setUseFltPath(
const DtString&);
32 virtual const DtString& useFltPath()
const;
45 } DtFltProjectionType;
54 } DtFltVertexCoordinateUnits;
60 UserDefinedEllipsoid = -1,
66 } DtFltEarthEllipsoidModel;
72 virtual void parseFltPathIntoPathTree(
const std::string& fltPath,
81 bool rememberColorFromTextureName(
const DtFilename& name,
DtColor& color);
90 bool computeColorFromTexture(mgrec* mgdb,
int texturePatternNumber,
92 bool computeAndRememberColorFromTexture(mgrec* mgdb,
93 const DtFilename& tex_name,
int texture_pattern_number,
DtColor& color);
97 bool setColorFromTexture(mgrec* mgdb,
int texturePatternNumber,
DtColor& color);
103 void changeFromUTMToUserDefinedProjection(
const DtPoint &v0,
DtPoint &result);
108 virtual bool passPathCheck(mgrec* node,
const DtFltPathMap& fltPathMap,
109 DtFltPathMap::const_iterator* iter = 0);
112 virtual void convertFromSourceToMeters(
const DtPoint& in,
DtPoint& out);
116 bool processPrimitive(mgrec* mgmesh,
DtGroup* parentGroup,
unsigned int ithPrimitive);
119 bool processTriangleStrip(mgrec* mgmesh,
DtGroup* parentGroup,
unsigned int ithPrimitive);
125 DtGdbNode* xlate_eFltXref(mgrec* mgdb, mgrec* mgexternalref);
131 DtGdbNode* xlate_eFltMesh(mgrec* mgdb, mgrec* mgnode);
141 DtGdbNode* xlate_eFltPolygon(mgrec* mgdb, mgrec* mgpolygon);
161 unsigned int xlateGroupChildrenIfAny(mgrec* mgdb, mgrec* mggroup,
163 unsigned int desiredChildIndex = 0);
174 bool importChild(
unsigned int childIndex,
unsigned int desiredIndex)
const;
Definition: mgWrapper.h:39
double myCurrentOffsetX
Definition: mgWrapper.h:182
Definition: mgWrapper.h:41
std::map< std::string, DtFltPathNode * > DtFltPathMap
Definition: mgWrapperInterface.h:42
Definition: mgWrapper.h:40
DtString myUseFlightPath
Definition: mgWrapper.h:186
Definition: mgWrapperInterface.h:79
DT_DLL_mgwrapper void DtDestroyMgWrapperObject(DtMgWrapperInterface *mwi)
Definition: mgWrapper.h:199
Definition: mgWrapper.h:63
Definition: mgWrapper.h:19
DT_DLL_mgwrapper DtMgWrapperInterface * DtCreateMgWrapperObject()
Definition: mgWrapper.h:194
Definition: mgWrapper.h:43
double myCurrentOffsetY
Definition: mgWrapper.h:183
double myCurrentOffsetZ
Definition: mgWrapper.h:184
Definition: mgWrapper.h:64
Definition: mgWrapper.h:62
unsigned char myUnits
Definition: mgWrapper.h:178
Definition: mgWrapper.h:42
static bool myInitMgApi
Definition: mgWrapper.h:177
virtual bool readDfdFile(DtFilename filename, DtDfadData &data) const =0
Definition: mgWrapperInterface.h:93
virtual DtGdbNode * xlateOpenFlightFile(const DtFilename &filename)=0
std::map< DtString, bool > myAlreadyColorWarned
Definition: mgWrapper.h:191
DtFltPathMap myFlightPath
Definition: mgWrapper.h:187
#define DT_DLL_mgwrapper
Definition: mgwrapperDefines.h:21
std::map< DtString, int > myErrorSurfaces
Definition: mgWrapper.h:189
Definition: dfadData.h:77