##// END OF EJS Templates
Merge branch 'feature/ImprovePerfs3' into develop
Merge branch 'feature/ImprovePerfs3' into develop

File last commit:

r644:c050c224f3de
r648:cdcfd45a9b91 merge
Show More
ScalarSeries.h
27 lines | 853 B | text/x-c | CLexer
Alexandre Leroux
Creates scalar series
r118 #ifndef SCIQLOP_SCALARSERIES_H
#define SCIQLOP_SCALARSERIES_H
Alexandre Leroux
Exports core module as a shared library...
r425 #include "CoreGlobal.h"
Alexandre Leroux
Creates scalar series
r118 #include <Data/DataSeries.h>
/**
* @brief The ScalarSeries class is the implementation for a data series representing a scalar.
*/
Alexandre Leroux
Exports core module as a shared library...
r425 class SCIQLOP_CORE_EXPORT ScalarSeries : public DataSeries<1> {
Alexandre Leroux
Creates scalar series
r118 public:
Alexandre Leroux
Creates constructor for ScalarSeries that directly takes vectors...
r361 /**
* 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
*/
Alexandre Leroux
Uses std::vector instead of QVector in ArrayData (1)...
r644 explicit ScalarSeries(std::vector<double> xAxisData, std::vector<double> valuesData,
Alexandre Leroux
Creates constructor for ScalarSeries that directly takes vectors...
r361 const Unit &xAxisUnit, const Unit &valuesUnit);
Implementation of V5 acquisition
r510 std::unique_ptr<IDataSeries> clone() const override;
Alexandre Leroux
Renames subData() to subDataSeries()...
r522 std::shared_ptr<IDataSeries> subDataSeries(const SqpRange &range) override;
Alexandre Leroux
Creates scalar series
r118 };
#endif // SCIQLOP_SCALARSERIES_H