18 #include <boost/scoped_ptr.hpp>
19 #include <boost/ptr_container/ptr_map.hpp>
21 #include <tbb/mutex.h>
37 namespace MAKVRinTerra
39 class DtSharedMemoryFeaturesDebugDrawer;
40 class DtFeatureContext;
41 class DtFeaturesDebugger;
42 class DtUnusedFeatureTileTracker;
60 static DtFeatureSet* CreateFeatureSetFromFile(
const std::string& forFile);
63 virtual bool loadConfig(std::string file);
67 virtual bool loadConfig(std::string file,
const DtQuery& schema);
75 virtual std::auto_ptr<DtFeatureSet> addFeatureSource(std::string file,
bool page=
true,
76 std::string makLayerName =
"");
83 virtual std::auto_ptr<DtFeatureSet> addFeatureSource(
84 osg::ref_ptr<osgEarth::Map> map, std::string earthfile,
bool page=
true);
91 virtual std::auto_ptr<DtFeatureSet> addFeatureSource(
97 void addToDebugger(std::string label,
DtFeatureSet*,
bool draw =
false);
109 typedef boost::shared_ptr<Record>
Ptr;
121 boost::shared_ptr<DtAttributeConfigParser>
myParser;
136 boost::shared_ptr<DtAttributeConfigParser>,
137 boost::shared_ptr<DtTerrainInterfaceConfig> config,
138 boost::shared_ptr<DtUnusedFeatureTileTracker> = boost::shared_ptr<DtUnusedFeatureTileTracker>(),
139 boost::shared_ptr<DtFeaturesDebugger> = boost::shared_ptr<DtFeaturesDebugger>());
143 std::auto_ptr<DtFeatureSet> features();
145 std::auto_ptr<DtObstacleFeatureSet> obstacles(
const std::string& type);
146 std::auto_ptr<DtPathFeatureSet> paths(
const std::string& type);
151 DtQuery findQuery(
const std::string& name)
const;
158 void cleanUpPathFinders();