]> Creatis software - gdcm.git/blobdiff - src/gdcmFile.h
2004-02-06 Jean-Pierre Roux
[gdcm.git] / src / gdcmFile.h
index dcf6f7046c794bede47eda7107b1bb39747efcb2..11c046db913f98dea214b0a1ec3b95e9b9cf790f 100644 (file)
@@ -10,7 +10,7 @@
 /*
  * In addition to Dicom header exploration, this class is designed
  * for accessing the image/volume content. One can also use it to
- * write Dicom files.
+ * write Dicom/ACR-NEMA/RAW files.
  */
 class GDCM_EXPORT gdcmFile
 {
@@ -96,9 +96,12 @@ private:
    size_t lgrTotaleRaw;  // Area length to receive the pixels
    size_t lgrTotale;     // Area length to receive the RGB pixels
                          // from Grey Plane + Palette Color
+   int PixelRead;     // ==1  if GetImageDataRaw was used
+                      // ==0  if GetImageData    was used
+                      // ==-1 if ImageData never read.
 
    int Parsed;               // weather already parsed
-   std::string OrigFileName; // To avoid file overwrite
+   std::string OrigFileName; // To avoid file overwrite   
 };
 
 //-----------------------------------------------------------------------------