]> Creatis software - gdcm.git/blobdiff - vtk/vtkgdcmViewer2.cxx
Modify TestValidate to compile with New() vs new
[gdcm.git] / vtk / vtkgdcmViewer2.cxx
index bb3b8f865c7463be23a4689710506414b450fc7d..4c499166ebc8247c6d01f2b0cde698558ea5939c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: vtkgdcmViewer2.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/05/11 14:40:58 $
-  Version:   $Revision: 1.2 $
+  Date:      $Date: 2005/08/30 15:13:10 $
+  Version:   $Revision: 1.5 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -39,6 +39,7 @@
 #include <vtkLookupTable.h>
 
 #include "vtkGdcmReader.h"
+#include "gdcmDocument.h"  // for NO_SHADOWSEQ
 
 #ifndef vtkFloatingPointType
 #define vtkFloatingPointType float
@@ -93,6 +94,8 @@ int main(int argc, char *argv[])
       for(int i=1; i< argc; i++)
          reader->AddFileName( argv[i] );
 
+// TODO : allow user to choose Load Mode
+   reader->SetLoadMode(gdcm::LD_NOSHADOWSEQ);  
    reader->Update();
 
    //print debug info: