From 0b6df071d94ae8f7c9cdd3c96506a1420129e471 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Fri, 15 May 2015 18:10:52 -0300 Subject: Initial commit. ForceScheme seems bugged. --- scatterplot.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 scatterplot.h (limited to 'scatterplot.h') diff --git a/scatterplot.h b/scatterplot.h new file mode 100644 index 0000000..f38ce78 --- /dev/null +++ b/scatterplot.h @@ -0,0 +1,26 @@ +#ifndef SCATTERPLOT_H +#define SCATTERPLOT_H + +#include +#include +#include + +class Scatterplot : public QQuickItem +{ + Q_OBJECT +public: + Scatterplot(); + ~Scatterplot(); + + QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *); + void setData(const arma::mat &data); + +signals: + +public slots: + +private: + arma::mat m_data; +}; + +#endif // SCATTERPLOT_H -- cgit v1.2.3