MarkerLine.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: Plot2d
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2016, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 #pragma once
14 
15 #include "CeePlot2d/Base.h"
16 
17 #include "CeeCore/Color3f.h"
18 #include "CeeCore/Str.h"
19 
20 #include "CeeVisualization/Font.h"
21 
22 namespace cee {
23 namespace plt {
24 
25 //==================================================================================================
26 //
27 //
28 //
29 //==================================================================================================
30 class CEE_PLT_EXPORT MarkerLine
31 {
32 public:
33  virtual ~MarkerLine();
34 
35  double value() const;
36  void setValue(double position);
37 
38  bool drawLine() const;
39  void setDrawLine(bool drawMarkerLine);
40 
41  Color3f color() const;
42  void setColor(const Color3f& color);
43 
44 private:
45  MarkerLine();
46  CEE_PRIVATE_F(OverlayPlot);
47  CEE_PRIVATE_IMPL(MarkerLine);
48  CEE_DISALLOW_COPY_AND_ASSIGN(MarkerLine);
49 };
50 
51 } // namespace plt
52 } // namespace cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Class for storing an RGB color triplet.
Definition: Color3f.h:25
Settings for a marker line in an OverlayPlot object.
Definition: MarkerLine.h:30
Overlay item with basic 2D plotting.
Definition: OverlayPlot.h:38