VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtRangeEditorInterface.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 <vrvCoreQt/vrvCoreQt.h>
13 
14 namespace makVrv
15 {
16 
20  {
21  public:
22 
24  typedef std::vector<double> ControlPoint;
25 
27  typedef std::vector<DtRangeEditorInterface::ControlPoint> Gradient;
28 
29  public:
30 
32  virtual ~DtRangeEditorInterface();
33 
35  virtual void clearGradient() = 0;
36 
38  virtual void addControlPoint( double rangeStart, double rangeEnd,
39  double red, double green, double blue, double alpha = 1.0 ) = 0;
40 
42  virtual void addControlPoint( DtRangeEditorInterface::ControlPoint cp ) = 0;
43 
45  virtual void setGradient( DtRangeEditorInterface::Gradient grad ) = 0;
46 
48  virtual DtRangeEditorInterface::Gradient gradient() const = 0;
49 
52  boost::signal<void (const DtRangeEditorInterface::Gradient&)> signal_gradientChanged;
53 
54  };
55 
56 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)