aboutsummaryrefslogtreecommitdiff
path: root/manipulationhandler.cpp
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-03-02 15:47:24 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2016-03-02 15:47:24 -0300
commit3ce49858c6859fccc2e4d35839c34685348790d1 (patch)
tree9919729ae2d094ab3bed9fb45184c027713d9127 /manipulationhandler.cpp
parent00efaedf4e328604598975a07a497d1ce769bb19 (diff)
Improvements related to ColorScale and screenshots.
* 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
Diffstat (limited to 'manipulationhandler.cpp')
-rw-r--r--manipulationhandler.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/manipulationhandler.cpp b/manipulationhandler.cpp
index daaba01..89aa968 100644
--- a/manipulationhandler.cpp
+++ b/manipulationhandler.cpp
@@ -5,14 +5,11 @@
#include "mp.h"
ManipulationHandler::ManipulationHandler(const arma::mat &X,
- const arma::uvec &cpIndices,
- ProjectionHistory *history)
+ const arma::uvec &cpIndices)
: m_X(X)
, m_cpIndices(cpIndices)
- , m_history(history)
, m_technique(TECHNIQUE_LAMP)
{
- Q_ASSERT(history);
}
void ManipulationHandler::setCP(const arma::mat &Ys)