wxPlot 1.8 Real time plot library for wxWidgets

Loading...
Searching...
No Matches
plots.hpp
1#pragma once
2
3#include "plotfigures/plotfigures.hpp"
4#include "plottypes/plottypes.hpp"
5
10 class Plots {
11
12 private:
13 PlotTypes plotTypes;
14
15 PlotFigure plotFigures;
16
17 public:
18
23 PlotTypes& getPlotTypes();
24
29 PlotFigure& getPlotFigures();
30
36 void setWxPlotFigureType(const WXPLOT_FIGURE wxPlotFigure, const WXPLOT_TYPE wxPlotType);
37
42 void setData(const std::vector<std::vector<double>>& data2D);
43
48 void setData(const std::vector<double>& data1D);
49
50};
PlotFigure
This is the plot figure class. It contains plot figures such as 2D, 3D and customs.
Definition plotfigures.hpp:9
PlotTypes
Here all the plot types e.g 2D, 3D, custom etc. are included.
Definition plottypes.hpp:9
Plots
Plot class for wxPlot. This class contains plot types and plot figures.
Definition plots.hpp:10
Plots::setData
void setData(const std::vector< std::vector< double > > &data2D)
Set 2D data.
Definition plots.cpp:15
Plots::getPlotFigures
PlotFigure & getPlotFigures()
Return the reference of plot figure object.
Definition plots.cpp:6
Plots::setWxPlotFigureType
void setWxPlotFigureType(const WXPLOT_FIGURE wxPlotFigure, const WXPLOT_TYPE wxPlotType)
Set the plot type selection and plot figure selection.
Definition plots.cpp:10
Plots::getPlotTypes
PlotTypes & getPlotTypes()
Return the reference of plot types object.
Definition plots.cpp:3