scatter
0.1.0
PlotOptions.hpp
1
/*
2
* Copyright (C) Tobias Löw (tobi.loew@protonmail.ch)
3
*
4
* This file is part of Scatter
5
*
6
* Scatter is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* Scatter is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with Scatter. If not, see <https://www.gnu.org/licenses/>.
18
*/
19
20
#pragma once
21
22
#include <memory>
23
#include <scatter/AxisOptions.hpp>
24
#include <scatter/ColourScheme.hpp>
25
#include <scatter/LegendOptions.hpp>
26
#include <scatter/TextOptions.hpp>
27
28
namespace
scatter
29
{
35
class
PlotOptions
36
{
37
public
:
42
PlotOptions
();
43
48
virtual
~PlotOptions
();
49
55
AxisOptions
&
getAxisOptions
();
56
62
LegendOptions
&
getLegendOptions
();
63
69
TextOptions
&
getTitleOptions
();
70
76
TextOptions
&
getTextOptions
();
77
83
const
AxisOptions
&
getAxisOptions
()
const
;
84
90
const
LegendOptions
&
getLegendOptions
()
const
;
91
97
void
setTitle
(
const
std::string &title_text);
98
104
const
std::string &
getTitle
()
const
;
105
111
const
TextOptions
&
getTitleOptions
()
const
;
112
118
const
TextOptions
&
getTextOptions
()
const
;
119
125
const
ColourScheme
&
getColourScheme
()
const
;
126
127
private
:
129
AxisOptions
axis_;
130
132
LegendOptions
legend_;
133
135
TextOptions
title_;
136
138
std::string title_text_;
139
141
TextOptions
text_;
142
144
std::shared_ptr<ColourScheme> colour_scheme_;
145
};
146
147
}
// namespace scatter
scatter::AxisOptions
[brief description]
Definition
AxisOptions.hpp:32
scatter::ColourScheme
Definition
ColourScheme.hpp:30
scatter::LegendOptions
[brief description]
Definition
LegendOptions.hpp:32
scatter::PlotOptions
[brief description]
Definition
PlotOptions.hpp:36
scatter::PlotOptions::~PlotOptions
virtual ~PlotOptions()
[brief description]
scatter::PlotOptions::getTextOptions
TextOptions & getTextOptions()
[brief description]
scatter::PlotOptions::getTitleOptions
const TextOptions & getTitleOptions() const
[brief description]
scatter::PlotOptions::getTitleOptions
TextOptions & getTitleOptions()
[brief description]
scatter::PlotOptions::getColourScheme
const ColourScheme & getColourScheme() const
[brief description]
scatter::PlotOptions::PlotOptions
PlotOptions()
[brief description]
scatter::PlotOptions::getTextOptions
const TextOptions & getTextOptions() const
[brief description]
scatter::PlotOptions::getTitle
const std::string & getTitle() const
[brief description]
scatter::PlotOptions::setTitle
void setTitle(const std::string &title_text)
[brief description]
scatter::PlotOptions::getAxisOptions
const AxisOptions & getAxisOptions() const
[brief description]
scatter::PlotOptions::getAxisOptions
AxisOptions & getAxisOptions()
[brief description]
scatter::PlotOptions::getLegendOptions
LegendOptions & getLegendOptions()
[brief description]
scatter::PlotOptions::getLegendOptions
const LegendOptions & getLegendOptions() const
[brief description]
scatter::TextOptions
[brief description]
Definition
TextOptions.hpp:32
src
scatter
PlotOptions.hpp
Generated by
1.11.0