##// END OF EJS Templates
Added static plugin support...
Added static plugin support In case of fully static exe even plugins must be static to allow single file executable. Small fix, when using resources in app from library they must be initialized with Q_INIT_RESOURCE. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1029:2928e8449245
r1156:247dc18789c6
Show More
SpectrogramSeries.h
40 lines | 1.5 KiB | text/x-c | CLexer
/ core / include / Data / SpectrogramSeries.h
Alexandre Leroux
Creates SpectrogramSeries...
r869 #ifndef SCIQLOP_SPECTROGRAMSERIES_H
#define SCIQLOP_SPECTROGRAMSERIES_H
#include "CoreGlobal.h"
#include <Data/DataSeries.h>
/**
* @brief The SpectrogramSeries class is the implementation for a data series representing a
* spectrogram.
*
* It defines values on a x-axis and a y-axis.
*/
class SCIQLOP_CORE_EXPORT SpectrogramSeries : public DataSeries<2> {
public:
/// Ctor
explicit SpectrogramSeries(std::vector<double> xAxisData, std::vector<double> yAxisData,
std::vector<double> valuesData, const Unit &xAxisUnit,
Alexandre Leroux
Updates spectrogram to hold time resolution...
r1029 const Unit &yAxisUnit, const Unit &valuesUnit,
double xResolution = std::numeric_limits<double>::quiet_NaN());
Alexandre Leroux
Creates SpectrogramSeries...
r869
/// Ctor directly with the y-axis
explicit SpectrogramSeries(std::shared_ptr<ArrayData<1> > xAxisData, const Unit &xAxisUnit,
std::shared_ptr<ArrayData<2> > valuesData, const Unit &valuesUnit,
Alexandre Leroux
Updates spectrogram to hold time resolution...
r1029 OptionalAxis yAxis,
double xResolution = std::numeric_limits<double>::quiet_NaN());
Alexandre Leroux
Creates SpectrogramSeries...
r869
/// @sa DataSeries::clone()
std::unique_ptr<IDataSeries> clone() const override;
/// @sa DataSeries::subDataSeries()
std::shared_ptr<IDataSeries> subDataSeries(const SqpRange &range) override;
Alexandre Leroux
Updates spectrogram to hold time resolution...
r1029
inline double xResolution() const noexcept { return m_XResolution; }
private:
double m_XResolution; ///< Resolution used on x-axis to build the spectrogram
Alexandre Leroux
Creates SpectrogramSeries...
r869 };
#endif // SCIQLOP_SPECTROGRAMSERIES_H