scatter 0.1.0
ColourGridPlotOptions.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 <scatter/Options.hpp>
23#include <scatter/plots/ColourGridPlot.hpp>
24
25namespace scatter
26{
27
34 {
35 public:
41
46 virtual ~Options();
47
54 Options &setXmin(const double &xmin);
55
62 Options &setXmax(const double &xmax);
63
70 Options &setYmin(const double &ymin);
71
78 Options &setYmax(const double &ymax);
79
86 Options &setColourLow(const Colour &colour_low);
87
94 Options &setColourHigh(const Colour &colour_high);
95
101 const double &getXmin() const;
102
108 const double &getXmax() const;
109
115 const double &getYmin() const;
116
122 const double &getYmax() const;
123
129 const Colour &getColourLow() const;
130
136 const Colour &getColourHigh() const;
137
138 private:
140 double xmin_;
142 double xmax_;
144 double ymin_;
146 double ymax_;
148 Colour colour_low_;
150 Colour colour_high_;
151 };
152
153} // namespace scatter
[brief description]
Definition ColourGridPlotOptions.hpp:34
Options & setYmin(const double &ymin)
[brief description]
Options & setColourHigh(const Colour &colour_high)
[brief description]
const double & getYmin() const
[brief description]
const double & getYmax() const
[brief description]
virtual ~Options()
[brief description]
Options & setYmax(const double &ymax)
[brief description]
Options()
[brief description]
Options & setColourLow(const Colour &colour_low)
[brief description]
Options & setXmin(const double &xmin)
[brief description]
Options & setXmax(const double &xmax)
[brief description]
const double & getXmin() const
[brief description]
const double & getXmax() const
[brief description]
const Colour & getColourLow() const
[brief description]
const Colour & getColourHigh() const
[brief description]
define a RGBA colour
Definition Colour.hpp:34