From e05a1bd658a7bacb4e13f05b7125ceed7a33dd4b Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Thu, 3 Sep 2015 14:31:52 -0300 Subject: Updated Scatteplot's drawing code. - All glyphs use the same geometry, placement is done via affine transforms - Geometry memory handled using unique_ptr - Added outline to each glyph, avoiding color issues with the background --- scatterplot.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scatterplot.h') diff --git a/scatterplot.h b/scatterplot.h index 7ed58c8..4275561 100644 --- a/scatterplot.h +++ b/scatterplot.h @@ -1,6 +1,7 @@ #ifndef SCATTERPLOT_H #define SCATTERPLOT_H +#include #include #include @@ -54,6 +55,7 @@ private: QSet m_selectedGlyphs; + std::unique_ptr m_glyphGeometryPtr, m_glyphOutlineGeometryPtr; bool m_shouldUpdateGeometry, m_shouldUpdateMaterials; arma::vec m_colorData; -- cgit v1.2.3