42 virtual bool Execute(
bool dryRun);
43 virtual bool CheckReturnCode()
const;
57 virtual bool Execute(
bool dryRun);
58 virtual bool CheckReturnCode()
const;
normal command for queue, processing is stopped if an error occurred in program
NormalCommand(wxString prog, wxString args, wxString comment=wxEmptyString)
optional command for queue, processing of queue is always continued, also if an error occurred
OptionalCommand(wxString prog, wxString args, wxString comment=wxEmptyString)
str wxEscapeFilename(const str &arg)
special escaping routine for CommandQueues
wxString GetExternalProgram(wxConfigBase *config, const wxString &bindir, const wxString &name)
return path and name of external program, which can be overwritten by the user
void CleanQueue(CommandQueue *queue)
clean the queue, delete all entries, but not the queue itself
bool RunCommandsQueue(CommandQueue *queue, size_t threads, bool dryRun)
execute the given, set environment variable OMP_NUM_THREADS to threads (ignored for 0) after running ...
wxString wxStringFromCDouble(double val, int precision)
convert double to wxString, it is always using a '.
std::vector< NormalCommand * > CommandQueue
const wxString GetSettingStringTranslated(wxConfigBase *setting, const wxString &name, const wxString defaultValue)
read a translated string from settings and remove all whitespaces
wxString GetInternalProgram(const wxString &bindir, const wxString &name)
return path and name of external program, which comes bundled with Hugin
const wxString GetConfigTempDir(const wxConfigBase *config)
return the temp dir from the preferences, ensure that it ends with path separator
const wxString GetSettingString(wxConfigBase *setting, const wxString &name, const wxString defaultValue)
read a string from setting and remove all whitespaces
str wxQuoteStringInternal(const str &arg, const str "echar, const str &replacements)
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.