From a1956a4ff879eb2d34c7a0ca448f48ee6e64ce99 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Tue, 1 Sep 2015 20:45:02 -0300 Subject: Improvements related to visual representation of distortions. - New continuous color scale class; - Improvements in signal handler for calculating distortions; - Implementation of the NP(k) measure. --- scatterplot.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scatterplot.h') diff --git a/scatterplot.h b/scatterplot.h index a115755..7ed58c8 100644 --- a/scatterplot.h +++ b/scatterplot.h @@ -12,7 +12,7 @@ class Scatterplot : public QQuickItem public: Scatterplot(QQuickItem *parent = 0); - void setColorScale(const ColorScale &colorScale); + void setColorScale(ColorScale *colorScale); signals: void xyChanged(const arma::mat &XY); @@ -58,7 +58,7 @@ private: arma::vec m_colorData; - ColorScale m_colorScale; + ColorScale *m_colorScale; }; #endif // SCATTERPLOT_H -- cgit v1.2.3