VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtEllipseRectangleBase.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2006 MaK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtEllipseRectangleBase.h,v $ $Revision: 1.3 $ $State: Exp $
7 ******************************************************************************/
8 #pragma once
9 
15 
16 #include <vlutil/vlString.h>
17 
19 
22 
25 
26 namespace vrvControlToolkit
27 {
28 
41  {
42  protected:
71  DtEllipseRectangleBase(DtExerciseConn* exConn, unsigned id, const DtString& objName,
72  const DtVdcVector2D& position, const DtVdcVector2D& size,
73  double rotation = 0.0, double scale = 1.0,
74  DtVdcColor color = DtVdcColor::DtVdcWhite, bool fill = false,
75  unsigned pattern = 0xffffffff, bool flashing = false);
76  /*
81  DtEllipseRectangleBase( const DtEllipseRectangleBase& orig );
82 
84  DtEllipseRectangleBase& operator=( const DtEllipseRectangleBase& rhs );
85  */
86  // \brief Virtual destructor
87  virtual ~DtEllipseRectangleBase();
88 
89  private:
95 
96  public:
102  virtual DtVdcVector2D position() const;
103 
109  virtual void setPosition( const DtVdcVector2D& position );
110 
116  virtual DtVdcVector2D size() const;
117 
123  virtual void setSize( const DtVdcVector2D& size );
124 
130  virtual double rotation() const;
131 
137  virtual void setRotation( double rotation );
138 
144  virtual const DtVdcColor& color() const;
145 
151  virtual void setColor (const DtVdcColor& color );
152 
159  virtual bool fill() const;
160 
167  virtual void setFill( bool fill );
168 
174  virtual unsigned pattern() const;
175 
183  virtual void setPattern( unsigned pattern );
184 
190  virtual bool flashing() const;
191 
197  virtual void setFlashing( bool flashing );
198 
204  virtual double scale() const;
205 
211  virtual void setScale( double scale );
212 
213  virtual void setRemoteGraphicSet(const std::string& setName);
214 
223  virtual void update();
224 
225  protected:
229  unsigned myPattern;
230  bool myFill;
231  double myRotation;
233  double myScale;
234 
236  };
237 
238 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)