]> Creatis software - gdcm.git/blobdiff - src/gdcmFile.h
Minor modifications
[gdcm.git] / src / gdcmFile.h
index 0eae98f22d514c8532dd87e6e9d1938a7471e870..1eb3efc2b0cbbcf1b2426ecfc285bdeb2ebd537f 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmFile.h,v $
   Language:  C++
-  Date:      $Date: 2006/05/12 19:09:55 $
-  Version:   $Revision: 1.127 $
+  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,7 +104,7 @@ public:
    static File *New() {return new File();}
 
    // Loading
-   GDCM_LEGACY(bool Load( std::string const &filename ))
+  // GDCM_LEGACY(bool Load( std::string const &filename ))
    bool Load();
    // Standard values and informations contained in the header
    bool IsReadable();
@@ -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();