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 |
double | m_distance |
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 78 of file wxLensDB.cpp.
References vigra_ext::EMoR::h.
|
private |
Definition at line 121 of file wxLensDB.cpp.
References HuginBase::LensDB::LensDB::GetSingleton(), m_lenslist, and m_lensNames.
double LoadLensDBDialog::GetAperture | ( | ) | const |
Definition at line 176 of file wxLensDB.cpp.
References m_aperture.
Referenced by ApplyLensDBParameters().
double LoadLensDBDialog::GetFocalLength | ( | ) | const |
Definition at line 165 of file wxLensDB.cpp.
References m_focal.
Referenced by ApplyLensDBParameters().
std::string LoadLensDBDialog::GetLensName | ( | ) | const |
Definition at line 154 of file wxLensDB.cpp.
References m_lenslist, and m_lensNames.
Referenced by ApplyLensDBParameters().
bool LoadLensDBDialog::GetLoadDistortion | ( | ) | const |
Definition at line 192 of file wxLensDB.cpp.
References m_loadDistortion.
Referenced by ApplyLensDBParameters().
bool LoadLensDBDialog::GetLoadVignetting | ( | ) | const |
Definition at line 197 of file wxLensDB.cpp.
References m_loadVignetting.
Referenced by ApplyLensDBParameters().
double LoadLensDBDialog::GetSubjectDistance | ( | ) | const |
Definition at line 187 of file wxLensDB.cpp.
References m_distance.
Referenced by ApplyLensDBParameters().
|
protected |
Definition at line 269 of file wxLensDB.cpp.
References m_lenslist, m_loadDistortion, and m_loadVignetting.
Referenced by SetLensName().
|
protected |
Saves current state of all checkboxes when closing dialog with Ok.
Definition at line 213 of file wxLensDB.cpp.
References m_aperture, m_distance, m_focal, m_lenslist, m_loadDistortion, m_loadVignetting, and str2double().
void LoadLensDBDialog::SetAperture | ( | double | aperture | ) |
Definition at line 170 of file wxLensDB.cpp.
References hugin_utils::doubleTowxString(), and m_aperture.
Referenced by ApplyLensDBParameters().
void LoadLensDBDialog::SetFocalLength | ( | double | focal | ) |
Definition at line 159 of file wxLensDB.cpp.
References hugin_utils::doubleTowxString(), and m_focal.
Referenced by ApplyLensDBParameters().
void LoadLensDBDialog::SetLensName | ( | std::string | lensname | ) |
Definition at line 140 of file wxLensDB.cpp.
References m_lenslist, m_lensNames, and OnCheckChanged().
Referenced by ApplyLensDBParameters().
void LoadLensDBDialog::SetSubjectDistance | ( | double | distance | ) |
Definition at line 181 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(), 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(), OnCheckChanged(), and OnOk().
|
private |
Definition at line 63 of file wxLensDB.cpp.
Referenced by GetLoadVignetting(), OnCheckChanged(), and OnOk().