00001
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef LENSTOOLS_H
00028 #define LENSTOOLS_H
00029
00030 #include <hugin_shared.h>
00031 #include "panoinc_WX.h"
00032 #include "panoinc.h"
00033
00036 WXIMPEX void FillLensProjectionList(wxControlWithItems* list);
00038 WXIMPEX void SelectProjection(wxControlWithItems* list,size_t new_projection);
00040 WXIMPEX size_t GetSelectedProjection(wxControlWithItems* list);
00041
00043 WXIMPEX void SaveLensParameters(const wxString filename, HuginBase::Panorama* pano, unsigned int imgNr);
00045 WXIMPEX void SaveLensParametersToIni(wxWindow * parent, PT::Panorama *pano, const HuginBase::UIntSet images);
00046
00054 WXIMPEX bool ApplyLensParameters(wxWindow * parent, PT::Panorama *pano, HuginBase::UIntSet images,PT::PanoCommand*& command);
00063 WXIMPEX bool LoadLensParametersChoose(wxWindow * parent, HuginBase::Lens & lens,
00064 bool & cropped, bool & autoCenterCrop, vigra::Rect2D & cropRect);
00065
00066
00067 #endif // LENSTOOLS_H