26#ifndef _EDITOUTPUTINIDIALOG_H
27#define _EDITOUTPUTINIDIALOG_H
30#include <wx/propgrid/propgrid.h>
31#include <wx/propgrid/manager.h>
44 void OnOk(wxCommandEvent& e);
Dialog for editing user defined output settings (ini file)
wxPGProperty * m_currentSection
void AddKey(wxPGProperty *section, const wxString &key, const wxString &value)
add key with value to wxPropertyGrid, generate if necessary all sub properties
wxArrayString GetChildren(wxPGProperty *prop) const
return wxArrayString with all sub-entries of given wxPGProperty
void BuildAddContextMenu(wxMenu &menu, wxPGProperty *category, const bool addSeparator)
function to build context menu with all missing entries
void OnRenameSection(wxCommandEvent &e)
renames a new section
void OnOk(wxCommandEvent &e)
save ini and close dialog
void OnContextMenu(wxContextMenuEvent &e)
right click handler, show popup menu
wxArrayString GetSections() const
return wxArrayString with all sections
void OnAddSection(wxCommandEvent &e)
add a new section
wxPropertyGridManager * m_grid
void ReadIni()
read the ini file and populate the control
~EditOutputIniDialog()
destructor, saves size and position
void OnAddCondition(wxCommandEvent &e)
adds a new condition to list
wxFileName GetIniFileName()
return the filename of the default ini file
void WriteIni()
write the ini to disc
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.