VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 
27  virtual ~DtSegmentedLineModel();
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 }
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains declaration of DtLineModel.
DtLineModel is the model interface for remote graphic lines.
Definition: DtLineModel.h:18
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
This class is a virtual class that all segmented line models must implement.
Definition: DtSegmentedLineModel.h:20
Contains DLL export macros.

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)