VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtWindowPolygonInstance.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtWindowPolygonInstance.h,v $ $Revision: 1.0 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtWindowPolygonInstance_H_
14 #define DtWindowPolygonInstance_H_
15 
16 #include <vrvCore/vrvCore.h>
18 
19 #include <vector>
20 
21 namespace makVrv
22 {
27  {
28  public:
30  struct Vertex
31  {
32  double x;
33  double y;
34  };
35 
36  typedef std::vector<Vertex> VertexList;
37 
39  virtual ~DtWindowPolygonInstance();
40 
42  virtual void setVertex(int i, double x, double y) = 0;
43 
45  virtual void setFillPattern(unsigned int fillPattern) = 0;
46 
48  virtual void setFill(bool fill) = 0;
49 
51  virtual void setScale(double scale) = 0;
52 
54  virtual void setRotation(double rotation) = 0;
55 
57  virtual void setNumVertices(unsigned int numVertices) = 0;
58 
60  virtual void setColor(float r,float g,float b,float a) = 0;
61 
63  virtual const VertexList& vertices() const = 0;
64  };
65 }
66 
67 #endif

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)