|
NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
This class encapsulates the mglGraph object during transmission from the kernel to the GUI. More...
#include <graph_helper.hpp>
Public Member Functions | |
| GraphHelper (mglGraph *__graph, const PlotData &_pData) | |
| Constructor. More... | |
| ~GraphHelper () | |
| Destructor. Deletes the internal mglGraph pointer. More... | |
| int | Draw (mglGraph *_graph) |
| Empty virtual function implementation. More... | |
| void | Reload () |
| Empty virtual function implementation. More... | |
| mglGraph * | setGrapher () |
| bool | getLighting () |
| bool | getAlpha () |
| bool | getHires () |
| double | getAspect () |
| void | setAspect (double aspect) |
| std::string | getTitle () |
Private Attributes | |
| mglGraph * | _graph |
| bool | bAlphaActive |
| bool | bLightActive |
| bool | bHires |
| double | dAspect |
| std::string | sTitle |
This class encapsulates the mglGraph object during transmission from the kernel to the GUI.
Definition at line 32 of file graph_helper.hpp.
| GraphHelper::GraphHelper | ( | mglGraph * | __graph, |
| const PlotData & | _pData | ||
| ) |
Constructor.
| __graph | mglGraph* |
| _pData | const PlotData& |
Definition at line 30 of file graph_helper.cpp.
References _graph, bAlphaActive, bHires, bLightActive, dAspect, PlotData::FLOAT_ASPECT, PlotData::getSettings(), PlotData::INT_HIGHRESLEVEL, PlotData::INT_LIGHTING, PlotData::LOG_ALPHA, sTitle, and PlotData::STR_COMPOSEDTITLE.
| GraphHelper::~GraphHelper | ( | ) |
Destructor. Deletes the internal mglGraph pointer.
Definition at line 45 of file graph_helper.cpp.
References _graph.
| int GraphHelper::Draw | ( | mglGraph * | _graph | ) |
Empty virtual function implementation.
| _graph | mglGraph* |
Definition at line 59 of file graph_helper.cpp.
|
inline |
Definition at line 52 of file graph_helper.hpp.
References bAlphaActive.
|
inline |
Definition at line 56 of file graph_helper.hpp.
References dAspect.
|
inline |
Definition at line 54 of file graph_helper.hpp.
References bHires.
|
inline |
Definition at line 50 of file graph_helper.hpp.
References bLightActive.
|
inline |
Definition at line 60 of file graph_helper.hpp.
References sTitle.
Referenced by NumeReWindow::showGraph().
| void GraphHelper::Reload | ( | ) |
|
inline |
Definition at line 58 of file graph_helper.hpp.
References dAspect.
Referenced by createPlotForHist1D(), and createPlotsForHist2D().
|
inline |
Definition at line 48 of file graph_helper.hpp.
References _graph.
Referenced by CustomWindow::setItemGraph().
|
private |
Definition at line 35 of file graph_helper.hpp.
Referenced by GraphHelper(), setGrapher(), and ~GraphHelper().
|
private |
Definition at line 36 of file graph_helper.hpp.
Referenced by getAlpha(), and GraphHelper().
|
private |
Definition at line 38 of file graph_helper.hpp.
Referenced by getHires(), and GraphHelper().
|
private |
Definition at line 37 of file graph_helper.hpp.
Referenced by getLighting(), and GraphHelper().
|
private |
Definition at line 39 of file graph_helper.hpp.
Referenced by getAspect(), GraphHelper(), and setAspect().
|
private |
Definition at line 40 of file graph_helper.hpp.
Referenced by getTitle(), and GraphHelper().