]> Creatis software - clitk.git/blobdiff - vv/vvSlicerManagerCommand.cxx
Added clitkAffineRegistration from Jef's file. Also does translations only and rigid...
[clitk.git] / vv / vvSlicerManagerCommand.cxx
index 5d252043bb0603c9f5f0f58419df63b9f0a3ff73..5b1ad270442ecce2dc4267400b5c4991b1775b03 100644 (file)
@@ -188,7 +188,16 @@ void vvSlicerManagerCommand::Execute(vtkObject *caller,
           this->SM->Render();
           return;
         }
-        if (KeyPress == "u") {
+        if (KeyPress == "x") {
+         for(int i=0;i<SM->NumberOfSlicers();i++)
+         {
+          SM->RemoveActor("overlay",0);
+          SM->SetColorMap(0);
+          SM->Render();
+         }
+          return;
+       }
+       if (KeyPress == "u") {
           this->SM->Reload();
           this->SM->Render();
           return;