Hugintrunk
0.1
|
dialogs for loading and saving information from/to lens database More...
Go to the source code of this file.
Functions | |
WXIMPEX bool | ApplyLensDBParameters (wxWindow *parent, HuginBase::Panorama *pano, HuginBase::UIntSet images, PanoCommand::PanoCommand *&cmd) |
loads the lens parameters from lens database and create approbiate PanoCommand::PanoCommand to apply this parameter. More... | |
WXIMPEX bool | SaveLensParameters (wxWindow *parent, const HuginBase::SrcPanoImage &img, bool includeVignetting=true) |
saves the lensparameter of the given HuginBase::SrcPanoImage into the lens database More... | |
dialogs for loading and saving information from/to lens database
Definition in file wxLensDB.h.
WXIMPEX bool ApplyLensDBParameters | ( | wxWindow * | parent, |
HuginBase::Panorama * | pano, | ||
HuginBase::UIntSet | images, | ||
PanoCommand::PanoCommand *& | cmd | ||
) |
loads the lens parameters from lens database and create approbiate PanoCommand::PanoCommand to apply this parameter.
it shows a dialog to select which information should be loaded
parent | parent window for display window |
pano | panorama object from which information should be inside lens database |
images | images into which parameters should be loaded from database |
cmd | contains the PanoCommand::PanoCommand to apply |
Definition at line 275 of file wxLensDB.cpp.
References HuginBase::SrcPanoImage::calcFocalLength(), HuginBase::SrcPanoImage::calcHFOV(), HuginBase::BaseSrcPanoImage::CROP_CIRCLE, HuginBase::BaseSrcPanoImage::CROP_RECTANGLE, LoadLensDBDialog::GetAperture(), HuginBase::LensDB::LensDB::GetCrop(), HuginBase::SrcPanoImage::getDBLensName(), HuginBase::LensDB::LensDB::GetDistortion(), LoadLensDBDialog::GetFocalLength(), HuginBase::LensDB::LensDB::GetFov(), HuginBase::Panorama::getImage(), LoadLensDBDialog::GetLensName(), HuginBase::ConstStandardImageVariableGroups::getLensVariables(), LoadLensDBDialog::GetLoadDistortion(), LoadLensDBDialog::GetLoadVignetting(), HuginBase::LensDB::LensDB::GetProjection(), HuginBase::LensDB::LensDB::GetSingleton(), LoadLensDBDialog::GetSubjectDistance(), HuginBase::LensDB::LensDB::GetVignetting(), HuginBase::SrcPanoImage::isCircularCrop(), LoadLensDBDialog::SetAperture(), LoadLensDBDialog::SetFocalLength(), LoadLensDBDialog::SetLensName(), and LoadLensDBDialog::SetSubjectDistance().
Referenced by PanoOperation::LoadLensOperation::GetInternalCommand().
WXIMPEX bool SaveLensParameters | ( | wxWindow * | parent, |
const HuginBase::SrcPanoImage & | img, | ||
bool | includeVignetting = true |
||
) |
saves the lensparameter of the given HuginBase::SrcPanoImage into the lens database
parent | parent window for display dialog |
img | HuginBase::SrcPanoImage, which contains the information which should be stored inside lens database |
includeVignetting | if the vignetting correction can be selected |
Definition at line 591 of file wxLensDB.cpp.
References HuginBase::SrcPanoImage::calcFocalLength(), HuginBase::SrcPanoImage::calcHFOV(), SaveLensDBDialog::DeactivateSaveVignetting(), SaveLensDBDialog::GetAperture(), SaveLensDBDialog::GetCameraMaker(), SaveLensDBDialog::GetCameraModel(), HuginBase::SrcPanoImage::getDBLensName(), SaveLensDBDialog::GetFocalLength(), SaveLensDBDialog::GetLensName(), SaveLensDBDialog::GetSaveDistortion(), SaveLensDBDialog::GetSaveVignetting(), HuginBase::LensDB::LensDB::GetSingleton(), SaveLensDBDialog::GetSubjectDistance(), HuginBase::LensDB::LensDB::SaveCameraCrop(), HuginBase::LensDB::LensDB::SaveDistortion(), HuginBase::LensDB::LensDB::SaveLensFov(), HuginBase::LensDB::LensDB::SaveVignetting(), SaveLensDBDialog::SetAperture(), SaveLensDBDialog::SetCameraMaker(), SaveLensDBDialog::SetCameraModel(), SaveLensDBDialog::SetFocalLength(), SaveLensDBDialog::SetLensName(), and SaveLensDBDialog::SetSubjectDistance().