|
NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <mgl2/mgl.h>#include <map>#include <utility>#include "plotdata.hpp"#include "../../kernel.hpp"Go to the source code of this file.
Classes | |
| struct | AxisLabels |
| Structure for simplification of the standard axis labels. More... | |
Macros | |
| #define | STYLES_COUNT 20 |
Functions | |
| bool | isNotEmptyExpression (const std::string &sExpr) |
| This function checks, whether the passed expression is non-empty (i.e. it contains more than white spaces). More... | |
| static mu::value_type * | evaluateNumerical (int &nResults, std::string sExpression) |
| Static helper function to evaluate numerical parameters. More... | |
| static bool | checkColorChars (const std::string &sColorSet) |
| Static helper function to evaluate the passed color characters for their validness. More... | |
| static bool | checkLineChars (const std::string &sLineSet) |
| Static helper function to evaluate the passed line type characters for their validness. More... | |
| static bool | checkPointChars (const std::string &sPointSet) |
| Static heloer function to evaluate the passeed point type characters for their validness. More... | |
| static std::map< std::string, std::pair< PlotData::LogicalPlotSetting, PlotData::ParamType > > | getGenericSwitches () |
| Static helper function to create a map containing the simple logical plot settings. More... | |
| static std::map< std::string, std::string > | getColorSchemes () |
| Static helper function to create a map containing all color schemes and their corresponding color characters. More... | |
| static std::map< CoordinateSystem, AxisLabels > | getLabelDefinitions () |
| Static helper function to create a map containing the standard axis labels for each coordinate system. More... | |
Variables | |
| mglGraph | _fontData |
| const char * | SECAXIS_DEFAULT_COLOR = "k" |
| #define STYLES_COUNT 20 |
Definition at line 24 of file plotdata.cpp.
|
static |
Static helper function to evaluate the passed color characters for their validness.
| sColorSet | const std::string& |
Definition at line 65 of file plotdata.cpp.
Referenced by PlotData::setParams().
|
static |
Static helper function to evaluate the passed line type characters for their validness.
| sLineSet | const std::string& |
Definition at line 97 of file plotdata.cpp.
Referenced by PlotData::setParams().
|
static |
Static heloer function to evaluate the passeed point type characters for their validness.
| sPointSet | const std::string& |
Definition at line 120 of file plotdata.cpp.
Referenced by PlotData::setParams().
|
static |
Static helper function to evaluate numerical parameters.
| nResults | int& |
| sExpression | std::string |
Definition at line 42 of file plotdata.cpp.
References MemoryManager::containsTablesOrClusters(), mu::ParserBase::Eval(), getDataElements(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), NumeReKernel::getParser(), and mu::ParserBase::SetExpr().
Referenced by PlotData::setParams().
|
static |
Static helper function to create a map containing all color schemes and their corresponding color characters.
Definition at line 181 of file plotdata.cpp.
Referenced by PlotData::getParams(), and PlotData::setParams().
|
static |
Static helper function to create a map containing the simple logical plot settings.
Definition at line 141 of file plotdata.cpp.
References PlotData::GLOBAL, PlotData::LOCAL, PlotData::LOG_ALPHAMASK, PlotData::LOG_AREA, PlotData::LOG_BOX, PlotData::LOG_BOXPLOT, PlotData::LOG_CLOUDPLOT, PlotData::LOG_COLORBAR, PlotData::LOG_COLORMASK, PlotData::LOG_CONNECTPOINTS, PlotData::LOG_CRUST, PlotData::LOG_CUTBOX, PlotData::LOG_DRAWPOINTS, PlotData::LOG_FIXEDLENGTH, PlotData::LOG_INTERPOLATE, PlotData::LOG_OPENIMAGE, PlotData::LOG_ORTHOPROJECT, PlotData::LOG_REGION, PlotData::LOG_SCHEMATIC, PlotData::LOG_SILENTMODE, PlotData::LOG_STEPPLOT, PlotData::LOG_TABLE, PlotData::LOG_XERROR, PlotData::LOG_YERROR, and PlotData::SUPERGLOBAL.
Referenced by PlotData::getParams(), and PlotData::setParams().
|
static |
Static helper function to create a map containing the standard axis labels for each coordinate system.
Definition at line 2497 of file plotdata.cpp.
References CARTESIAN, POLAR_PZ, POLAR_RP, POLAR_RZ, SPHERICAL_PT, SPHERICAL_RP, and SPHERICAL_RT.
Referenced by PlotData::getAxisLabel().
| bool isNotEmptyExpression | ( | const string & | sExpr | ) |
This function checks, whether the passed expression is non-empty (i.e. it contains more than white spaces).
| sExpr | const string& |
Definition at line 2275 of file dataaccess.cpp.
Referenced by FlowCtrl::checkFlowControlArgument(), cmd_plotting(), Plot::createSubPlotSet(), differentiate(), evalPoints(), findExtrema(), findZeroes(), readAndParseIntervals(), and readAndParseLegacyIntervals().
|
extern |
Definition at line 40 of file kernel.cpp.
Referenced by PlotData::reset(), and PlotData::setParams().
| const char* SECAXIS_DEFAULT_COLOR = "k" |
Definition at line 27 of file plotdata.cpp.
Referenced by PlotData::deleteData(), PlotData::getAddAxis(), PlotData::reset(), and PlotData::setParams().