From c069008f3c101a88da12ecf00452d61f1155c316 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Mon, 11 Jan 2016 15:46:23 +0100 Subject: Scatterplot: new methods for setting visual attrs without issuing update()s. * Also added calls to these new methods in main(). --- scatterplot.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scatterplot.h') diff --git a/scatterplot.h b/scatterplot.h index 8f2c8c4..d0153c0 100644 --- a/scatterplot.h +++ b/scatterplot.h @@ -18,6 +18,8 @@ public: arma::mat XY() const; void setColorScale(ColorScale *colorScale); + void setXY(const arma::mat &xy, bool updateView); + void setColorData(const arma::vec &colorData, bool updateView); Q_INVOKABLE bool saveToFile(const QUrl &url); signals: -- cgit v1.2.3