declaration of helper for work with different GuiLevels
this handler class will receive change events from the Panorama.
virtual wxObject * DoCreateResource()
virtual bool CanHandle(wxXmlNode *node)
Define the pano edit panel.
virtual void panoramaChanged(HuginBase::Panorama &pano)
this is called whenever the panorama has changed.
wxTextCtrl * m_ROIRightTxt
void HFOVChanged(wxCommandEvent &e)
void OnHDRMergeOptions(wxCommandEvent &e)
void DoCalcFOV(wxCommandEvent &e)
void ApplyQuickMode(int preset)
void SetStitcher(HuginBase::PanoramaOptions::Remapper stitcher)
bool CheckFreeSpace(const wxString &folder)
check if there is enough free disk space
wxButton * m_CalcOptWidthButton
wxChoice * m_FileFormatChoice
wxChoice * m_HDRMergeChoice
bool CheckGoodSize()
Check the canvas size isn't overly huge, or the user knows what they are doing.
void DoCalcOptimalWidth(wxCommandEvent &e)
set the highest sensible width
void FileFormatChanged(wxCommandEvent &e)
void OnDoStitch(wxCommandEvent &e)
StitchingPresets
the supported defaults
void BlenderChanged(wxCommandEvent &e)
wxTextCtrl * m_FileFormatJPEGQualityText
void DoSendToBatch(const wxString &userDefinedSetting=wxEmptyString)
stitching with PTBatcherGUI
void EnableControls(bool enable)
enable/disable control influenced by quick mode
void OnHDRFileFormatOpts(wxCommandEvent &e)
bool CheckHasImages()
check if the output contains images at all
void OnJPEGQualityText(wxCommandEvent &e)
void ProjectionChanged(wxCommandEvent &e)
wxScrolledWindow * m_pano_ctrls
wxChoice * m_ProjectionChoice
void DoStitchOrSendBatch(const wxString &userDefinedSetting=wxEmptyString)
general stitching command, selects PTBatcherGUI or hugin_stitch_project depending on the settings in ...
void ROIChanged(wxCommandEvent &e)
virtual void panoramaImagesChanged(HuginBase::Panorama &pano, const HuginBase::UIntSet &imgNr)
notifies about changes to images
HuginBase::PanoramaOptions m_oldOpt
void HFOVChangedSpin(wxSpinEvent &e)
void OnOutputFilesChanged(wxCommandEvent &e)
wxTextCtrl * m_ROIBottomTxt
void OnFusionOptions(wxCommandEvent &e)
wxChoice * m_edgeFillChoice
void OnNormalTIFFCompression(wxCommandEvent &e)
wxChoice * m_FileFormatTIFFCompChoice
wxButton * GetStitchButton() const
wxChoice * m_FileFormatHDRTIFFCompChoice
wxButton * m_CalcOptROIButton
void Init(HuginBase::Panorama *pano)
void QuickModeChanged(wxCommandEvent &e)
wxChoice * m_HDRFileFormatChoice
wxButton * m_CalcHFOVButton
bool StackCheck(HuginBase::Panorama &pano)
void VFOVChangedSpin(wxSpinEvent &e)
void OnEdgeFillChanged(wxCommandEvent &e)
void UpdateDisplay(const HuginBase::PanoramaOptions &opt, const bool hasStacks)
void HDRMergeChanged(wxCommandEvent &e)
void HeightChanged(wxCommandEvent &e)
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name="panel")
void VFOVChanged(wxCommandEvent &e)
void OnBlenderOptions(wxCommandEvent &e)
void OnRemapperOptions(wxCommandEvent &e)
wxButton * m_StitchButton
void FusionChanged(wxCommandEvent &e)
void RemapperChanged(wxCommandEvent &e)
void SetGuiLevel(GuiLevel newGuiLevel)
wxTextCtrl * m_ROILeftTxt
void DoStitch(const wxString &userDefinedSetting=wxEmptyString, const bool readSetting=true)
stitching using hugin_stitch_project
wxChoice * m_BlenderChoice
wxStaticText * m_HDRFileFormatLabelTIFFCompression
void DoUserDefinedStitch(const wxString &settings=wxString())
stitching with user defined file
void WidthChanged(wxCommandEvent &e)
wxChoice * m_RemapperChoice
void DoCalcOptimalROI(wxCommandEvent &e)
set the largest rectangle for crop ROI
void HDRFileFormatChanged(wxCommandEvent &e)
wxChoice * m_FusionChoice
void OnEdgeFillOptions(wxCommandEvent &e)
HuginBase::Panorama * pano
wxStaticText * m_FileFormatOptionsLabel
void OnHDRTIFFCompression(wxCommandEvent &e)
StitchingEngine
the supported stitching engines
std::set< unsigned int > UIntSet
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.