X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vtk%2FvtkgdcmViewer.cxx;h=298747fceb0487c95548066f9202ff2e81996b04;hb=f3cc252fad08c3e8dbc395f2ca7cabf47bf95302;hp=7d68c2f57cadacb604d6c22a02c9c166657b2ec5;hpb=83d6c83bfcdfa88b7f322286136f802e89d5830c;p=gdcm.git diff --git a/vtk/vtkgdcmViewer.cxx b/vtk/vtkgdcmViewer.cxx index 7d68c2f5..298747fc 100644 --- a/vtk/vtkgdcmViewer.cxx +++ b/vtk/vtkgdcmViewer.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: vtkgdcmViewer.cxx,v $ Language: C++ - Date: $Date: 2005/05/11 14:40:58 $ - Version: $Revision: 1.25 $ + Date: $Date: 2005/08/30 15:13:10 $ + Version: $Revision: 1.28 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -39,7 +39,7 @@ #include #include "vtkGdcmReader.h" - +#include "gdcmDocument.h" // for NO_SHADOWSEQ #ifndef vtkFloatingPointType #define vtkFloatingPointType float #endif @@ -93,6 +93,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: