From 886bdd0fa43a2fcdeca306648b643b623af99f88 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Tue, 9 Feb 2016 17:38:28 -0200 Subject: Added TransitionControl and plot rewinding. New component overlays main view and handles middle clicks/drags to performing rewinding. Also sports smooth transitioning back to current projection whenever the mouse button is lifted. Next up, the same kind of transitions in the displayed values. --- manipulationhandler.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manipulationhandler.h') diff --git a/manipulationhandler.h b/manipulationhandler.h index 78ca1c9..1e17446 100644 --- a/manipulationhandler.h +++ b/manipulationhandler.h @@ -27,9 +27,10 @@ signals: public slots: void setCP(const arma::mat &Ys); + void setRewind(double t); private: - arma::mat m_X, m_Y; + arma::mat m_X, m_Y, m_prevY, m_firstY; arma::uvec m_cpIndices, m_rpIndices; Technique m_technique; }; -- cgit v1.2.3