From 6a7b60784a44013156382843a5e72af272810674 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Fri, 22 May 2015 18:40:07 -0300 Subject: Improvements to UI and performance. --- scatterplot.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'scatterplot.h') diff --git a/scatterplot.h b/scatterplot.h index 2b5aed8..a155daf 100644 --- a/scatterplot.h +++ b/scatterplot.h @@ -2,8 +2,7 @@ #define SCATTERPLOT_H #include -#include -#include +#include #include "colorscale.h" @@ -34,6 +33,11 @@ private: float fromDataXToScreenX(float x); float fromDataYToScreenY(float y); + arma::mat m_data; + float m_xmin, m_xmax, m_ymin, m_ymax; + + ColorScale m_colorScale; + enum InteractionState { INTERACTION_NONE, INTERACTION_SELECTING, @@ -41,12 +45,8 @@ private: INTERACTION_MOVING } m_currentState; QPointF m_dragOriginPos, m_dragCurrentPos; - QList m_selectedGlyphs; - arma::mat m_data; - float m_xmin, m_xmax, m_ymin, m_ymax; - - ColorScale m_colorScale; + QSet m_selectedGlyphs; }; #endif // SCATTERPLOT_H -- cgit v1.2.3