3Depict
|
#include "backend/filter.h"
#include "common/array2D.h"
#include <map>
#include <vector>
#include <utility>
#include "../config.h"
#include <mgl2/mgl.h>
Classes | |
class | PlotRegion |
Data class for holding info about non-overlapping. More... | |
class | RegionGroup |
struct | OVERLAY_DATA |
class | PlotOverlays |
Thse are 1D-stem style overlays that can be used. More... | |
class | PlotBase |
Base class for data plotting. More... | |
class | Plot1D |
1D Function f(x) More... | |
class | Plot2DFunc |
2D function, f(x,y). More... | |
class | Plot2DScatter |
2D scatter plot, {x,y}_i More... | |
class | PlotWrapper |
Enumerations | |
enum | { PLOT_LINE_LINES =0, PLOT_LINE_BARS, PLOT_LINE_STEPS, PLOT_LINE_STEM, PLOT_LINE_POINTS, PLOT_LINE_NONE, PLOT_2D_DENS, PLOT_2D_SCATTER, PLOT_TYPE_ENUM_END } |
enum | { PLOT_MODE_1D, PLOT_MODE_2D, PLOT_MODE_COLUMN, PLOT_MODE_MIXED, PLOT_MODE_ENUM_END } |
Functions | |
std::string | plotString (unsigned int plotMode) |
Return a human readable string for a given plot type. More... | |
std::string | plotErrmodeString (unsigned int errMode) |
Return a human readable string for the plot error mode. More... | |
unsigned int | plotID (const std::string &plotString) |
Return the plot type given a human readable string. More... | |
unsigned int | plotErrmodeID (const std::string &s) |
Return the error mode type, given the human readable string. More... | |
anonymous enum |
anonymous enum |
unsigned int plotErrmodeID | ( | const std::string & | s | ) |
Return the error mode type, given the human readable string.
References ASSERT, errModeStrings, and PLOT_ERROR_ENDOFENUM.
Referenced by ProfileFilter::setProperty().
std::string plotErrmodeString | ( | unsigned int | errMode | ) |
Return a human readable string for the plot error mode.
References errModeStrings, and plotID().
Referenced by ProfileFilter::getProperties().
unsigned int plotID | ( | const std::string & | plotString | ) |
Return the plot type given a human readable string.
References ASSERT, COMPILE_ASSERT, PLOT_TYPE_ENUM_END, THREEDEP_ARRAYSIZE, traceStyleStrings, and TRANS.
Referenced by PlotWrapper::getParent(), RangeEditorDialog::OnListPlots(), MainWindowFrame::OnSpectraListbox(), plotErrmodeString(), MathGLPane::registerUpdateHandler(), PlotWrapper::resetChange(), AnalysisState::save(), RangeEditorDialog::setPlotWrapper(), SpectrumPlotFilter::setProperty(), ProfileFilter::setProperty(), and VisController::updateScene().
std::string plotString | ( | unsigned int | plotMode | ) |
Return a human readable string for a given plot type.
References ASSERT, PLOT_TYPE_ENUM_END, traceStyleStrings, and TRANS.
Referenced by SpectrumPlotFilter::getProperties(), and ProfileFilter::getProperties().