X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vtk%2FvtkgdcmViewer2.cxx;h=6b8a8e42428bd991e720537d5d009191e91b68bb;hb=223e9fe80278019fef96c2b926c4df6fcacd4d3b;hp=bb3b8f865c7463be23a4689710506414b450fc7d;hpb=6a58d351e50ccaebb67739ded2bef91915a18cb9;p=gdcm.git diff --git a/vtk/vtkgdcmViewer2.cxx b/vtk/vtkgdcmViewer2.cxx index bb3b8f86..6b8a8e42 100644 --- a/vtk/vtkgdcmViewer2.cxx +++ b/vtk/vtkgdcmViewer2.cxx @@ -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/06/29 16:15:16 $ + Version: $Revision: 1.3 $ 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 #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(NO_SHADOWSEQ); reader->Update(); //print debug info: