aboutsummaryrefslogtreecommitdiff
path: root/scatterplot.h
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2015-05-15 18:10:52 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2015-05-15 18:10:52 -0300
commit0b6df071d94ae8f7c9cdd3c96506a1420129e471 (patch)
treeea73a59457beba89ef6bab2b16d2d679d8dd1078 /scatterplot.h
Initial commit. ForceScheme seems bugged.
Diffstat (limited to 'scatterplot.h')
-rw-r--r--scatterplot.h26
1 files changed, 26 insertions, 0 deletions
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 <armadillo>
+#include <vector>
+#include <QQuickItem>
+
+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