VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWindowArc.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 <matrix/vlVector.h>
16 
17 #include <vector>
18 
19 namespace makVrv
20 {
21  class DtDe;
22 
49  {
50  public:
51 
53  DtWindowArc(DtDe& de, DtUniqueID id);
54 
56  virtual ~DtWindowArc();
57 
59  virtual void setOrigin(const DtVector& position) = 0;
60  virtual DtVector getOrigin() const = 0;
61 
64  virtual void setDimensions(double x, double y) = 0;
65  virtual bool getDimensions(double& x, double& y) const = 0;
67 
70  virtual void setScale(float scale) = 0;
71  virtual float scale() const = 0;
73 
76  virtual void setVisible(bool isVisible) = 0;
77  virtual bool isVisible() const = 0;
79 
82  virtual void setMaxAngleSegment(double angleSegmentMax) = 0;
83  virtual double maxAngleSegment() const = 0;
85 
88  virtual void setStartAngle(double startAngle) = 0;
89  virtual double startAngle() const = 0;
91 
94  virtual void setEndAngle(double endAngle) = 0;
95  virtual double endAngle() const = 0;
97 
100  virtual void setStipplePattern(unsigned int stipplePattern) = 0;
101  virtual unsigned int stipplePattern() const = 0;
103 
107  virtual void setLineWidth(float width) = 0;
108  virtual float lineWidth() const = 0;
110 
114  virtual void setColor(float r, float g, float b, float a) = 0;
115  virtual bool getColor(float& r, float& g, float& b, float& a) const = 0;
117 
118  private:
120  DtWindowArc();
121 
123  DtWindowArc(const DtWindowArc &);
124 
126  DtWindowArc& operator=(const DtWindowArc &);
127 
128  };
129 }
130 
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 an Arc drawn in screen space.
Definition: DtWindowArc.h:48
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
Contains makVrv::DtWindowObject class.

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)