]> Creatis software - gdcm.git/blobdiff - src/gdcmFile.h
Minor modifications
[gdcm.git] / src / gdcmFile.h
index b3bb6aec37edb51588bd9ac1257165dedc629942..1eb3efc2b0cbbcf1b2426ecfc285bdeb2ebd537f 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmFile.h,v $
   Language:  C++
-  Date:      $Date: 2006/05/11 19:49:38 $
-  Version:   $Revision: 1.126 $
+  Date:      $Date: 2006/11/15 15:54:15 $
+  Version:   $Revision: 1.130 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -104,15 +104,15 @@ public:
    static File *New() {return new File();}
 
    // Loading
-   GDCM_LEGACY(bool Load( std::string const &filename ))
-   bool Load(); 
+  // GDCM_LEGACY(bool Load( std::string const &filename ))
+   bool Load();
    // Standard values and informations contained in the header
    bool IsReadable();
-   
+
    void SetFourthDimensionLocation(uint16_t group, uint16_t elem) {
                    FourthDimensionLocation = TagKey(group, elem); }
 
-   // Some heuristic based accessors, end user intended 
+   // Some heuristic based accessors, end user intended
    int GetImageNumber();
    ModalityType GetModality();
 
@@ -120,7 +120,7 @@ public:
    int GetYSize();
    int GetZSize();
    int GetTSize(); // unnormalized in DICOM V3
-   
+
    float GetXSpacing();
    float GetYSpacing();
    float GetZSpacing();
@@ -128,9 +128,17 @@ public:
    float GetXOrigin();
    float GetYOrigin();
    float GetZOrigin();
-
+   
+   float GetXCosineOnX();
+   float GetXCosineOnY();  
+   float GetXCosineOnZ();
+   float GetYCosineOnX();
+   float GetYCosineOnY();  
+   float GetYCosineOnZ();   
+     
    bool GetImageOrientationPatient( float iop[6] );
-
+   bool GetImagePositionPatient( float ipp[3] );
+   
    int GetBitsStored();
    int GetBitsAllocated();
    int GetHighBitPosition();