diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2016-02-11 12:03:59 -0200 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2016-02-11 12:03:59 -0200 |
commit | b5ca997b2d2a64f955b78208d0362cba0278f8d3 (patch) | |
tree | 0dbd235d7c91c11968946142e8ed7df155471c7e /manipulationhandler.h | |
parent | ff08c0541156faf8a220a62b4192a80803b86da3 (diff) |
Modified the way the history interacts with other components.
* 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
Diffstat (limited to 'manipulationhandler.h')
-rw-r--r-- | manipulationhandler.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/manipulationhandler.h b/manipulationhandler.h index 8bb8a98..b1aed61 100644 --- a/manipulationhandler.h +++ b/manipulationhandler.h @@ -26,11 +26,7 @@ public: void setTechnique(Technique technique) { m_technique = technique; } signals: - void cpChanged(const arma::mat &cpY) const; - void rpChanged(const arma::mat &rpY) const; void mapChanged(const arma::mat &Y) const; - void cpRewound(const arma::mat &cpY) const; - void rpRewound(const arma::mat &rpY) const; void mapRewound(const arma::mat &Y) const; public slots: @@ -39,7 +35,7 @@ public slots: private: arma::mat m_X; - arma::uvec m_cpIndices, m_rpIndices; + arma::uvec m_cpIndices; ProjectionHistory *m_history; Technique m_technique; }; |