##// END OF EJS Templates
Separate the initialization of the properties of the graph of the update of the units of the graph....
Separate the initialization of the properties of the graph of the update of the units of the graph. The initialization of the properties is carried out when adding a variable in the graph, the update of the units is carried out when loading the data of this variable

File last commit:

r694:c050c224f3de
r1308:41b7c6aab8be
Show More
VectorSeries.h
34 lines | 1.2 KiB | text/x-c | CLexer
Alexandre Leroux
Creates vector series...
r561 #ifndef SCIQLOP_VECTORSERIES_H
#define SCIQLOP_VECTORSERIES_H
#include "CoreGlobal.h"
#include <Data/DataSeries.h>
/**
* @brief The VectorSeries class is the implementation for a data series representing a vector.
*/
class SCIQLOP_CORE_EXPORT VectorSeries : public DataSeries<2> {
public:
/**
Alexandre Leroux
Updates VectorSeries() to create a single QVector for ArrayData with three vectors in entry
r646 * Ctor with three vectors (one per component). The vectors must have the same size, otherwise a
* ScalarSeries with no values will be created.
Alexandre Leroux
Creates vector series...
r561 * @param xAxisData x-axis data
* @param xvaluesData x-values data
* @param yvaluesData y-values data
* @param zvaluesData z-values data
*/
Alexandre Leroux
Uses std::vector instead of QVector in ArrayData (1)...
r694 explicit VectorSeries(std::vector<double> xAxisData, std::vector<double> xValuesData,
std::vector<double> yValuesData, std::vector<double> zValuesData,
Alexandre Leroux
Creates vector series...
r561 const Unit &xAxisUnit, const Unit &valuesUnit);
Alexandre Leroux
Updates VectorSeries() to create a single QVector for ArrayData with three vectors in entry
r646 /// Default Ctor
Alexandre Leroux
Uses std::vector instead of QVector in ArrayData (1)...
r694 explicit VectorSeries(std::vector<double> xAxisData, std::vector<double> valuesData,
Alexandre Leroux
Updates VectorSeries() to create a single QVector for ArrayData with three vectors in entry
r646 const Unit &xAxisUnit, const Unit &valuesUnit);
Alexandre Leroux
Creates vector series...
r561 std::unique_ptr<IDataSeries> clone() const;
std::shared_ptr<IDataSeries> subDataSeries(const SqpRange &range) override;
};
#endif // SCIQLOP_VECTORSERIES_H