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
10class Plots {
11
12private:
13 PlotTypes plotTypes;
14
15 PlotFigure plotFigures;
16
17public:
18
24
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};
This is the plot figure class. It contains plot figures such as 2D, 3D and customs.
Definition plotfigures.hpp:9
Here all the plot types e.g 2D, 3D, custom etc. are included.
Definition plottypes.hpp:9
Plot class for wxPlot. This class contains plot types and plot figures.
Definition plots.hpp:10
void setData(const std::vector< std::vector< double > > &data2D)
Set 2D data.
Definition plots.cpp:15
PlotFigure & getPlotFigures()
Return the reference of plot figure object.
Definition plots.cpp:6
void setWxPlotFigureType(const WXPLOT_FIGURE wxPlotFigure, const WXPLOT_TYPE wxPlotType)
Set the plot type selection and plot figure selection.
Definition plots.cpp:10
PlotTypes & getPlotTypes()
Return the reference of plot types object.
Definition plots.cpp:3