##// END OF EJS Templates
Adds "hybrid" server mode...
Adds "hybrid" server mode Hybrid mode allows to use both the default server and the test server, depending on the "server" setting of each product in the JSON file

File last commit:

r694:c050c224f3de
r1151:7dc72cc510ff
Show More
VectorSeries.h
34 lines | 1.2 KiB | text/x-c | CLexer
#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:
/**
* Ctor with three vectors (one per component). The vectors must have the same size, otherwise a
* ScalarSeries with no values will be created.
* @param xAxisData x-axis data
* @param xvaluesData x-values data
* @param yvaluesData y-values data
* @param zvaluesData z-values data
*/
explicit VectorSeries(std::vector<double> xAxisData, std::vector<double> xValuesData,
std::vector<double> yValuesData, std::vector<double> zValuesData,
const Unit &xAxisUnit, const Unit &valuesUnit);
/// Default Ctor
explicit VectorSeries(std::vector<double> xAxisData, std::vector<double> valuesData,
const Unit &xAxisUnit, const Unit &valuesUnit);
std::unique_ptr<IDataSeries> clone() const;
std::shared_ptr<IDataSeries> subDataSeries(const SqpRange &range) override;
};
#endif // SCIQLOP_VECTORSERIES_H