23 #include <boost/scoped_ptr.hpp>
24 #include <boost/ptr_container/ptr_map.hpp>
26 #include <tbb/mutex.h>
42 namespace MAKVRinTerra
44 class DtSharedMemoryFeaturesDebugDrawer;
45 class DtFeatureContext;
46 class DtFeaturesDebugger;
47 class DtUnusedFeatureTileTracker;
65 static DtFeatureSet* CreateFeatureSetFromFile(
const std::string& forFile);
68 virtual bool loadConfig(std::string file);
72 virtual bool loadConfig(std::string file,
const DtQuery& schema);
80 virtual std::auto_ptr<DtFeatureSet> addFeatureSource(std::string file,
bool page=
true,
81 std::string makLayerName =
"");
88 virtual std::auto_ptr<DtFeatureSet> addFeatureSource(
89 osg::ref_ptr<osgEarth::Map> map, std::string earthfile,
bool page=
true);
96 virtual std::auto_ptr<DtFeatureSet> addFeatureSource(
102 void addToDebugger(std::string label,
DtFeatureSet*,
bool draw =
false);
114 typedef boost::shared_ptr<Record>
Ptr;
126 boost::shared_ptr<DtAttributeConfigParser>
myParser;
141 boost::shared_ptr<DtAttributeConfigParser>,
142 boost::shared_ptr<DtTerrainInterfaceConfig> config,
143 boost::shared_ptr<DtUnusedFeatureTileTracker> = boost::shared_ptr<DtUnusedFeatureTileTracker>(),
144 boost::shared_ptr<DtFeaturesDebugger> = boost::shared_ptr<DtFeaturesDebugger>());
148 std::auto_ptr<DtFeatureSet> features();
150 std::auto_ptr<DtObstacleFeatureSet> obstacles(
const std::string& type);
151 std::auto_ptr<DtPathFeatureSet> paths(
const std::string& type);
156 DtQuery findQuery(
const std::string& name)
const;
163 void cleanUpPathFinders();