From 3ce49858c6859fccc2e4d35839c34685348790d1 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Wed, 2 Mar 2016 15:47:24 -0300 Subject: 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 --- manipulationhandler.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'manipulationhandler.cpp') 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) -- cgit v1.2.3