]> Creatis software - clitk.git/blobdiff - vv/vvSlicerManagerCommand.cxx
remove useless logs
[clitk.git] / vv / vvSlicerManagerCommand.cxx
index 80f6d514ead0428ab80f82d086be67feaff18688..32ef0593eaa09dbb3ae6cebe2e79de069ac18130 100644 (file)
@@ -107,6 +107,11 @@ void vvSlicerManagerCommand::Execute(vtkObject *caller,
                 {
                     FlyToPosition(isi->GetInteractor(),this->SM->GetSlicer(VisibleInWindow));
                 }
+               if (KeyPress == "z")
+               {
+                   this->SM->SetLocalColorWindowing(VisibleInWindow);
+                  return;
+               }
                 if (KeyPress == "0")
                 {
                     this->SM->SetPreset(0);
@@ -177,7 +182,6 @@ void vvSlicerManagerCommand::Execute(vtkObject *caller,
                 }
                 if (KeyPress == "minus")
                 {
-                    std::cout << "KeyPress : - " << std::endl;
                     this->SM->SetColorWindow(-this->SM->GetColorWindow());
                     this->SM->SetColorMap(-1);
                     this->SM->UpdateWindowLevel();
@@ -257,7 +261,6 @@ void vvSlicerManagerCommand::Execute(vtkObject *caller,
 
                 if (KeyPress == "F1")
                 {
-                    //std::cerr << this << ":" << this->SM->GetId() << "\t" << VisibleInWindow << endl;
                     this->SM->GetSlicer(VisibleInWindow)->GetAnnotation()->SetText(2,"Sagital\n<slice>");
                     this->SM->GetSlicer(VisibleInWindow)->SetSliceOrientation(0);
                     this->SM->UpdateSliceRange(VisibleInWindow);