X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FWriteDicomSimple.cxx;h=d294697835f7b8c4127339c179975c4b0c9f73dc;hb=7dc67f3f6c048f30c66765c15710ceaa82f228e9;hp=846d0b75df249453572fd21cfb5a71d391a746c3;hpb=bda1c8bb865249635072516179d6aa7454d1db41;p=gdcm.git diff --git a/Example/WriteDicomSimple.cxx b/Example/WriteDicomSimple.cxx index 846d0b75..d2946978 100644 --- a/Example/WriteDicomSimple.cxx +++ b/Example/WriteDicomSimple.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: WriteDicomSimple.cxx,v $ Language: C++ - Date: $Date: 2005/11/07 10:33:47 $ - Version: $Revision: 1.18 $ + Date: $Date: 2007/05/23 14:18:04 $ + Version: $Revision: 1.19 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -52,7 +52,7 @@ int main(int argc, char *argv[]) FINISH_USAGE // Initialize Arguments Manager - gdcm::ArgMgr *am= new gdcm::ArgMgr(argc, argv); + GDCM_NAME_SPACE::ArgMgr *am= new GDCM_NAME_SPACE::ArgMgr(argc, argv); if (argc == 1 || am->ArgMgrDefined("usage") ) { @@ -62,7 +62,7 @@ int main(int argc, char *argv[]) } if (am->ArgMgrDefined("debug")) - gdcm::Debug::DebugOn(); + GDCM_NAME_SPACE::Debug::DebugOn(); std::string fileOut = am->ArgMgrGetString("fileout",(char *)"WriteDicomSimple.dcm"); SIZE_X = am->ArgMgrGetInt("NX", 128); @@ -83,13 +83,13 @@ int main(int argc, char *argv[]) // ----------- End Arguments Manager --------- -// Step 1 : Create an empty gdcm::FileHelper for the image +// Step 1 : Create an empty GDCM_NAME_SPACE::FileHelper for the image // (it deals with the acces to the pixels) - gdcm::FileHelper *fileH = gdcm::FileHelper::New(); + GDCM_NAME_SPACE::FileHelper *fileH = GDCM_NAME_SPACE::FileHelper::New(); -// Get the empty gdcm::File of the image +// Get the empty GDCM_NAME_SPACE::File of the image // (it deals with the 'entries' od the image header) - gdcm::File *header = fileH->GetFile(); + GDCM_NAME_SPACE::File *header = fileH->GetFile(); std::ostringstream str;