28 #ifndef LENSCALFRAME_H
29 #define LENSCALFRAME_H
44 bool OnDropFiles(wxCoord x, wxCoord y,
const wxArrayString& filenames);
48 namespace wxGraphTools
50 class GraphPopupWindow;
78 void OnExit(wxCommandEvent &e);
90 void OnReset(wxCommandEvent &e);
94 bool ReadInputs(
bool readFocalLength,
bool readOptions,
bool readLensParameter);
133 DECLARE_EVENT_TABLE()
137 #endif // LENSCALFRAME_H
LensCalImageCtrl * m_preview
image previewer for lens calibration GUI
declaration of functions for finding lines
wxChoice * m_choice_projection
void OnSelectPreviewContent(wxCommandEvent &e)
void OnSaveLens(wxCommandEvent &e)
simple class that forward the drop to the mainframe
virtual ~LensCalFrame()
destructor
bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString &filenames)
file drag and drop handler method
void OnRefresh(wxCommandEvent &e)
bool displayProgress()
update progress display
void Optimize()
do the optimization
LensCalFrame(wxWindow *parent)
constructor
void OnShowLines(wxCommandEvent &e)
void OnShowDistortionGraph(wxCommandEvent &e)
show distortion graph
unsigned int m_resize_dimension
void updateProgressDisplay()
called when a progress message should be displayed
void OnAddImage(wxCommandEvent &e)
void OnImageSelected(wxCommandEvent &e)
void EnableButtons()
enable all buttons and menu items depending on number of active images
void UpdateListString(unsigned int index)
HuginBase::SrcPanoImage::Projection m_projection
wxGraphTools::GraphPopupWindow * m_popup
void OnReset(wxCommandEvent &e)
declaration of preview for lens calibration gui
void OnOptimize(wxCommandEvent &e)
bool ReadInputs(bool readFocalLength, bool readOptions, bool readLensParameter)
reads all input values into internal values
void OnFindLines(wxCommandEvent &e)
include file for the hugin project
const wxString & GetXRCPath()
get the path to the xrc directory
void OnExit(wxCommandEvent &e)
wxListBox * m_images_list
std::vector< ImageLineList * > m_images
list of all detected lines
declaration of helper class for LensCal
HuginBase::Panorama GetPanorama()
return panorama object with all images
void ParametersToDisplay()
set all parameter input wxTextField to internal values
void OnRemoveImage(wxCommandEvent &e)
void UpdateList(bool restoreSelection)
updates the list box with current values
void OnSaveProject(wxCommandEvent &e)
void AddImages(wxArrayString files)