X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmOrientation.h;h=a6e48f2ed2270ca471323d05b0df1b540c5aca20;hb=ae64a0ce6b0e05103e13d8b2eedc87b7fcf02380;hp=3073e98d25748ad7f23568d577c291b372d40bcf;hpb=8aca7faade6f1b813c7b3f59dbe05f51c8a8424d;p=gdcm.git diff --git a/src/gdcmOrientation.h b/src/gdcmOrientation.h index 3073e98d..a6e48f2e 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/07/29 20:50:07 $ - Version: $Revision: 1.4 $ + Date: $Date: 2005/09/21 16:39:53 $ + Version: $Revision: 1.7 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -41,16 +41,18 @@ class File; class GDCM_EXPORT Orientation : public Base { public: - Orientation() {}; - ~Orientation() {}; - - double TypeOrientation( File* file ); + Orientation() {} + ~Orientation() {} + double TypeOrientation( File *file ); + std::string GetOrientation ( File *file ); + private: - Res VerfCriterion(int typeCriterion, double criterionNew, Res const & res); - double CalculLikelyhood2Vec(vector3D const & refA, vector3D const & refB, - vector3D const & ori1, vector3D const & ori2); - vector3D ProductVectorial(vector3D const & vec1, vector3D const & vec2); + Res VerfCriterion(int typeCriterion, double criterionNew, Res const &res); + 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 ( float *iop); }; } // end namespace gdcm //-----------------------------------------------------------------------------