]> Creatis software - clitk.git/blobdiff - vv/vvSlicerManagerCommand.cxx
Added Manual Registration Tool with updated Median Filter tool
[clitk.git] / vv / vvSlicerManagerCommand.cxx
index 0415c9e8934fe6b98fe6848b37e8ef01445c2776..5b35bdd826e9eb94797518a8fcd5f565a9e949bb 100644 (file)
 #include <vtkAssemblyPath.h>
 #include <vtkCornerAnnotation.h>
 #include <vtkRenderWindow.h>
-
+#include <vvImage.h>
+#include <vtkImageReslice.h>
 #include "vvSlicer.h"
 #include "vvInteractorStyleNavigator.h"
+#include "vtkTransform.h"
 
 #include <cmath>
 
@@ -80,6 +82,8 @@ void vvSlicerManagerCommand::Execute(vtkObject *caller,
         if (VisibleInWindow>-1)
             renderer=this->SM->GetSlicer(VisibleInWindow)->GetRenderer();
         newLandmark = false;
+       
+
 
         if (event == vtkCommand::StartPickEvent && VisibleInWindow == -1)
         {
@@ -283,6 +287,7 @@ void vvSlicerManagerCommand::Execute(vtkObject *caller,
                     this->SM->UpdateSliceRange(VisibleInWindow);
                     this->SM->UpdateInfoOnCursorPosition(VisibleInWindow);
                 }
+                
             }
 
             //All type of mouse events