15 #ifndef BORNAGAIN_GUI_COREGUI_MODELS_SPECULARDATAITEM_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_SPECULARDATAITEM_H
42 double getLowerX()
const;
43 double getUpperX()
const;
46 double getXmin()
const;
47 double getXmax()
const;
50 double getLowerY()
const;
51 double getUpperY()
const;
54 double getYmin()
const;
55 double getYmax()
const;
58 QString getXaxisTitle()
const;
59 QString getYaxisTitle()
const;
61 QPair<double, double> dataRange()
const;
74 std::vector<int>
shape()
const override;
81 void setLowerX(
double value);
82 void setUpperX(
double value);
83 void setLowerY(
double value);
84 void setUpperY(
double value);
85 void setLog(
bool log_flag);
88 void updateAxesZoomLevel();
Provides common functionality for IntensityDataItem and SpecularDataItem.
virtual void setAxesRangeToData()=0
virtual void updateAxesUnits(const InstrumentItem *instrument)=0
virtual void setOutputData(OutputData< double > *data)=0
The given pointer becomes owned by this class!!
virtual void setXaxisTitle(const QString &title)=0
virtual std::vector< int > shape() const =0
virtual void setYaxisTitle(const QString &title)=0
virtual void reset(ImportDataInfo data)=0
Resets data to the state defined by user (imported) data.
Carries information about loaded data.
static const QString P_YAXIS
static const QString P_TITLE
static const QString P_XAXIS
const QString y_axis_default_name
const QString x_axis_default_name