aboutsummaryrefslogtreecommitdiff
path: root/scatterplot.h
diff options
context:
space:
mode:
Diffstat (limited to 'scatterplot.h')
-rw-r--r--scatterplot.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/scatterplot.h b/scatterplot.h
index 93f4f3f..1b40040 100644
--- a/scatterplot.h
+++ b/scatterplot.h
@@ -23,11 +23,6 @@ public:
arma::mat XY() const;
void setColorScale(const ColorScale &colorScale);
- void setXY(const arma::mat &xy, bool updateView);
- void setColorData(const arma::vec &colorData, bool updateView);
- void setOpacityData(const arma::vec &opacityData, bool updateView);
- void setScale(const LinearScale<float> &sx, const LinearScale<float> &sy, bool updateView);
- void setGlyphSize(float glyphSize, bool updateView);
void setAutoScale(bool autoScale);
Q_INVOKABLE bool saveToFile(const QUrl &url);
@@ -52,10 +47,10 @@ public slots:
void setXY(const arma::mat &xy);
void setColorData(const arma::vec &colorData);
void setOpacityData(const arma::vec &opacityData);
+ void setScale(const LinearScale<float> &sx, const LinearScale<float> &sy);
void setSelection(const std::vector<bool> &selection);
void brushItem(int item);
- void setScale(const LinearScale<float> &sx, const LinearScale<float> &sy);
- Q_INVOKABLE void setGlyphSize(float glyphSize);
+ Q_INVOKABLE void setGlyphSize(float glyphSize, bool updateView = true);
protected:
QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *);