#include "panoinc_WX.h"
#include "panoinc.h"
#include "wxLensDB.h"
#include "lensdb/LensDB.h"
#include "platform.h"
#include "base_wx/wxPlatform.h"
#include "panodata/ImageVariableTranslate.h"
Include dependency graph for wxLensDB.cpp:

Go to the source code of this file.
Classes | |
| class | LoadLensDBDialog |
| dialog for loading lens parameter from lensfun database More... | |
| class | SaveLensDBDialog |
| dialog for saving lens parameter into lensfun database More... | |
| class | SaveCamDBDialog |
| dialog for saving lens parameter into lensfun database More... | |
Functions | |
| EVT_BUTTON (XRCID("load_lens_search"), LoadLensDBDialog::OnSearch) EVT_LISTBOX(XRCID("load_lens_list") | |
| LoadLensDBDialog::OnCheckChanged | EVT_CHECKBOX (XRCID("load_lens_distortion"), LoadLensDBDialog::OnCheckChanged) EVT_CHECKBOX(XRCID("load_lens_vignetting") |
| bool | str2double (wxWindow *parent, wxString s, double &d) |
| bool | ApplyLensDBParameters (wxWindow *parent, PT::Panorama *pano, HuginBase::UIntSet images, PT::PanoCommand *&cmd) |
| loads the lens parameters from lensfun database and create approbiate PT::PanoCommand to apply this parameter. it shows a dialog to select which informations should be loaded | |
| EVT_CHECKBOX (XRCID("save_lens_distortion"), SaveLensDBDialog::OnCheckChanged) EVT_CHECKBOX(XRCID("save_lens_vignetting") | |
| bool | ShowFileDialogWithWarning (wxFileDialog &dlg, wxString userDBPath) |
| std::string | BuildMountName (std::string maker, std::string model) |
| bool | SaveLensParameters (wxWindow *parent, const HuginBase::SrcPanoImage &img, bool includeVignetting) |
| saves the lensparameter of the given HuginBase::SrcPanoImage into the lensfun database | |
| bool | SaveCameraCropFactor (wxWindow *parent, const HuginBase::SrcPanoImage &img) |
| saves the crop factor (camera) of the given HuginBase::SrcPanoImage into the lensfun database | |
Definition in file wxLensDB.cpp.
|
||||||||||||||||||||
|
||||||||||||
|
Definition at line 675 of file wxLensDB.cpp. References hugin_utils::tolower(). Referenced by SaveLensParameters(). |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
saves the crop factor (camera) of the given HuginBase::SrcPanoImage into the lensfun database
Definition at line 937 of file wxLensDB.cpp. References SaveCamDBDialog::GetCameraMaker(), SaveCamDBDialog::GetCameraModel(), HuginBase::LensDB::LensDB::GetCameraMount(), SaveCamDBDialog::GetCameraMount(), HuginBase::LensDB::LensDB::GetSingleton(), HuginBase::LensDB::LensDB::GetUserDBPath(), HUGIN_CONV_FILENAME, HuginBase::LensDB::LensDB::SaveCameraCrop(), SaveCamDBDialog::SetCameraMaker(), SaveCamDBDialog::SetCameraModel(), SaveCamDBDialog::SetCameraMount(), and ShowFileDialogWithWarning(). Referenced by PanoOperation::SaveLensOperation::GetInternalCommand(). |
|
||||||||||||||||
|
saves the lensparameter of the given HuginBase::SrcPanoImage into the lensfun database
Definition at line 699 of file wxLensDB.cpp. References HuginBase::LensDB::LensDB::BeginSaveLens(), BuildMountName(), SaveLensDBDialog::DeactivateSaveVignetting(), HuginBase::LensDB::LensDB::EndSaveLens(), hugin_utils::FDiff2D, SaveLensDBDialog::GetAperture(), SaveLensDBDialog::GetCameraMaker(), SaveLensDBDialog::GetCameraModel(), HuginBase::LensDB::LensDB::GetCameraMount(), SaveLensDBDialog::GetFocalLength(), SaveLensDBDialog::GetLensMaker(), SaveLensDBDialog::GetLensMount(), SaveLensDBDialog::GetLensName(), SaveLensDBDialog::GetSaveDistortion(), SaveLensDBDialog::GetSaveVignetting(), HuginBase::LensDB::LensDB::GetSingleton(), SaveLensDBDialog::GetSubjectDistance(), HuginBase::LensDB::LensDB::GetUserDBPath(), HUGIN_CONV_FILENAME, HuginBase::LensDB::LensDB::ReloadUserPart(), HuginBase::LensDB::LensDB::SaveCameraCrop(), HuginBase::LensDB::LensDB::SaveCrop(), HuginBase::LensDB::LensDB::SaveDistortion(), HuginBase::LensDB::LensDB::SaveHFOV(), HuginBase::LensDB::LensDB::SaveVignetting(), SaveLensDBDialog::SetAperture(), SaveLensDBDialog::SetCameraMaker(), SaveLensDBDialog::SetCameraModel(), SaveLensDBDialog::SetFocalLength(), SaveLensDBDialog::SetLensMount(), SaveLensDBDialog::SetLensName(), SaveLensDBDialog::SetSubjectDistance(), ShowFileDialogWithWarning(), and makefile::string. Referenced by PanoOperation::SaveLensOperation::GetInternalCommand(), LensCalFrame::OnSaveLens(), SaveLensParametersToIni(), and LensCalFrame::SaveLensToIni(). |
|
||||||||||||
|
Definition at line 649 of file wxLensDB.cpp. Referenced by SaveCameraCropFactor(), and SaveLensParameters(). |
|
||||||||||||||||
|
Definition at line 229 of file wxLensDB.cpp. References hugin_utils::stringToDouble(). |
1.3.9.1