20 #include <tbb/recursive_mutex.h>
21 #include <tbb/spin_mutex.h>
22 #include <tbb/spin_rw_mutex.h>
23 #include <tbb/atomic.h>
24 #include <tbb/tbb_thread.h>
25 #include <tbb/mutex.h>
26 #include <tbb/compat/condition_variable>
28 #include <boost/shared_ptr.hpp>
29 #include <boost/enable_shared_from_this.hpp>
31 namespace MAKVRinTerra
44 typedef tbb::recursive_mutex
Mutex;
63 double height,
unsigned width);
78 typedef boost::shared_ptr<DtSharedMemoryFeaturesDebugDrawer>
Ptr;
80 Ptr shared_from_this();
86 const std::string& tag =
"Features",
95 const std::string& tag,
105 virtual void setEnabled(
bool);
115 virtual void setPointRadius(
unsigned radius);
116 virtual void setLineWidth(
unsigned width);
123 virtual void setHeight(
double);
133 unsigned long initialSize,
unsigned long maxSize,
double factor);
139 friend struct FeatureAdder;
149 Record(
const boost::shared_ptr<DtFeatureSet>& fs,
const DetachCallback& cb);