30#include <wx/propgrid/propgrid.h>
63 void OnZoom(wxCommandEvent& e);
declaration of PreviewWindow class
void PopulateEnfuseOptions()
fill the PropertyGrid with all enfuse options
PreviewWindow * m_preview
bool Create(wxWindow *parent, MyExecPanel *logPanel)
creates the control and populates all controls with their settings
void OnZoom(wxCommandEvent &e)
wxPropertyGrid * m_enfuseOptions
void OnCreateFile(wxCommandEvent &e)
HuginBase::ImageCache::RequestPtr m_imgRequest
void AddFile(const wxString &filename)
adds the given file to the list
void OnAddFiles(wxCommandEvent &e)
event handler
void OnProcessFinished(wxCommandEvent &e)
call at the end of the enfuse command, to load result back and enable buttons again
void OnFileListChar(wxKeyEvent &e)
void OnRemoveFile(wxCommandEvent &e)
void OnGenerateOutput(wxCommandEvent &e)
void OnImageLoaded(HuginBase::ImageCache::EntryPtr entry, std::string filename)
called when is image is fully loaded to display image in wxStaticBitmap
void CleanUpTempFiles()
delete all temporary files, to be called mainly at end
std::string m_selectedImage
void EnableOutputButtons(bool enable)
enable/disable output buttons
void ExecuteEnfuseExiftool()
build the command line and execute enfuse and exiftool afterwards
long GetCheckedItemCount() const
return the number of check images
void OnGeneratePreview(wxCommandEvent &e)
~EnfusePanel()
destructor, save state and settings
wxString GetEnfuseOptions()
build string with all enfuse options from values in wxPropertyGrid this are the mainly the fusion opt...
MyExecPanel * m_logWindow
void OnFileCheckStateChanged(wxCommandEvent &e)
wxString GetEnfuseCommandLine()
get the full commandline for enfuse without program, but with files and output options,...
wxStaticBitmap * m_previewSelectedImage
wxArrayString m_tempFiles
wxArrayString m_outputFilenames
void OnLoadSetting(wxCommandEvent &e)
wxListCtrl * m_fileListCtrl
void ExecuteEnfuse()
build the command line and execute enfuse command
void OnSaveSetting(wxCommandEvent &e)
wxNotebook * m_enfuse_preview_notebook
void EnableFileButtons()
enable/disable the file(s) remove and create buttons depending on selection of wxListCtrl
void OnResetSetting(wxCommandEvent &e)
void OnFileSelectionChanged(wxCommandEvent &e)
std::shared_ptr< Request > RequestPtr
Reference counted request for an image to load.
std::shared_ptr< Entry > EntryPtr
a shared pointer to the entry
include file for the hugin project
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.