X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FWriteDicom.cxx;h=684d6213db70848c63c086223bb3a05b4e9fde54;hb=93748f382dadb5c9240c4156ce7bbe9dcc8da44f;hp=81a790484beb16b1b950e4b9361b6c6132f6371f;hpb=a462ce9f1af0894cd930ab04f2e65cd80dfa7084;p=gdcm.git diff --git a/Example/WriteDicom.cxx b/Example/WriteDicom.cxx index 81a79048..684d6213 100644 --- a/Example/WriteDicom.cxx +++ b/Example/WriteDicom.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: WriteDicom.cxx,v $ Language: C++ - Date: $Date: 2005/01/08 15:03:57 $ - Version: $Revision: 1.10 $ + Date: $Date: 2005/01/20 16:16:58 $ + Version: $Revision: 1.11 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -16,7 +16,7 @@ =========================================================================*/ #include "gdcmHeader.h" -#include "gdcmFile.h" +#include "gdcmFileHelper.h" // Writting of a DICOM file based on a correct dicom header // and data pixel of another image @@ -32,10 +32,10 @@ int main(int argc, char* argv[]) } const char *first = argv[1]; - gdcm::File *f1 = new gdcm::File( first ); + gdcm::FileHelper *f1 = new gdcm::FileHelper( first ); const char *second = argv[2]; - gdcm::File *f2 = new gdcm::File( second ); + gdcm::FileHelper *f2 = new gdcm::FileHelper( second ); // We assume that DICOM fields of second file actually exists :