X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmOrientation.h;h=c36b9196207bf0741c8ff8df43a1f2f30ec81e3b;hb=e7768bbebdc9a5972e396d71a3e848f5674ee378;hp=e1522fd389760b3717c5695dbe973718614fbb07;hpb=6b4aa7387613d98b62ee41d18aba2dbe0306b4ba;p=gdcm.git diff --git a/src/gdcmOrientation.h b/src/gdcmOrientation.h index e1522fd3..c36b9196 100644 --- a/src/gdcmOrientation.h +++ b/src/gdcmOrientation.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmOrientation.h,v $ Language: C++ - Date: $Date: 2005/11/25 13:56:32 $ - Version: $Revision: 1.14 $ + Date: $Date: 2007/08/22 16:14:04 $ + Version: $Revision: 1.20 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -16,13 +16,13 @@ =========================================================================*/ -#ifndef GDCMORIENTATION_H -#define GDCMORIENTATION_H +#ifndef _GDCMORIENTATION_H_ +#define _GDCMORIENTATION_H_ #include "gdcmRefCounter.h" #include -namespace gdcm +namespace GDCM_NAME_SPACE { typedef struct { @@ -106,7 +106,7 @@ public: std::string GetOrientation ( File *file ); static const char* GetOrientationTypeString(OrientationType const o); - + protected: /// \brief Constructor Orientation() {} @@ -117,7 +117,7 @@ private: double CalculLikelyhood2Vec(vector3D const &refA, vector3D const &refB, vector3D const &ori1, vector3D const &ori2); vector3D ProductVectorial(vector3D const &vec1, vector3D const &vec2); - std::string GetSingleOrientation ( double *iop); + std::string GetSingleOrientation ( float *iop); }; } // end namespace gdcm //-----------------------------------------------------------------------------