10 #ifndef SINEFUNCTION_H_ 11 #define SINEFUNCTION_H_ 13 #include <wx/xy/xydataset.h> 28 SineFunction(
double a,
double minX,
double maxX,
double step);
31 virtual double GetX(
size_t index,
size_t serie);
33 virtual double GetY(
size_t index,
size_t serie);
35 virtual size_t GetCount(
size_t serie);
Sine function of type: y = a * sin(x)
virtual size_t GetSerieCount()=0
Returns serie count in this dataset.
virtual double GetX(size_t index, size_t serie)=0
Returns x value at index.
virtual double GetY(size_t index, size_t serie)=0
Returns y value at index.
virtual size_t GetCount(size_t serie)=0
Returns value count in serie specified by index.
Base class for XY datasets.
virtual wxString GetSerieName(size_t serie)=0
Returns serie name.