VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWindowEllipseInstance.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>
17 #include <vector>
18 
19 namespace makVrv
20 {
25  {
26  public:
28  virtual ~DtWindowEllipseInstance();
29 
34  virtual void setCenter( double x, double y ) = 0;
35 
41  virtual void setDimensions(double xLength, double yLength) = 0;
42 
44  virtual void setFillPattern(unsigned int fillPattern) = 0;
45 
47  virtual void setNumVertices(unsigned int numVertices) = 0;
48 
50  virtual void setColor(float r,float g,float b,float a) = 0;
51 
53  virtual void setFill(bool fill) = 0;
54 
57  virtual void setTransform( DtMatrix3<double> transform ) = 0;
58 
60  virtual void update() = 0;
61 
63  virtual void setClipBox( DtVector2<double> bottomLeftLocation, DtVector2<double> topRightLocation ) = 0;
64 
67  virtual void setGroup( int groupId ) = 0;
68 
73  virtual void setChannelOverlay( const std::string& displayName,
74  const std::string& windowName, const std::string& channelName ) = 0;
75 
78  virtual void setInnerDimensions( double xLength, double yLength ) = 0;
79 
81  virtual void setStartEndAngles( double startAngle, double endAngle ) = 0;
82 
84  virtual void setLineWidth( float lineWidth ) = 0;
85  };
86 
90  {
91  public:
94 
97 
99  static DtWindowEllipseInstanceCreator& instance( DtDe& de );
100 
102  static void registerInstance( DtDe& de, DtWindowEllipseInstanceCreator* instance );
103 
105  virtual DtWindowEllipseInstance* create();
106  protected:
108  };
109 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
3 dimensional matrix
2 dimensional vector
Interface for classes with settable visibility, such as a 3D model or 2D graphic. ...
Definition: DtSetVisibilityInterface.h:22
Contains makVrv::DtVirtualBaseClass class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtDe & myDe
Definition: DtWindowEllipseInstance.h:107
Creator for DtWindowEllipseInstance, will throw if you create on it. osg creator is registered in vrv...
Definition: DtWindowEllipseInstance.h:89
Interface for a DtWindowEllipseInstance An object that draws a 2D ellipse.
Definition: DtWindowEllipseInstance.h:24
Contains the DtSetVisibilityInterface.
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 DLL export macros.

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)