X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FHYDROGUI%2FHYDROGUI_ImportImageDlg.h;h=59de8c6c6c89aebb9f4a79710099a1d41ab96bd1;hb=844c6abc897469c996e8df5a1569c3aeaa08c446;hp=ac77bbaa3033373f83c5ca1a480cc534b107137c;hpb=c874fabf131c86df3f867c094ed3a2a0813a784e;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ImportImageDlg.h b/src/HYDROGUI/HYDROGUI_ImportImageDlg.h index ac77bbaa..59de8c6c 100644 --- a/src/HYDROGUI/HYDROGUI_ImportImageDlg.h +++ b/src/HYDROGUI/HYDROGUI_ImportImageDlg.h @@ -27,6 +27,12 @@ #include +#define LAMBERT_X0 700000 +#define LAMBERT_Y0 6600000 +#define LAMBERT_LONG 3 +#define LAMBERT_LATT 46.5 +#define IMG_DELTA 500 + class QButtonGroup; class QComboBox; class QGroupBox; @@ -132,42 +138,43 @@ signals: int theValue ); void modeActivated( int ); void refImageActivated( const QString& ); + void setIsByTwoPoints( bool theIsByTwoPoints ); private: - QGroupBox* myFileNameGroup; - QLineEdit* myFileName; + QGroupBox* myFileNameGroup; //!< The group for the source image file selection + QLineEdit* myFileName; //!< Source image file name input field - QGroupBox* myImageNameGroup; - QLineEdit* myImageName; + QGroupBox* myImageNameGroup; //!< The group for the image name input field + QLineEdit* myImageName; //!< The image name input field - QGroupBox* myTransformGroup; + QGroupBox* myTransformGroup; //!< The group of input contols for points definition - QButtonGroup* myModeGroup; - QComboBox* myRefImage; + QButtonGroup* myModeGroup; //!< The group for the input mode selector + QComboBox* myRefImage; //!< Reference image selector - QList myGeodesicLabels; + QList myGeodesicLabels; //!< Labels for geodesic coords input fields - QMap myPointBtnMap; - QMap myPointXMap; - QMap myPointYMap; - QMap myPointXDegMap; - QMap myPointYDegMap; - QMap myPointXMinMap; - QMap myPointYMinMap; - QMap myPointXSecMap; - QMap myPointYSecMap; + QMap myPointBtnMap; //!< A,B,C points selection modes activators + QMap myPointXMap; //!< X coord on the image + QMap myPointYMap; //!< Y coord on the image + QMap myPointXDegMap; //!< Longitude degrees + QMap myPointYDegMap; //!< Latitude degrees + QMap myPointXMinMap; //!< Longitude minutes + QMap myPointYMinMap; //!< Latitude minutes + QMap myPointXSecMap; //!< Longitude seconds + QMap myPointYSecMap; //!< Latitude seconds - QMap myCartPointXMap; - QMap myCartPointYMap; + QMap myCartPointXMap; //!< Lambert93 (cartesian) X coord (m) + QMap myCartPointYMap; //!< Lambert93 (cartesian) Y coord (m) - QMap myRefPointXMap; - QMap myRefPointYMap; + QMap myRefPointXMap; //!< X coord on the reference image + QMap myRefPointYMap; //!< Y coord on the reference image - QCheckBox* myPointCEnabler; + QCheckBox* myPointCEnabler; //!< Checkbox for enabling definition of the point C - PrsPointDataList myPrsPointDataList; + PrsPointDataList myPrsPointDataList; //!< Points presentations - bool myIsInitialized; + bool myIsInitialized; //!< True if a point selection is activated }; #endif