VR-Forces 4.1 Class Documentation
sharedMemoryFeaturesDebugDrawer.h
Go to the documentation of this file.
1 
2 
3 
4 
5 #pragma once
6 
7 #include <features/feature.h>
8 #include <features/featureSet.h>
9 
11 
12 #include <vlutil/vlMutex.h>
13 
14 namespace MAKVRinTerra
15 {
17  {
18  public:
19  static DtFeatureSet* MakeFeatureSet(std::auto_ptr<DtFeatureGeometry::GeometryVector>);
20 
22 
24 
26  virtual void addFeatureSet(DtFeatureSet*);
27 
29  virtual void setFeatureSet(DtFeatureSet*);
30 
31  virtual void setPointColor(const DtDebugDrawerGeometryMemoryColor&);
32  virtual void setPathColor(const DtDebugDrawerGeometryMemoryColor&);
33  virtual void setAreaColor(const DtDebugDrawerGeometryMemoryColor&);
34 
36  virtual void setPointRadius(unsigned radius);
37 
39  virtual void setHeight(double);
40 
41  virtual void draw();
42 
43  protected:
44  virtual void drawFeature(const DtFeature&);
45 
46  virtual void draw(DtFeatureGeometry);
48 
49  private:
50  typedef std::pair<std::string, DtFeatureSet*> FeatureSetPair;
51  typedef std::vector<FeatureSetPair> FeatureSetMap;
52 
53  mutable DtMutex myMutex;
54  boost::scoped_ptr<DtDebugDrawerSharedMemoryManager> myMemManager;
55  boost::scoped_ptr<DtFeatureSet::List> myFeatureSets;
60  unsigned myPointRadius;
61  double myHeight;
62  };
63 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)