VR-Forces 4.1.1 Class Documentation
Dt2DLineFacade.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvCore/vrvCore.h>
13 
14 namespace makVrv
15 {
16  class DtOverlaySegmentedLineModelAgent;
17 
22  {
23  public:
25  Dt2DLineFacade(DtAgentManagerInterface&, DtSceneObjectAgent* agent,
26  DtElementID id, int modelSet);
27 
29  Dt2DLineFacade(DtAgentManagerInterface&, int modelSet, DtElementID id, bool distribute = true);
30 
32  virtual ~Dt2DLineFacade();
33 
35  virtual void setSolid(bool);
36 
38  virtual void setModelDefinition(const std::string&);
39 
42  virtual void setColor(float r, float g, float b, float a);
43 
45  virtual void setLineWidth(int);
46 
48  virtual void setStipplePattern(unsigned int);
49 
51  virtual void setVisible(bool);
52 
54  virtual void setPickable(bool);
55 
57  virtual void setSegmentEndArrow(int seg, bool flag);
58 
60  virtual void setSegmentStartArrow(int seg, bool flag);
61 
63  virtual void setArrowSize(double);
64 
66  virtual void setArrowStyle(vrvTacticalGraphicUtilities::ArrowStyle);
67 
69  virtual void setLineStyle(vrvTacticalGraphicUtilities::LineStyle s);
70 
73  virtual void setFixedWidthSizing(bool);
74 
75  protected:
77  void createLineAgent();
78 
79  protected:
80  DtOverlaySegmentedLineModelAgent* myLine;
81  };
82 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)