]> Creatis software - gdcm.git/blobdiff - vtk/vtkgdcmViewer.cxx
ENH:First chunk of patch:
[gdcm.git] / vtk / vtkgdcmViewer.cxx
index e6326efd8e9d03d337ecc14321bb40e3f419906b..709d93da50129a8e50839f51b913ee7dc1acd47c 100644 (file)
@@ -27,7 +27,7 @@ class vtkgdcmObserver : public vtkCommand
     {
       this->ImageViewer = NULL;
     }
-  virtual void Execute(vtkObject *wdg, unsigned long event, void* calldata)
+  virtual void Execute(vtkObject *, unsigned long event, void* )
     {
       if ( this->ImageViewer )
         {
@@ -85,7 +85,7 @@ int main(int argc, char *argv[])
   }
   viewer->SetupInteractor (iren);
   
-  vtkFloatingPointType *range = reader->GetOutput()->GetScalarRange();
+  //vtkFloatingPointType *range = reader->GetOutput()->GetScalarRange();
   //viewer->SetColorWindow (range[1] - range[0]);
   //viewer->SetColorLevel (0.5 * (range[1] + range[0]));