26 #ifndef PERSPECTIVEPANEL_H
27 #define PERSPECTIVEPANEL_H
30 #include "wx/clrpicker.h"
49 void SetImage(
const wxString& filename);
53 void OnSize(wxSizeEvent& e);
55 void OnZoom(wxCommandEvent& e);
96 #endif // PERSPECTIVEPANEL_H
wxArrayString m_tempFiles
temp files, which should be deleted at end
wxTextCtrl * m_cropTextCtrl
bool Create(wxWindow *parent, MyExecPanel *logWindow)
create the panel and populate all controls
wxString GetStatusString()
return help text for current mode
void OnSize(wxSizeEvent &e)
void OnFindLines(wxCommandEvent &e)
wxButton * m_outputButton
wxStaticText * m_helpTextCtrl
void OnModeChanged(wxCommandEvent &e)
const double GetRoll() const
return the roll angle in degree
declaration of preview for lens calibration gui
bool ReadInputs()
read the values from the input boxes
PerspectiveImageCtrl::ImageRotation m_exifRotation
save rotation as written in EXIF
void OnProcessFinished(wxCommandEvent &e)
clean up temporary files at end
const PerspectiveImageCtrl::ImageRotation GetRotation() const
return the image rotation
~PerspectivePanel()
destructor, save position and size
void OnSaveOutput(wxCommandEvent &e)
void OnZoom(wxCommandEvent &e)
void OnLoadImage(wxCommandEvent &e)
PerspectiveImageCtrl * m_preview
controls
bool GetPanorama(HuginBase::Panorama &pano, const bool optimized=true)
return Pano object, it is optimized and the crop set when optimized=true
image previewer for perspective correction
MyExecPanel * m_logWindow
void OnCropChanged(wxCommandEvent &e)
void OnRotationChanged(wxCommandEvent &e)
wxButton * m_findLineButton
ImageRotation
image rotation.
void OnColourChanged(wxColourPickerEvent &e)
include file for the hugin project
void OnSavePTO(wxCommandEvent &e)
HuginBase::SrcPanoImage m_srcImage
SrcPanoImage, contains information about the image.
void OnPreview(wxCommandEvent &e)
wxTextCtrl * m_focallengthTextCtrl
void SetImage(const wxString &filename)
load the given image
All variables of a source image.
wxChoice * m_previewChoice
wxChoice * m_rotationChoice