aboutsummaryrefslogtreecommitdiff
path: root/manipulationhandler.cpp
AgeCommit message (Collapse)Author
2016-03-02Improvements related to ColorScale and screenshots.Samuel Fadel
* ColorScale: now a pointer whenever needed. main() takes care of updating extents * New class DivergentColorScale: works specifically for divergent scales, always has 3 colors as input: negative values, 0, positive values * ManipulationHandler: ProjectionHistory no longer needed
2016-02-12Refactoring of Projection{Observer,History} & ManipulationHandler.Samuel Fadel
ProjectionObserver class has been removed, all of its functionality is now inside class ProjectionHistory, thus dealing with the design problem mentioned in the previous commit. ProjectionHistory is now also responsible for all rewinding functionality, which makes more sense.
2016-02-11Modified the way the history interacts with other components.Samuel Fadel
* Main class is now responsible for updating map components whenever the current map changes (even rewinding): this simplifies other objects because they don't have to know anything about how the data is being displayed later (no CP/RP juggling everywhere) * Added undo/reset actions to main view, including menu items * ProjectionHistory now has specific signals for each change happening to the history
2016-02-10Added ProjectionHistory object for history tracking.Samuel Fadel
2016-02-10Fixed issue #20; also removed some unused #include.Samuel Fadel
2016-02-09Slightly reworked rewinding; added values rewinding.Samuel Fadel
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
2016-02-09Added TransitionControl and plot rewinding.Samuel Fadel
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.
2016-01-28ManipulationHandler: changed numeric range type to match arma::uvec.Samuel Fadel
2016-01-25Scatterplots & splat now share the same scaling.Samuel Fadel