14 #include "vlutil/vlString.h"
29 static void initMGAPI();
30 static void exitMGAPI();
32 virtual void setUseFltPath(
const DtString&);
33 virtual const DtString& useFltPath()
const;
46 } DtFltProjectionType;
55 } DtFltVertexCoordinateUnits;
61 UserDefinedEllipsoid = -1,
67 } DtFltEarthEllipsoidModel;
73 virtual void parseFltPathIntoPathTree(
const std::string& fltPath,
82 bool rememberColorFromTextureName(
const DtFilename& name,
DtColor& color);
91 bool computeColorFromTexture(mgrec* mgdb,
int texturePatternNumber,
93 bool computeAndRememberColorFromTexture(mgrec* mgdb,
94 const DtFilename& tex_name,
int texture_pattern_number,
DtColor& color);
98 bool setColorFromTexture(mgrec* mgdb,
int texturePatternNumber,
DtColor& color);
104 void changeFromUTMToUserDefinedProjection(
const DtPoint &v0,
DtPoint &result);
109 virtual bool passPathCheck(mgrec* node,
const DtFltPathMap& fltPathMap,
110 DtFltPathMap::const_iterator* iter = 0);
113 virtual void convertFromSourceToMeters(
const DtPoint& in,
DtPoint& out);
117 bool processPrimitive(mgrec* mgmesh,
DtGroup* parentGroup,
unsigned int ithPrimitive);
120 bool processTriangleStrip(mgrec* mgmesh,
DtGroup* parentGroup,
unsigned int ithPrimitive);
126 DtGdbNode* xlate_eFltXref(mgrec* mgdb, mgrec* mgexternalref);
132 DtGdbNode* xlate_eFltMesh(mgrec* mgdb, mgrec* mgnode);
142 DtGdbNode* xlate_eFltPolygon(mgrec* mgdb, mgrec* mgpolygon);
162 unsigned int xlateGroupChildrenIfAny(mgrec* mgdb, mgrec* mggroup,
164 unsigned int desiredChildIndex = 0);
175 bool importChild(
unsigned int childIndex,
unsigned int desiredIndex)
const;
Definition: mgWrapper.h:40
double myCurrentOffsetX
Definition: mgWrapper.h:183
Definition: mgWrapper.h:42
std::map< std::string, DtFltPathNode * > DtFltPathMap
Definition: mgWrapperInterface.h:42
Definition: mgWrapper.h:41
DtString myUseFlightPath
Definition: mgWrapper.h:187
Definition: mgWrapperInterface.h:79
DT_DLL_mgwrapper void DtDestroyMgWrapperObject(DtMgWrapperInterface *mwi)
Definition: mgWrapper.h:200
Definition: mgWrapper.h:64
Definition: mgWrapper.h:19
DT_DLL_mgwrapper DtMgWrapperInterface * DtCreateMgWrapperObject()
Definition: mgWrapper.h:195
Definition: mgWrapper.h:44
double myCurrentOffsetY
Definition: mgWrapper.h:184
double myCurrentOffsetZ
Definition: mgWrapper.h:185
Definition: mgWrapper.h:65
Definition: mgWrapper.h:63
unsigned char myUnits
Definition: mgWrapper.h:179
Definition: mgWrapper.h:43
static bool myInitMgApi
Definition: mgWrapper.h:178
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:192
DtFltPathMap myFlightPath
Definition: mgWrapper.h:188
#define DT_DLL_mgwrapper
Definition: mgwrapperDefines.h:21
std::map< DtString, int > myErrorSurfaces
Definition: mgWrapper.h:190
Definition: dfadData.h:77