]> Creatis software - gdcm.git/commitdiff
initialize enum to 1.
authorjpr <jpr>
Fri, 17 Mar 2006 14:31:43 +0000 (14:31 +0000)
committerjpr <jpr>
Fri, 17 Mar 2006 14:31:43 +0000 (14:31 +0000)
src/gdcmCommon.h

index 145a8300701c6baa2dacb95b539245e86f927816..aa3e9aa25dee0e4732110ba71f44048665a1b9ff 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmCommon.h,v $
   Language:  C++
-  Date:      $Date: 2006/03/13 14:44:07 $
-  Version:   $Revision: 1.107 $
+  Date:      $Date: 2006/03/17 14:31:43 $
+  Version:   $Revision: 1.108 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -86,6 +86,7 @@ typedef std::string TagName;
 
 /// \brief various types of a DICOM file (for internal use only)
 enum FileType {
+// note to developer : don't forget to add as well in vtkGdcmWriter.h !
    Unknown = 0,
    ExplicitVR, // DicomDir is in this case. Except when it's ImplicitVR !...
    ImplicitVR,
@@ -140,7 +141,8 @@ enum LodModeType
 ///   UNMODIFIED_PIXELS_IMAGE
 enum ImageContentType
 {
-      USER_OWN_IMAGE,
+// note to developer : don't forget to add as well in vtkGdcmWriter.h !
+      USER_OWN_IMAGE = 1,
       FILTERED_IMAGE,
       CREATED_IMAGE,      
       UNMODIFIED_PIXELS_IMAGE