Hugintrunk
0.1
|
A dialog for HFOV. More...
#include <HFOVDialog.h>
Public Member Functions | |
HFOVDialog (wxWindow *parent, HuginBase::SrcPanoImage &srcImg) | |
ctor. More... | |
virtual | ~HFOVDialog () |
dtor. More... | |
HuginBase::SrcPanoImage | GetSrcImage () |
double | GetCropFactor () |
double | GetFocalLength () |
Private Member Functions | |
void | OnTypeChanged (wxCommandEvent &e) |
void | OnHFOVChanged (wxCommandEvent &e) |
void | OnFocalLengthChanged (wxCommandEvent &e) |
void | OnCropFactorChanged (wxCommandEvent &e) |
void | OnLoadLensParameters (wxCommandEvent &e) |
void | OnOk (wxCommandEvent &e) |
Private Attributes | |
wxTextCtrl * | m_cropText |
wxTextCtrl * | m_focalLengthText |
wxTextCtrl * | m_hfovText |
wxChoice * | m_projChoice |
wxButton * | m_okButton |
HuginBase::SrcPanoImage | m_srcImg |
wxString | m_focalLengthStr |
double | m_focalLength |
wxString | m_cropFactorStr |
double | m_cropFactor |
wxString | m_HFOVStr |
double | m_HFOV |
HFOVDialog::HFOVDialog | ( | wxWindow * | parent, |
HuginBase::SrcPanoImage & | srcImg | ||
) |
ctor.
Definition at line 46 of file HFOVDialog.cpp.
References HuginBase::SrcPanoImage::calcHFOV(), DEBUG_ASSERT, hugin_utils::doubleTowxString(), FillLensProjectionList(), HUGIN_CONV_FILENAME, and SelectListValue().
|
inlinevirtual |
dtor.
Definition at line 45 of file HFOVDialog.h.
double HFOVDialog::GetCropFactor | ( | ) |
Definition at line 355 of file HFOVDialog.cpp.
References m_cropFactor.
Referenced by PanoCommand::getLensDataFromUser().
double HFOVDialog::GetFocalLength | ( | ) |
Definition at line 360 of file HFOVDialog.cpp.
References m_focalLength.
HuginBase::SrcPanoImage HFOVDialog::GetSrcImage | ( | ) |
Definition at line 348 of file HFOVDialog.cpp.
References m_cropFactor, m_HFOV, and m_srcImg.
Referenced by PanoCommand::getLensDataFromUser().
|
private |
Definition at line 220 of file HFOVDialog.cpp.
References HuginBase::SrcPanoImage::calcHFOV(), DEBUG_DEBUG, hugin_utils::doubleTowxString(), m_cropFactor, m_cropFactorStr, m_cropText, m_focalLength, m_HFOV, m_HFOVStr, m_hfovText, m_okButton, m_srcImg, and hugin_utils::str2double().
|
private |
Definition at line 178 of file HFOVDialog.cpp.
References HuginBase::SrcPanoImage::calcHFOV(), DEBUG_DEBUG, hugin_utils::doubleTowxString(), m_cropFactor, m_focalLength, m_focalLengthStr, m_focalLengthText, m_HFOV, m_HFOVStr, m_hfovText, m_okButton, m_srcImg, and hugin_utils::str2double().
|
private |
Definition at line 123 of file HFOVDialog.cpp.
References HuginBase::SrcPanoImage::calcFocalLength(), DEBUG_DEBUG, hugin_utils::doubleTowxString(), m_cropFactor, m_focalLength, m_focalLengthStr, m_focalLengthText, m_HFOV, m_HFOVStr, m_hfovText, m_okButton, m_srcImg, HuginBase::BaseSrcPanoImage::RECTILINEAR, and hugin_utils::str2double().
|
private |
Definition at line 263 of file HFOVDialog.cpp.
References HuginBase::SrcPanoImage::calcFocalLength(), const_map_get(), HuginBase::BaseSrcPanoImage::CROP_CIRCLE, HuginBase::BaseSrcPanoImage::CROP_RECTANGLE, hugin_utils::doubleTowxString(), HuginBase::Lens::getCropFactor(), HuginBase::Lens::getHFOV(), HuginBase::Lens::getProjection(), HuginBase::SrcPanoImage::isCircularCrop(), LoadLensParametersChoose(), m_cropFactor, m_cropFactorStr, m_cropText, m_focalLength, m_focalLengthStr, m_focalLengthText, m_HFOV, m_HFOVStr, m_hfovText, m_okButton, m_projChoice, m_srcImg, HuginBase::BaseSrcPanoImage::NO_CROP, SelectListValue(), HuginBase::SrcPanoImage::setCropMode(), HuginBase::Lens::setImageSize(), HuginBase::Lens::variables, hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.
|
private |
Definition at line 365 of file HFOVDialog.cpp.
References HuginBase::BaseSrcPanoImage::FISHEYE_ORTHOGRAPHIC, m_HFOV, and m_srcImg.
|
private |
Definition at line 110 of file HFOVDialog.cpp.
References HuginBase::SrcPanoImage::calcHFOV(), DEBUG_DEBUG, hugin_utils::doubleTowxString(), GetSelectedValue(), m_cropFactor, m_focalLength, m_HFOV, m_HFOVStr, m_hfovText, m_projChoice, and m_srcImg.
|
private |
Definition at line 70 of file HFOVDialog.h.
Referenced by GetCropFactor(), GetSrcImage(), OnCropFactorChanged(), OnFocalLengthChanged(), OnHFOVChanged(), OnLoadLensParameters(), and OnTypeChanged().
|
private |
Definition at line 69 of file HFOVDialog.h.
Referenced by OnCropFactorChanged(), and OnLoadLensParameters().
|
private |
Definition at line 60 of file HFOVDialog.h.
Referenced by OnCropFactorChanged(), and OnLoadLensParameters().
|
private |
Definition at line 68 of file HFOVDialog.h.
Referenced by GetFocalLength(), OnCropFactorChanged(), OnFocalLengthChanged(), OnHFOVChanged(), OnLoadLensParameters(), and OnTypeChanged().
|
private |
Definition at line 67 of file HFOVDialog.h.
Referenced by OnFocalLengthChanged(), OnHFOVChanged(), and OnLoadLensParameters().
|
private |
Definition at line 61 of file HFOVDialog.h.
Referenced by OnFocalLengthChanged(), OnHFOVChanged(), and OnLoadLensParameters().
|
private |
Definition at line 72 of file HFOVDialog.h.
Referenced by GetSrcImage(), OnCropFactorChanged(), OnFocalLengthChanged(), OnHFOVChanged(), OnLoadLensParameters(), OnOk(), and OnTypeChanged().
|
private |
Definition at line 71 of file HFOVDialog.h.
Referenced by OnCropFactorChanged(), OnFocalLengthChanged(), OnHFOVChanged(), OnLoadLensParameters(), and OnTypeChanged().
|
private |
Definition at line 62 of file HFOVDialog.h.
Referenced by OnCropFactorChanged(), OnFocalLengthChanged(), OnHFOVChanged(), OnLoadLensParameters(), and OnTypeChanged().
|
private |
Definition at line 64 of file HFOVDialog.h.
Referenced by OnCropFactorChanged(), OnFocalLengthChanged(), OnHFOVChanged(), and OnLoadLensParameters().
|
private |
Definition at line 63 of file HFOVDialog.h.
Referenced by OnLoadLensParameters(), and OnTypeChanged().
|
private |
Definition at line 66 of file HFOVDialog.h.
Referenced by GetSrcImage(), OnCropFactorChanged(), OnFocalLengthChanged(), OnHFOVChanged(), OnLoadLensParameters(), OnOk(), and OnTypeChanged().