X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmOrientation.cxx;h=7e54d554e5518e01359c97dd5333b6183d12659a;hb=507c357466602345e4bd9de6c475e0887cf2ba36;hp=47fed19256c29d7dd09c21a4fd3f8f8583335ebe;hpb=6b4aa7387613d98b62ee41d18aba2dbe0306b4ba;p=gdcm.git diff --git a/src/gdcmOrientation.cxx b/src/gdcmOrientation.cxx index 47fed192..7e54d554 100644 --- a/src/gdcmOrientation.cxx +++ b/src/gdcmOrientation.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmOrientation.cxx,v $ Language: C++ - Date: $Date: 2005/11/25 13:56:32 $ - Version: $Revision: 1.20 $ + Date: $Date: 2005/11/28 11:54:51 $ + Version: $Revision: 1.21 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -84,7 +84,7 @@ const char* Orientation::GetOrientationTypeString(OrientationType const o) /// (Axial, Coronal, Sagital, ...) of the image OrientationType Orientation::GetOrientationType( File *f ) { - double iop[6]; + float iop[6]; bool succ = f->GetImageOrientationPatient( iop ); if ( !succ ) { @@ -292,7 +292,7 @@ have multiple letters in as described under "refinements" in C.7.6.1.1.1): */ std::string Orientation::GetOrientation ( File *f ) { - double iop[6]; + float iop[6]; if ( !f->GetImageOrientationPatient( iop ) ) return GDCM_UNFOUND; @@ -304,7 +304,7 @@ std::string Orientation::GetOrientation ( File *f ) } -std::string Orientation::GetSingleOrientation ( double *iop) +std::string Orientation::GetSingleOrientation ( float *iop) { std::string orientation;