#ifndef IUPCAMERASETUPDIALOG_H #define IUPCAMERASETUPDIALOG_H /* ** --------------------------------------------------------------- ** Includes: */ #include "iup.h" #include "iupcontrols.h" /* ** --------------------------------------------------------------- ** Class definition: */ class IupCameraSetupDlg { public: IupCameraSetupDlg(); ~IupCameraSetupDlg(); void getEye(float& x, float& y, float& z); void getAt(float& x, float& y, float& z); void getDistEyes(float& distEyes); void getImgDim(int& w, int& h); void show(); protected: float ex_; float ey_; float ez_; float ax_; float ay_; float az_; float distEyes_; int width_; int height_; Ihandle* exText_; Ihandle* eyText_; Ihandle* ezText_; Ihandle* axText_; Ihandle* ayText_; Ihandle* azText_; Ihandle* distEyesText_; Ihandle* widthText_; Ihandle* heightText_; private: Ihandle* dlg; void readAttrs(); void writeAttrs(); static int _okCB(Ihandle* self); static int _cancelCB(Ihandle* self); }; #endif