X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmHeader.h;h=13a5d39817ccc3cdc4d03975c684b3d3c93b2d22;hb=2837a6b7c035eca52b4d6883de23f90b5633a0e6;hp=684b99aac0d2641d1caebf7fc3654684111f981d;hpb=e28b183ba68aa3cc84a44a779a31f9d906a1ad2f;p=gdcm.git diff --git a/src/gdcmHeader.h b/src/gdcmHeader.h index 684b99aa..13a5d398 100644 --- a/src/gdcmHeader.h +++ b/src/gdcmHeader.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmHeader.h,v $ Language: C++ - Date: $Date: 2004/10/18 12:49:22 $ - Version: $Revision: 1.90 $ + Date: $Date: 2004/10/28 03:10:58 $ + Version: $Revision: 1.92 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -21,10 +21,9 @@ #include "gdcmCommon.h" #include "gdcmDocument.h" + namespace gdcm { - - //----------------------------------------------------------------------------- /** * \brief @@ -114,10 +113,10 @@ public: Header(); Header( std::string const & filename ); - virtual ~Header(); + ~Header(); // Standard values and informations contained in the header - virtual bool IsReadable(); + bool IsReadable(); // Some heuristic based accessors, end user intended int GetBitsStored(); @@ -143,7 +142,6 @@ public: float GetXSpacing(); float GetYSpacing(); float GetZSpacing(); - //void GetSpacing(float &x, float &y, float &z); // Useful for rescaling graylevel: float GetRescaleIntercept(); @@ -158,7 +156,6 @@ public: float GetXOrigin(); float GetYOrigin(); float GetZOrigin(); - //void GetOrigin(float &x, float &y, float &z); bool HasLUT(); int GetLUTNbits(); @@ -174,7 +171,7 @@ public: /// Read (used in File) void SetImageDataSize(size_t expectedSize); - void Write(FILE* fp, FileType filetype); + void Write(std::ofstream* fp, FileType filetype); protected: bool AnonymizeHeader();