diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2016-02-09 17:38:28 -0200 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2016-02-09 17:38:28 -0200 |
commit | 886bdd0fa43a2fcdeca306648b643b623af99f88 (patch) | |
tree | 7ffa1e622724862b8b99387199fb1ef7cbf79b28 /manipulationhandler.h | |
parent | 962114b867c044240919ebc558c0b25f105db963 (diff) |
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.
Diffstat (limited to 'manipulationhandler.h')
-rw-r--r-- | manipulationhandler.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; }; |