VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Dt2DRectangleStateVisualizer.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
11 
12 #include <vrvCore/vrvCore.h>
15 #include <vrvCore/DtWindowPolygonAgent.hpp>
18 
19 namespace makVrv
20 {
25  {
26  public:
29  DtStateListener& listener, int modelSet);
30 
33 
35  virtual void setColor(float r,float g,float b,float a);
36 
38  virtual void setFlashing(bool flashing);
39 
42  virtual void setDimensions(double xLength, double yLength);
43 
46  virtual void setBottomLeftCorner(double x, double y);
47 
50  virtual void setRotation(double rotation);
51 
53  virtual void setScale(double scale);
54 
57  virtual void setFillPattern(unsigned int pattern);
58 
60  virtual void setFill(bool fill);
61 
64  virtual void updateVertices();
65 
67  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
68 
70  static const DtStateVisualizer::TypeInfo& theTypeInfo();
71 
72  protected:
76  virtual void setVisible(bool yesNo);
77 
79  virtual void createModelAgents();
80 
89  virtual void destroyModelAgents();
90 
92  virtual void setModelDefinitionForAgents();
93 
94  protected:
95 
96  DtWindowPolygonAgent* myPolygonAgent;
98 
99  double myWidth;
100  double myHeight;
103  };
104 
109 }

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)