]> Creatis software - gdcm.git/commitdiff
* Test of an older code
authorregrain <regrain>
Wed, 2 Feb 2005 17:47:56 +0000 (17:47 +0000)
committerregrain <regrain>
Wed, 2 Feb 2005 17:47:56 +0000 (17:47 +0000)
   -- BeNours

src/gdcmBinEntry.cxx
src/gdcmFile.cxx

index 678f6fb1d004069922a0e1fa86c318e9ebdfb40d..5707b614d59e8cf543a807a16c009bc887824340 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmBinEntry.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/02/02 17:20:34 $
-  Version:   $Revision: 1.62 $
+  Date:      $Date: 2005/02/02 17:47:56 $
+  Version:   $Revision: 1.63 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -85,7 +85,7 @@ void BinEntry::WriteContent(std::ofstream *fp, FileType filetype)
    // to write image with Big Endian Transfert Syntax, 
    //   and we are working on Little Endian Processor
 
-#ifdef GDCM_WORDS_BIGENDIAN
+/*#ifdef GDCM_WORDS_BIGENDIAN
       // TODO FIXME Right now, we only care of Pixels element
 
       // 8 Bits Pixels *are* OB, 16 Bits Pixels *are* OW
@@ -123,9 +123,9 @@ void BinEntry::WriteContent(std::ofstream *fp, FileType filetype)
          // For any other VR, BinEntry is re-written as-is
          fp->write ( (char*)binArea, lgr );
       }
-#else
+#else*/
       fp->write ( (char*)binArea, lgr ); // Elem value
-#endif //GDCM_WORDS_BIGENDIAN
+//#endif //GDCM_WORDS_BIGENDIAN
 
    }
    else
index cc5ff672592fbdb3aad3684e8cfcc8467441c69a..95addb4f3072d6e519945e5d55bb7f37ac602d9d 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmFile.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/02/02 16:18:48 $
-  Version:   $Revision: 1.208 $
+  Date:      $Date: 2005/02/02 17:47:56 $
+  Version:   $Revision: 1.209 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -1301,7 +1301,7 @@ bool File::Write(std::string fileName, FileType filetype)
       }
    }
 
-/*
+
 #ifdef GDCM_WORDS_BIGENDIAN
    // Super Super hack that will make gdcm a BOMB ! but should
    // Fix temporarily the dashboard
@@ -1316,11 +1316,11 @@ bool File::Write(std::string fileName, FileType filetype)
       }
    }
 #endif //GDCM_WORDS_BIGENDIAN
-*/
+
 
    Document::WriteContent(fp, filetype);
 
-/*
+
 #ifdef GDCM_WORDS_BIGENDIAN
    // Flip back the pixel ... I told you this is a hack
    if ( GetPixelSize() ==  16 )
@@ -1333,7 +1333,7 @@ bool File::Write(std::string fileName, FileType filetype)
       }
    }
 #endif //GDCM_WORDS_BIGENDIAN
-*/
+
 
    fp->close();
    delete fp;