From 5c26dd04dd171112d14bfb24db96cf286566e19b Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Tue, 9 Feb 2016 21:36:34 -0200 Subject: Slightly reworked rewinding; added values rewinding. Needs a solution to the problem of which values must be displayed and/or interpolated. Currently, whenever the user rewinds, the current error measure is displayed, regardless of what was being displayed before. This will probably be trivial to solve once we have a nice way of changing the current measure. * Also changed all OpenMP-powered for loops to use signed integers, requirements of OMP2.x (which is what MSVC supports currently) * The above change comes with a new header for utility functions --- manipulationhandler.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'manipulationhandler.cpp') diff --git a/manipulationhandler.cpp b/manipulationhandler.cpp index 7d3e3c0..707d4c7 100644 --- a/manipulationhandler.cpp +++ b/manipulationhandler.cpp @@ -68,11 +68,7 @@ void ManipulationHandler::setRewind(double t) } arma::mat Y = m_Y * t + m_prevY * (1.0 - t); - emit cpChanged(Y.rows(m_cpIndices)); - emit rpChanged(Y.rows(m_rpIndices)); - - // NOTE: this signal was supposed to be emitted, but since we don't want - // anything besides graphical objects to know the projection is being - // rewound, this is (for now) left out. - // emit mapChanged(Y); + emit cpRewound(Y.rows(m_cpIndices)); + emit rpRewound(Y.rows(m_rpIndices)); + emit mapRewound(Y); } -- cgit v1.2.3