]> Creatis software - gdcm.git/blobdiff - vtk/vtkgdcmViewer.cxx
Minor clean up
[gdcm.git] / vtk / vtkgdcmViewer.cxx
index e0a17943fa76e999a7a0ac8f4875d7c034f5eb9e..ff1e6099b46f63a0a0b4b3b1dc0e1447ad4c7367 100644 (file)
@@ -62,11 +62,12 @@ int main(int argc, char *argv[])
   reader->Update();
   
   //print debug info:
-  reader->GetOutput()->Print( std::cout );
+  reader->GetOutput()->Print( cout );
         
   vtkRenderWindowInteractor *iren = vtkRenderWindowInteractor::New();
 
   vtkImageViewer2 *viewer = vtkImageViewer2::New();
+  
   if( reader->GetLookupTable() )
   {
     //convert to color:
@@ -78,6 +79,7 @@ int main(int argc, char *argv[])
     map->Delete();
   }
   else
+  
   {
     viewer->SetInput ( reader->GetOutput() );
   }