15 #include <tbb/mutex.h>
16 #include <tbb/compat/condition_variable>
18 #include <boost/ptr_container/ptr_vector.hpp>
24 namespace MAKVRinTerra
26 class DtSharedMemoryFeaturesDebugDrawer;
27 class DtAttributeConfigParser;
28 class DtUnusedFeatureTileTracker;
30 template <
typename FS>
31 class DtPagingFeatureSet;
34 :
public boost::enable_shared_from_this<DtFeaturesDebugger>
37 typedef boost::shared_ptr<DtFeaturesDebugger>
Ptr;
42 boost::shared_ptr<DtAttributeConfigParser> = boost::shared_ptr<DtAttributeConfigParser>(),
43 boost::shared_ptr<DtUnusedFeatureTileTracker> = boost::shared_ptr<DtUnusedFeatureTileTracker>(),
57 template <
typename FS>
68 bool loadConfig(std::string);
71 std::string printConfig()
const;
74 bool createFiltered(std::string newname,
unsigned set, std::string query);
77 bool createTransformed(std::string newname,
unsigned set);
80 std::string listFeatureSets(std::string params)
const;
84 std::ostream&,
unsigned set,
unsigned max=0, std::string attributes = std::string())
const;
87 std::string info()
const;
90 bool draw(std::string sets);
99 bool pageInPoint(
unsigned set,
double x,
double y);
102 void pageOut(
unsigned maxsize);
105 void setProjection(
const DtProj&);
114 boost::scoped_ptr<DtSharedMemoryFeaturesDebugDrawer>
drawer;
121 virtual Record* clone()
const;
124 virtual void setDrawing(
bool enable);
127 virtual void setDrawPaging(
bool enable);