VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWindowPolygon.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/DtWindowObject.h>
13 
14 #include <vector>
15 
16 namespace makVrv
17 {
18  class DtDe;
19  class DtWindowPolygonInstance;
20 
41  {
42  public:
45 
47  virtual ~DtWindowPolygon();
48 
50  virtual void setVertex(int i, double x, double y);
51 
53  virtual void setNumVertices(int numVertices);
54 
56  virtual void setVisible(bool isVisible);
57 
59  virtual void setStipplePattern(unsigned int stipplePattern);
60 
62  virtual void setColor(float r,float g,float b,float a);
63 
65  virtual void setFill(bool fill);
66 
69  virtual void setGroup( int groupId );
70 
75  virtual void setChannelOverlay( const std::string& displayName,
76  const std::string& windowName, const std::string& channelName ) override;
77  protected:
79  virtual void update();
80 
82  virtual void needsUpdate();
83  protected:
86  };
87 }
Interface for a DtWindowPolygonInstance An object that draws a 2D Polygon.
Definition: DtWindowPolygonInstance.h:24
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
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
DtWindowPolygonInstance * myInstance
Definition: DtWindowPolygon.h:84
A model-like object that draws a 2D polygon on screen. This polygon class inherits from DtWindowObjec...
Definition: DtWindowPolygon.h:40
bool myConnectedToPostUpdate
Definition: DtWindowPolygon.h:85
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:72
Contains makVrv::DtWindowObject class.

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)