##// END OF EJS Templates
Settings binding (4)...
Settings binding (4) Loads settings when opening the dialog, and save settings when closing it (if it's by the OK button)

File last commit:

r461:b8af3b4730c2
r469:7a2eb58d2083
Show More
ScalarSeries.h
25 lines | 755 B | text/x-c | CLexer
#ifndef SCIQLOP_SCALARSERIES_H
#define SCIQLOP_SCALARSERIES_H
#include "CoreGlobal.h"
#include <Data/DataSeries.h>
/**
* @brief The ScalarSeries class is the implementation for a data series representing a scalar.
*/
class SCIQLOP_CORE_EXPORT ScalarSeries : public DataSeries<1> {
public:
/**
* Ctor with two vectors. The vectors must have the same size, otherwise a ScalarSeries with no
* values will be created.
* @param xAxisData x-axis data
* @param valuesData values data
*/
explicit ScalarSeries(QVector<double> xAxisData, QVector<double> valuesData,
const Unit &xAxisUnit, const Unit &valuesUnit);
std::unique_ptr<IDataSeries> clone() const;
};
#endif // SCIQLOP_SCALARSERIES_H