aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2015-09-29 16:10:12 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2015-09-29 16:10:12 -0300
commitd7e8fe9f5ba2d3c290767342604f41b5e72589a8 (patch)
tree365a937b30433f9b109bbd625b7cbd411e59b8b6
parent4cad7b34f3a860d4537c1513f63d78d337b60c62 (diff)
Watch for both interactive and non-interactive changes to subsamples when displaying the LAMP projection.
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
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 &)),