HFOVDialog.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00024 #ifndef _HFOVDIALOG_H
00025 #define _HFOVDIALOG_H
00026 
00027 #include "panoinc.h"
00028 #include "panoinc_WX.h"
00029 
00030 #include "panodata/Panorama.h"
00031 #include "hugin_shared.h"
00032 
00037 class WXIMPEX HFOVDialog : public wxDialog
00038 {
00039 public:
00042     HFOVDialog(wxWindow * parent, HuginBase::SrcPanoImage & srcImg);
00045     virtual ~HFOVDialog() {};
00046 
00047     HuginBase::SrcPanoImage GetSrcImage();
00048     double GetCropFactor();
00049     double GetFocalLength();
00050 
00051 private:
00052 
00053     void OnTypeChanged(wxCommandEvent & e);
00054     void OnHFOVChanged(wxCommandEvent & e);
00055     void OnFocalLengthChanged(wxCommandEvent & e);
00056     void OnCropFactorChanged(wxCommandEvent & e);
00057     void OnLoadLensParameters(wxCommandEvent & e);
00058     void OnOk(wxCommandEvent & e);
00059 
00060     wxTextCtrl * m_cropText;
00061     wxTextCtrl * m_focalLengthText;
00062     wxTextCtrl * m_hfovText;
00063     wxChoice   * m_projChoice;
00064     wxButton   * m_okButton;
00065 
00066     HuginBase::SrcPanoImage m_srcImg;
00067     wxString m_focalLengthStr;
00068     double m_focalLength;
00069     wxString m_cropFactorStr;
00070     double m_cropFactor;
00071     wxString m_HFOVStr;
00072     double m_HFOV;
00073 
00074     DECLARE_EVENT_TABLE()
00075 };
00076 
00077 
00078 #endif // _HFOVDIALOG_H

Generated on 20 Apr 2018 for Hugintrunk by  doxygen 1.4.7