VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOverlayWedgeModel.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/vrvCore.h>
13 #include <vrvCore/DtModel.h>
14 #include <vrvCore/DtUniqueID.h>
15 
16 namespace makVrv
17 {
18  class DtDe;
19 
58  {
59  public:
60 
63 
65  virtual ~DtOverlayWedgeModel();
66 
69 
71  // @{
72  virtual void setOrigin(const DtVector& position) = 0;
73  virtual DtVector origin() const = 0;
74  // @}
75 
77  // @{
78  virtual void setRelativePosition(double x, double y, double z) = 0;
79  virtual DtVector relativePosition() const = 0;
80  // @}
81 
83  virtual void setOrientation(const DtTaitBryan& orientation) = 0;
84 
86  // @{
87  virtual void setMaxAngleSegment(double angleSegmentMax) = 0;
88  virtual double maxAngleSegment() const = 0;
89  // @}
90 
92  // @{
93  virtual void setRadius(float len) = 0;
94  virtual float radius() const = 0;
95  // @}
96 
98  // @{
99  virtual void setScale(float scale) = 0;
100  virtual float scale() const = 0;
101  // @}
102 
104  // @{
105  virtual void setVisible(bool isVisible) = 0;
106  virtual bool isVisible() const = 0;
107  // @}
108 
110  // @{
111  virtual void setStartAngle(double startAngle) = 0;
112  virtual double startAngle() const = 0;
113  // @}
114 
117  // @{
118  virtual void setWedgeSpan(double wedgeSpan) = 0;
119  virtual double wedgeSpan() const = 0;
120  // @}
121 
124  // @{
125  virtual void setFill(bool) = 0;
126  virtual bool isFill() const = 0;
127  // @}
128 
131  // @{
132  virtual void setOutline(bool) = 0;
133  virtual bool isOutline() const = 0;
134  // @}
135 
138  // @{
139  virtual void setSolidFillCenter(bool) = 0;
140  virtual bool isSolidFillCenter() const = 0;
141  // @}
142 
144  virtual void setFillPattern(const std::vector<unsigned int>&) = 0;
145 
147  // @{
148  virtual void setStipplePattern(unsigned int stipplePattern) = 0;
149  virtual unsigned int stipplePattern() const = 0;
150  // @}
151 
153  // @{
154  virtual void setOutlineWidth(float) = 0;
155  virtual float outlineWidth() const = 0;
156  // @}
157 
160  virtual void setColor(float r, float g, float b, float a) = 0;
161 
164  // @{
165  virtual void setCentralVertexColor(float r, float g, float b, float a) = 0;
166  virtual bool getCentralVertexColor(float& r, float& g, float& b, float& a) const = 0;
167  // @}
168 
171  // @{
172  virtual void setInsideColor(float r, float g, float b, float a) = 0;
173  virtual bool getInsideColor(float& r, float& g, float& b, float& a) const = 0;
174  // @}
175 
178  // @{
179  virtual void setOutsideColor(float r, float g, float b, float a) = 0;
180  virtual bool getOutsideColor(float& r, float& g, float& b, float& a) const = 0;
181  // @}
182 
184  // @{
185  virtual void setEventsEnabled(bool enabled) = 0;
186  virtual bool eventsEnabled() const = 0;
187  // @}
188 
193  // @{
194  virtual void setGroup(int groupNum) = 0;
195  virtual int group() const = 0;
196  // @}
197 
199 
200  private:
201 
204 
207 
209  DtOverlayWedgeModel& operator=(const DtOverlayWedgeModel &);
210  };
211 
212 }
voidpf uLong int origin
Definition: ioapi.h:42
Interface class for an Overlay Circular Wedge Model An overlay model is positioned in 3D space and dr...
Definition: DtOverlayWedgeModel.h:57
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
Contains makVrv::DtModel class.
A model which owns a single model instance.
Definition: DtModel.h:56
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains DLL export macros.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)