]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkImagePlanes.cxx
Some re indent
[bbtk.git] / packages / vtk / src / bbvtkImagePlanes.cxx
index 3c94907cefcf6766350425c47be9604706ee667f..a6eef68aa2e34596b3cdf12f4a973400d35beb97 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbvtkImagePlanes.cxx,v $
   Language:  C++
-  Date:      $Date: 2009/03/12 09:36:21 $
-  Version:   $Revision: 1.21 $
+  Date:      $Date: 2009/04/17 09:24:02 $
+  Version:   $Revision: 1.22 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -109,7 +109,7 @@ namespace bbvtk
 {
 
   //================================================================
 class ImagePlanes::VtkCallbackType : public vtkCommand
+ class ImagePlanes::VtkCallbackType : public vtkCommand
  {
  public:
    static VtkCallbackType *New()
@@ -133,8 +133,7 @@ namespace bbvtk
  };
   //================================================================
 
-  //vtkCxxRevisionMacro(ImagePlanes::VtkCallbackType, "$Revision: 1.21 $");
-
+  //vtkCxxRevisionMacro(ImagePlanes::VtkCallbackType, "$Revision: 1.22 $");
 
   //================================================================
 
@@ -266,7 +265,6 @@ namespace bbvtk
             double xSpacing, ySpacing, zSpacing;
             bbGetInputIn()->GetSpacing(xSpacing, ySpacing, zSpacing);
          
-
             bbGetOutputPlaneX()->SetInput(bbGetInputIn());
             bbGetOutputPlaneX()->SetPlaneOrientationToXAxes();  
             bbGetOutputPlaneX()->SetSlicePosition((xMax+xMin)/2.*xSpacing);
@@ -290,15 +288,12 @@ namespace bbvtk
                 bbGetOutputPlaneZ()->SetWindowLevel(range[1] - range[0],
                                                     0.5*(range[1]+range[0]));
               }
-          }
-        
+          }     
         
         // UPDATE DES SORTIES 
         bbGetOutputPlaneX()->GetResliceOutput()->Update();
         bbGetOutputPlaneY()->GetResliceOutput()->Update(); 
-        bbGetOutputPlaneZ()->GetResliceOutput()->Update(); 
-        
-                
+        bbGetOutputPlaneZ()->GetResliceOutput()->Update();              
        }
    }
 }//namespace bbtk