VR-Forces 4.5 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 
14 
15 #include <vector>
16 
17 namespace makVrv
18 {
28  {
29  public:
31  virtual ~DtWindowLineInstance();
32 
34  virtual void setVertex(unsigned int vertex, double x, double y ) = 0;
35 
37  virtual void removeVertex(unsigned int vertex ) = 0;
38 
40  virtual void setColor(float r, float g, float b, float a) = 0;
41 
43  virtual void setStipplePattern(unsigned int stipplePattern) = 0;
44 
46  virtual void setWidth(unsigned int width) = 0;
47 
50  virtual void setStyleSegments(
51  const std::vector<double>& segmentPercentages ) = 0;
52 
54  virtual void setSegmentColor(unsigned int index, float r, float g,
55  float b, float a) = 0;
56 
59  virtual void setSegmentStartColor(unsigned int index, float r, float g,
60  float b, float a) = 0;
61 
64  virtual void setSegmentEndColor(unsigned int index, float r, float g,
65  float b, float a) = 0;
66 
69  virtual void setSegmentLightningStyle(unsigned int index,
70  bool enableLightningStyle) = 0;
71 
73  virtual void setSegmentStartArrow(unsigned int index,
74  bool enableStartArrow) = 0;
75 
77  virtual void setSegmentEndArrow(unsigned int index,
78  bool enableEndArrow) = 0;
79 
82  virtual void setSegmentStipplePattern(unsigned int index,
83  unsigned int stipplePattern) = 0;
84 
86  virtual void setSegmentWidth(unsigned int index,
87  unsigned int width) = 0;
88 
90  virtual void update() = 0;
91  };
92 }
93 
94 #endif

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)