VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWindowEllipse.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/DtUniqueID.h>
13 #include <vrvCore/DtWindowObject.h>
14 
15 #include <vector>
16 
17 namespace makVrv
18 {
19  class DtDe;
20  class DtWindowEllipseInstance;
21 
36  {
37  public:
40 
42  virtual ~DtWindowEllipse();
43 
48  virtual void setCenter(double x, double y);
49 
55  virtual void setDimensions(double xLength, double yLength);
56 
59  virtual void setNumVertices(int numVertices);
60 
62  virtual void setVisible(bool isVisible);
63 
65  virtual void setStipplePattern(unsigned int stipplePattern);
66 
68  virtual void setColor(float r,float g,float b,float a);
69 
71  virtual void setFill(bool fill);
72 
75  virtual void setGroup( int groupId );
76 
82  virtual void setChannelOverlay( const std::string& displayName,
83  const std::string& windowName, const std::string& channelName ) override;
84 
87  virtual void setInnerDimensions( double xLength, double yLength );
88 
90  virtual void setStartEndAngles( double startAngle, double endAngle );
91 
93  virtual void setLineWidth( float lineWidth);
94  protected:
96  virtual void update();
97 
99  virtual void needsUpdate();
100  protected:
103  };
104 }
A model-like object that draws a 2D ellipse. This ellipse class inherits from DtWindowObject() which ...
Definition: DtWindowEllipse.h:35
Base class for a graphical object that exists in a window Implements a parenting system for DtWindowO...
Definition: DtWindowObject.h:24
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Interface for a DtWindowEllipseInstance An object that draws a 2D ellipse.
Definition: DtWindowEllipseInstance.h:24
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
bool myConnectedToPostUpdate
Definition: DtWindowEllipse.h:102
Contains makVrv::DtWindowObject class.
DtWindowEllipseInstance * myInstance
Definition: DtWindowEllipse.h:101

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)