X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmOrientation.h;h=a6e48f2ed2270ca471323d05b0df1b540c5aca20;hb=ae64a0ce6b0e05103e13d8b2eedc87b7fcf02380;hp=a43c6e17cbef5a7db17521d21859542f4befda49;hpb=69d2c65c131c9752b1d64aa9b21de29c3acfe62d;p=gdcm.git diff --git a/src/gdcmOrientation.h b/src/gdcmOrientation.h index a43c6e17..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/24 02:34:42 $ - Version: $Revision: 1.1 $ + 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 @@ -20,6 +20,7 @@ #define GDCMORIENTATION_H #include "gdcmBase.h" +#include namespace gdcm { @@ -35,21 +36,23 @@ class File; //----------------------------------------------------------------------------- /** - * \brief Orientation class for dealing with DICOM image orienation + * \brief Orientation class for dealing with DICOM image orientation */ 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 //-----------------------------------------------------------------------------