NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
graph_helper.cpp
Go to the documentation of this file.
1/*****************************************************************************
2 NumeRe: Framework fuer Numerische Rechnungen
3 Copyright (C) 2017 Erik Haenel et al.
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17******************************************************************************/
18
19#include "graph_helper.hpp"
20#include "../../kernel.hpp"
21#include "../utils/tools.hpp"
22
30GraphHelper::GraphHelper(mglGraph* __graph, const PlotData& _pData)
31{
32 _graph = __graph;
38}
39
40
46{
47 if (_graph)
48 delete _graph;
49}
50
51
59int GraphHelper::Draw(mglGraph* _graph)
60{
61 return 0;
62}
63
64
72{
73 return;
74}
75
int Draw(mglGraph *_graph)
Empty virtual function implementation.
GraphHelper(mglGraph *__graph, const PlotData &_pData)
Constructor.
~GraphHelper()
Destructor. Deletes the internal mglGraph pointer.
std::string sTitle
mglGraph * _graph
void Reload()
Empty virtual function implementation.
double dAspect
This class contains all the plot settings usable by the plotting algorithm.
Definition: plotdata.hpp:42
@ STR_COMPOSEDTITLE
Definition: plotdata.hpp:135
@ INT_LIGHTING
Definition: plotdata.hpp:107
@ INT_HIGHRESLEVEL
Definition: plotdata.hpp:104
@ FLOAT_ASPECT
Definition: plotdata.hpp:118
bool getSettings(LogicalPlotSetting setting) const
Definition: plotdata.hpp:210
@ LOG_ALPHA
Definition: plotdata.hpp:63