From a7057e740e0ea78a2a53f9e579ff07058e8b060f Mon Sep 17 00:00:00 2001 From: bharath Date: Wed, 2 Jun 2010 19:30:42 +0000 Subject: [PATCH] shortcut to remove overlay --- vv/vvSlicerManagerCommand.cxx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/vv/vvSlicerManagerCommand.cxx b/vv/vvSlicerManagerCommand.cxx index 5d25204..5b1ad27 100644 --- a/vv/vvSlicerManagerCommand.cxx +++ b/vv/vvSlicerManagerCommand.cxx @@ -188,7 +188,16 @@ void vvSlicerManagerCommand::Execute(vtkObject *caller, this->SM->Render(); return; } - if (KeyPress == "u") { + if (KeyPress == "x") { + for(int i=0;iNumberOfSlicers();i++) + { + SM->RemoveActor("overlay",0); + SM->SetColorMap(0); + SM->Render(); + } + return; + } + if (KeyPress == "u") { this->SM->Reload(); this->SM->Render(); return; -- 2.49.0