]> Creatis software - gdcm.git/commitdiff
Fix wrong comment (-> wrong Doxygenation) about the meaning of
authorjpr <jpr>
Wed, 16 Feb 2005 16:41:00 +0000 (16:41 +0000)
committerjpr <jpr>
Wed, 16 Feb 2005 16:41:00 +0000 (16:41 +0000)
SetWriteModeToRaw() :
    Tells the writer we want to keep 'Grey pixels + Palettes color'
    when possible (as opposed to convert 'Palettes color' to RGB)
 NOT
    Tells the writer we want to write only the pixels (no header)

src/gdcmFileHelper.h

index a6bc806db74ecd6f645bd0dd2bfcf87abaae1dc2..f59147ebf9ebb15f69196732774b8f079d882435 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmFileHelper.h,v $
   Language:  C++
   Program:   gdcm
   Module:    $RCSfile: gdcmFileHelper.h,v $
   Language:  C++
-  Date:      $Date: 2005/02/09 16:28:41 $
-  Version:   $Revision: 1.12 $
+  Date:      $Date: 2005/02/16 16:41:00 $
+  Version:   $Revision: 1.13 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -96,10 +96,11 @@ public:
 
    // Write mode
 
 
    // Write mode
 
-   /// \brief Tells the writer we want to write a Raw File (no header)
+   /// \brief Tells the writer we want to keep 'Grey pixels + Palettes color'
+   ///        when possible (as opposed to convert 'Palettes color' to RGB)
   void SetWriteModeToRaw()           { SetWriteMode(WMODE_RAW);  };
    /// \brief Tells the writer we want to write RGB image when possible
   void SetWriteModeToRaw()           { SetWriteMode(WMODE_RAW);  };
    /// \brief Tells the writer we want to write RGB image when possible
-   ///        (as opposite to 'Grey pixels + Palettes color')
+   ///        (as opposed to 'Grey pixels + Palettes color')
    void SetWriteModeToRGB()           { SetWriteMode(WMODE_RGB);  };
    /// \brief Sets the Write Mode ( )
    void SetWriteMode(FileMode mode)   { WriteMode = mode;         };
    void SetWriteModeToRGB()           { SetWriteMode(WMODE_RGB);  };
    /// \brief Sets the Write Mode ( )
    void SetWriteMode(FileMode mode)   { WriteMode = mode;         };