24 #ifndef _OPTIMIZE_PANEL_H
25 #define _OPTIMIZE_PANEL_H
28 #include <wx/xrc/xmlres.h>
46 bool Create(wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxTAB_TRAVERSAL,
const wxString& name = wxT(
"panel"));
72 void OnReset(wxCommandEvent& e);
100 virtual wxObject *DoCreateResource();
101 virtual bool CanHandle(wxXmlNode *node);
105 #endif // _OPTIMIZE_PANEL_H
ImagesTreeCtrl * m_lens_tree_list
declaration of helper for work with different GuiLevels
ImagesTreeCtrl * m_images_tree_list
virtual void panoramaImagesChanged(HuginBase::Panorama &pano, const HuginBase::UIntSet &imgNr)
receives notification about panorama changes
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxT("panel"))
Delayed creation.
void OnReset(wxCommandEvent &e)
void OnCheckIgnoreLineCP(wxCommandEvent &e)
handle "ignore line cp" checkbox
wxCheckBox * m_only_active_images_cb
void Init(HuginBase::Panorama *pano)
std::set< unsigned int > UIntSet
HuginBase::Panorama * m_pano
void runOptimizer(const HuginBase::UIntSet &img, const bool ignoreLineCp)
void SetIgnoreLineCP(const bool noLineCp)
for external setting of "ignore line cp" checkbox
void SetOnlyActiveImages(const bool onlyActive)
for external setting of "only active image" checkbox
wxCheckBox * m_ignore_line_cp
void OnOptimizeButton(wxCommandEvent &e)
run the optimizer
bool AskApplyResult(wxWindow *activeWindow, const HuginBase::Panorama &pano)
void SetGuiLevel(GuiLevel newGuiLevel)
this handler class will receive change events from the Panorama.
the main images tree control, used on images and optimizer tabs
virtual void panoramaChanged(HuginBase::Panorama &pano)
receives notification about panorama changes
void OnClose(wxCloseEvent &e)
void OnCheckOnlyActiveImages(wxCommandEvent &e)
handle "only active images" checkbox