|
Hugintrunk
0.1
|
dialog for loading lens parameter from lens database More...

Public Member Functions | |
| LoadLensDBDialog (wxWindow *parent) | |
| Constructor, read from xrc ressource; restore last uses settings, size and position. More... | |
| void | SetLensName (std::string lensname) |
| std::string | GetLensName () const |
| void | SetFocalLength (double focal) |
| double | GetFocalLength () const |
| void | SetAperture (double aperture) |
| double | GetAperture () const |
| void | SetSubjectDistance (double distance) |
| double | GetSubjectDistance () const |
| bool | GetLoadDistortion () const |
| bool | GetLoadVignetting () const |
Protected Member Functions | |
| void | OnOk (wxCommandEvent &e) |
| Saves current state of all checkboxes when closing dialog with Ok. More... | |
| void | OnCheckChanged (wxCommandEvent &e) |
Private Member Functions | |
| void | FillLensList () |
Private Attributes | |
| wxChoice * | m_lenslist |
| wxCheckBox * | m_loadDistortion |
| wxCheckBox * | m_loadVignetting |
| double | m_focal |
| double | m_aperture { 0 } |
| double | m_distance { 0 } |
| HuginBase::LensDB::LensList | m_lensNames |
dialog for loading lens parameter from lens database
Definition at line 39 of file wxLensDB.cpp.
|
explicit |
Constructor, read from xrc ressource; restore last uses settings, size and position.
Definition at line 71 of file wxLensDB.cpp.
References FillLensList(), m_lenslist, m_loadDistortion, m_loadVignetting, OnCheckChanged(), OnOk(), and hugin_utils::RestoreFramePosition().
|
private |
Definition at line 96 of file wxLensDB.cpp.
References HuginBase::LensDB::LensDB::GetSingleton(), m_lenslist, and m_lensNames.
Referenced by LoadLensDBDialog().
| double LoadLensDBDialog::GetAperture | ( | ) | const |
Definition at line 151 of file wxLensDB.cpp.
References m_aperture.
Referenced by ApplyLensDBParameters().
| double LoadLensDBDialog::GetFocalLength | ( | ) | const |
Definition at line 140 of file wxLensDB.cpp.
References m_focal.
Referenced by ApplyLensDBParameters().
| std::string LoadLensDBDialog::GetLensName | ( | ) | const |
Definition at line 129 of file wxLensDB.cpp.
References m_lenslist, and m_lensNames.
Referenced by ApplyLensDBParameters().
| bool LoadLensDBDialog::GetLoadDistortion | ( | ) | const |
Definition at line 167 of file wxLensDB.cpp.
References m_loadDistortion.
Referenced by ApplyLensDBParameters().
| bool LoadLensDBDialog::GetLoadVignetting | ( | ) | const |
Definition at line 172 of file wxLensDB.cpp.
References m_loadVignetting.
Referenced by ApplyLensDBParameters().
| double LoadLensDBDialog::GetSubjectDistance | ( | ) | const |
Definition at line 162 of file wxLensDB.cpp.
References m_distance.
Referenced by ApplyLensDBParameters().
|
protected |
Definition at line 239 of file wxLensDB.cpp.
References m_lenslist, m_loadDistortion, and m_loadVignetting.
Referenced by LoadLensDBDialog(), and SetLensName().
|
protected |
Saves current state of all checkboxes when closing dialog with Ok.
Definition at line 188 of file wxLensDB.cpp.
References m_aperture, m_distance, m_focal, m_lenslist, m_loadDistortion, m_loadVignetting, hugin_utils::StoreFramePosition(), and str2double().
Referenced by LoadLensDBDialog().
| void LoadLensDBDialog::SetAperture | ( | double | aperture | ) |
Definition at line 145 of file wxLensDB.cpp.
References hugin_utils::doubleTowxString(), and m_aperture.
Referenced by ApplyLensDBParameters().
| void LoadLensDBDialog::SetFocalLength | ( | double | focal | ) |
Definition at line 134 of file wxLensDB.cpp.
References hugin_utils::doubleTowxString(), and m_focal.
Referenced by ApplyLensDBParameters().
| void LoadLensDBDialog::SetLensName | ( | std::string | lensname | ) |
Definition at line 115 of file wxLensDB.cpp.
References m_lenslist, m_lensNames, and OnCheckChanged().
Referenced by ApplyLensDBParameters().
| void LoadLensDBDialog::SetSubjectDistance | ( | double | distance | ) |
Definition at line 156 of file wxLensDB.cpp.
References hugin_utils::doubleTowxString(), and m_distance.
Referenced by ApplyLensDBParameters().
|
private |
Definition at line 66 of file wxLensDB.cpp.
Referenced by GetAperture(), OnOk(), and SetAperture().
|
private |
Definition at line 67 of file wxLensDB.cpp.
Referenced by GetSubjectDistance(), OnOk(), and SetSubjectDistance().
|
private |
Definition at line 65 of file wxLensDB.cpp.
Referenced by GetFocalLength(), OnOk(), and SetFocalLength().
|
private |
Definition at line 62 of file wxLensDB.cpp.
Referenced by FillLensList(), GetLensName(), LoadLensDBDialog(), OnCheckChanged(), OnOk(), and SetLensName().
|
private |
Definition at line 68 of file wxLensDB.cpp.
Referenced by FillLensList(), GetLensName(), and SetLensName().
|
private |
Definition at line 63 of file wxLensDB.cpp.
Referenced by GetLoadDistortion(), LoadLensDBDialog(), OnCheckChanged(), and OnOk().
|
private |
Definition at line 64 of file wxLensDB.cpp.
Referenced by GetLoadVignetting(), LoadLensDBDialog(), OnCheckChanged(), and OnOk().
1.8.5