VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtSegmentedLineModel.h
Go to the documentation of this file.
1 // /******************************************************************************
2 // ** Copyright (c) 2012 MAK Technologies, Inc.
3 // ** All rights reserved.
4 // ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 #include <vrvCore/DtLineModel.h>
14 
15 namespace makVrv
16 {
21  {
22  public:
25 
28 
31  virtual void setStyleSegments(const std::vector<double>& segmentPercentages) = 0;
32 
34  virtual void setSegmentColor(unsigned int segmentIndex,
35  float r, float g, float b, float a) = 0;
36 
40  virtual void setSegmentLightningStyle(unsigned int segmentIndex,
41  bool enableLightningStyle) = 0;
42 
44  virtual void setSegmentStartArrow(unsigned int segmentIndex,
45  bool enableArrow) = 0;
46 
49  virtual void setSegmentEndArrow(unsigned int segmentIndex,
50  bool enableArrow) = 0;
51 
56  virtual void setSegmentStipplePattern(unsigned int segmentIndex,
57  unsigned int stipplePattern, int repeatFactor=1) = 0;
58 
60  virtual void setSegmentWidth(unsigned int segmentIndex, double width) = 0;
61 
64  virtual void setSegmentStartColor( unsigned int segmentIndex, float r,
65  float g, float b, float a ) = 0;
66 
69  virtual void setSegmentEndColor( unsigned int segmentIndex, float r,
70  float g, float b, float a ) = 0;
71 
73  virtual void setArrowSize(double) = 0;
74 
76  virtual void setArrowStyle(int) = 0;
77 
78  }; // class DT_DLL_VRVCORE DtSegmentedLineModel
79 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)