VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWindowPolygonInstance.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>
16 #include <vector>
17 
18 namespace makVrv
19 {
24  {
25  public:
27  virtual ~DtWindowPolygonInstance();
28 
30  virtual void setVertex(int i, double x, double y) = 0;
31 
33  virtual void setFillPattern(unsigned int fillPattern) = 0;
34 
36  virtual void setFill(bool fill) = 0;
37 
39  virtual void setNumVertices(unsigned int numVertices) = 0;
40 
42  virtual void setColor(float r,float g,float b,float a) = 0;
43 
46  virtual void setTransform( DtMatrix3<double> transform ) = 0;
47 
49  virtual void setScale( double x, double y ) = 0;
50 
52  virtual void getCenterOfVertices( DtVector2<double>& center ) = 0;
53 
55  virtual void update() = 0;
56 
58  virtual void setClipBox( DtVector2<double> bottomLeftLocation, DtVector2<double> topRightLocation ) = 0;
59  };
60 }
61 
3 dimensional matrix
2 dimensional vector
Interface for a DtWindowPolygonInstance An object that draws a 2D Polygon.
Definition: DtWindowPolygonInstance.h:23
Interface for classes with settable visibility, such as a 3D model or 2D graphic. ...
Definition: DtSetVisibilityInterface.h:25
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains the DtSetVisibilityInterface.
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)