VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtWindowLineInstance.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtWindowLineInstance_H_
11 #define DtWindowLineInstance_H_
12 
13 #include <vrvCore/vrvCore.h>
15 
16 #include <vector>
17 
18 namespace makVrv
19 {
29  {
30  public:
32  virtual ~DtWindowLineInstance();
33 
35  virtual void setVertex(unsigned int vertex, double x, double y ) = 0;
36 
38  virtual void removeVertex(unsigned int vertex ) = 0;
39 
41  virtual void setColor(float r, float g, float b, float a) = 0;
42 
44  virtual void setStipplePattern(unsigned int stipplePattern) = 0;
45 
47  virtual void setWidth(unsigned int width) = 0;
48 
51  virtual void setStyleSegments(
52  const std::vector<double>& segmentPercentages ) = 0;
53 
55  virtual void setSegmentColor(unsigned int index, float r, float g,
56  float b, float a) = 0;
57 
60  virtual void setSegmentStartColor(unsigned int index, float r, float g,
61  float b, float a) = 0;
62 
65  virtual void setSegmentEndColor(unsigned int index, float r, float g,
66  float b, float a) = 0;
67 
70  virtual void setSegmentLightningStyle(unsigned int index,
71  bool enableLightningStyle) = 0;
72 
74  virtual void setSegmentStartArrow(unsigned int index,
75  bool enableStartArrow) = 0;
76 
78  virtual void setSegmentEndArrow(unsigned int index,
79  bool enableEndArrow) = 0;
80 
83  virtual void setSegmentStipplePattern(unsigned int index,
84  unsigned int stipplePattern) = 0;
85 
87  virtual void setSegmentWidth(unsigned int index,
88  unsigned int width) = 0;
89 
91  virtual void update() = 0;
92  };
93 }
94 
95 #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)