VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWindowLineInstance.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 
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, unsigned int stippleScale,
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 
94  virtual void setTransform( DtMatrix3<double> transform ) = 0;
95 
97  virtual void setScale( double x, double y ) = 0;
98 
100  virtual void setClipBox( DtVector2<double> bottomLeftLocation, DtVector2<double> topRightLocation ) = 0;
101  };
102 }
3 dimensional matrix
2 dimensional vector
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.
Interface for a DtWindowLineInstance - an attachable model instance that draws a 2D line...
Definition: DtWindowLineInstance.h:27

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)