scatter 0.1.0
ContourPlotOptions.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/ContourPlot.hpp>
24
25namespace scatter
26{
27
34 {
35 public:
41
47
54 Options &setNumLevels(const int &num_levels);
55
62 Options &setColourLow(const Colour &colour_low);
63
70 Options &setColourHigh(const Colour &colour_high);
71
77 const int &getNumLevels() const;
78
84 const Colour &getColourLow() const;
85
91 const Colour &getColourHigh() const;
92
93 private:
95 int num_levels_ = 10;
96
98 Colour colour_low_ = Colour(1.0, 0.0, 0.0, 1.0);
100 Colour colour_high_ = Colour(0.5, 1.0, 0.0, 1.0);
101 };
102
103} // namespace scatter
define a RGBA colour
Definition Colour.hpp:34
[brief description]
Definition ContourPlotOptions.hpp:34
const Colour & getColourLow() const
[brief description]
~Options()
[brief description]
const Colour & getColourHigh() const
[brief description]
Options & setColourLow(const Colour &colour_low)
[brief description]
const int & getNumLevels() const
[brief description]
Options()
[brief description]
Options & setNumLevels(const int &num_levels)
[brief description]
Options & setColourHigh(const Colour &colour_high)
[brief description]