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;