X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vtk%2FvtkgdcmViewer.cxx;fp=vtk%2FvtkgdcmViewer.cxx;h=6526c1753482d7afafc3bccfd37eda4ab7476788;hb=1d1824283002d1fcc3b8ff98170fc879c17f108f;hp=9e1b6a5993dfbd0d69f4314b36f4d7166d06421f;hpb=48a289e399d73271b8518c04e8e3200b485a252d;p=gdcm.git diff --git a/vtk/vtkgdcmViewer.cxx b/vtk/vtkgdcmViewer.cxx index 9e1b6a59..6526c175 100644 --- a/vtk/vtkgdcmViewer.cxx +++ b/vtk/vtkgdcmViewer.cxx @@ -1,3 +1,20 @@ +/*========================================================================= + + Program: gdcm + Module: $RCSfile: vtkgdcmViewer.cxx,v $ + Language: C++ + Date: $Date: 2005/02/02 20:10:50 $ + Version: $Revision: 1.24 $ + + Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de + l'Image). All rights reserved. See Doc/License.txt or + http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the above copyright notices for more information. + +=========================================================================*/ // This example illustrates how the vtkGdcmReader vtk class can be // used in order to: // * produce a simple (vtk based) Dicom image STACK VIEWER. @@ -12,8 +29,6 @@ // * the produced vtk file is named "foo.vtk" (in the invocation directory). // //---------------------------------------------------------------------------- -#include - #include #include #include @@ -126,7 +141,7 @@ int main(int argc, char *argv[]) writer->SetInput( reader->GetOutput()); writer->SetFileName( "foo.vtk" ); writer->SetFileTypeToBinary(); - writer->Write(); + //writer->Write(); reader->Delete(); iren->Delete();