VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Dt2DLineStateVisualizer.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2012 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
13 #include <vrvCore/DtWindowLineAgent.hpp>
15 
16 namespace makVrv
17 {
22  {
23  public:
26  DtStateListener& listener, int modelSet);
27 
29  virtual ~Dt2DLineStateVisualizer();
30 
32  virtual void setNumSegments(unsigned int numSegments);
33 
36  virtual void setSegmentPercentage(unsigned int segmentIndex,
37  double percentage);
38 
42  virtual void setSegmentStyle(unsigned int segmentIndex, int lineStyle);
43 
47  virtual void setSegmentArrowStyle(unsigned int segmentIndex,
48  int arrowStyle);
49 
51  virtual void setSegmentWidth(unsigned int segmentIndex,
52  unsigned int width);
53 
55  virtual void setSegmentStipplePattern(unsigned int segmentIndex,
56  unsigned int pattern);
57 
59  virtual void setSegmentColor(unsigned int segmentIndex, float r, float g,
60  float b, float a);
61 
63  virtual void setFlashing(bool blinking);
64 
70  virtual void setStartVertex(double x, double y);
71 
77  virtual void setEndVertex(double x, double y);
78 
80  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
81 
83  static const DtStateVisualizer::TypeInfo& theTypeInfo();
84 
85  protected:
89  virtual void setVisible(bool yesNo);
90 
92  virtual void createModelAgents();
93 
101  virtual void destroyModelAgents();
102 
104  virtual void setModelDefinitionForAgents();
105 
106  DtWindowLineAgent* myLineAgent;
108 
109  typedef std::vector<double> Segments;
111  };
112 
117 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)