From d7e8fe9f5ba2d3c290767342604f41b5e72589a8 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Tue, 29 Sep 2015 16:10:12 -0300 Subject: Watch for both interactive and non-interactive changes to subsamples when displaying the LAMP projection. --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 68ba73d..559d554 100644 --- a/main.cpp +++ b/main.cpp @@ -70,6 +70,8 @@ int main(int argc, char **argv) InteractionHandler interactionHandler(X, sampleIndices); QObject::connect(subsamplePlot, SIGNAL(xyChanged(const arma::mat &)), &interactionHandler, SLOT(setSubsample(const arma::mat &))); + QObject::connect(subsamplePlot, SIGNAL(xyInteractivelyChanged(const arma::mat &)), + &interactionHandler, SLOT(setSubsample(const arma::mat &))); QObject::connect(&interactionHandler, SIGNAL(subsampleChanged(const arma::mat &)), plot, SLOT(setXY(const arma::mat &))); QObject::connect(subsamplePlot, SIGNAL(xyInteractivelyChanged(const arma::mat &)), -- cgit v1.2.3