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 38 of file wxLensDB.cpp.
|
explicit |
Constructor, read from xrc ressource; restore last uses settings, size and position.
Definition at line 70 of file wxLensDB.cpp.
References FillLensList(), vigra_ext::EMoR::h, m_lenslist, m_loadDistortion, m_loadVignetting, OnCheckChanged(), and OnOk().
|
private |
Definition at line 117 of file wxLensDB.cpp.
References HuginBase::LensDB::LensDB::GetSingleton(), m_lenslist, and m_lensNames.
Referenced by LoadLensDBDialog().
double LoadLensDBDialog::GetAperture | ( | ) | const |
Definition at line 172 of file wxLensDB.cpp.
References m_aperture.
Referenced by ApplyLensDBParameters().
double LoadLensDBDialog::GetFocalLength | ( | ) | const |
Definition at line 161 of file wxLensDB.cpp.
References m_focal.
Referenced by ApplyLensDBParameters().
std::string LoadLensDBDialog::GetLensName | ( | ) | const |
Definition at line 150 of file wxLensDB.cpp.
References m_lenslist, and m_lensNames.
Referenced by ApplyLensDBParameters().
bool LoadLensDBDialog::GetLoadDistortion | ( | ) | const |
Definition at line 188 of file wxLensDB.cpp.
References m_loadDistortion.
Referenced by ApplyLensDBParameters().
bool LoadLensDBDialog::GetLoadVignetting | ( | ) | const |
Definition at line 193 of file wxLensDB.cpp.
References m_loadVignetting.
Referenced by ApplyLensDBParameters().
double LoadLensDBDialog::GetSubjectDistance | ( | ) | const |
Definition at line 183 of file wxLensDB.cpp.
References m_distance.
Referenced by ApplyLensDBParameters().
|
protected |
Definition at line 265 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 209 of file wxLensDB.cpp.
References m_aperture, m_distance, m_focal, m_lenslist, m_loadDistortion, m_loadVignetting, and str2double().
Referenced by LoadLensDBDialog().
void LoadLensDBDialog::SetAperture | ( | double | aperture | ) |
Definition at line 166 of file wxLensDB.cpp.
References hugin_utils::doubleTowxString(), and m_aperture.
Referenced by ApplyLensDBParameters().
void LoadLensDBDialog::SetFocalLength | ( | double | focal | ) |
Definition at line 155 of file wxLensDB.cpp.
References hugin_utils::doubleTowxString(), and m_focal.
Referenced by ApplyLensDBParameters().
void LoadLensDBDialog::SetLensName | ( | std::string | lensname | ) |
Definition at line 136 of file wxLensDB.cpp.
References m_lenslist, m_lensNames, and OnCheckChanged().
Referenced by ApplyLensDBParameters().
void LoadLensDBDialog::SetSubjectDistance | ( | double | distance | ) |
Definition at line 177 of file wxLensDB.cpp.
References hugin_utils::doubleTowxString(), and m_distance.
Referenced by ApplyLensDBParameters().
|
private |
Definition at line 65 of file wxLensDB.cpp.
Referenced by GetAperture(), OnOk(), and SetAperture().
|
private |
Definition at line 66 of file wxLensDB.cpp.
Referenced by GetSubjectDistance(), OnOk(), and SetSubjectDistance().
|
private |
Definition at line 64 of file wxLensDB.cpp.
Referenced by GetFocalLength(), OnOk(), and SetFocalLength().
|
private |
Definition at line 61 of file wxLensDB.cpp.
Referenced by FillLensList(), GetLensName(), LoadLensDBDialog(), OnCheckChanged(), OnOk(), and SetLensName().
|
private |
Definition at line 67 of file wxLensDB.cpp.
Referenced by FillLensList(), GetLensName(), and SetLensName().
|
private |
Definition at line 62 of file wxLensDB.cpp.
Referenced by GetLoadDistortion(), LoadLensDBDialog(), OnCheckChanged(), and OnOk().
|
private |
Definition at line 63 of file wxLensDB.cpp.
Referenced by GetLoadVignetting(), LoadLensDBDialog(), OnCheckChanged(), and OnOk().