28 #include "wx/msw/wrapwin.h"
31 #include <wx/arrimpl.cpp>
43 wxFileName file(
path);
46 file.GetTimes(NULL,&
modDate,NULL);
74 return _(
"In progress");
80 return _(
"File missing");
95 wxFileName::SplitPath(projectFile, &pathToPTO, NULL, NULL);
96 pathToPTO.Append(wxT(
"/"));
107 opts.
enblendOptions = wxConfigBase::Get()->Read(wxT(
"/Enblend/Args"), wxT(
"")).mb_str(wxConvLocal);
108 opts.
enfuseOptions = wxConfigBase::Get()->Read(wxT(
"/Enfuse/Args"), wxT(
"")).mb_str(wxConvLocal);
115 prefixFilename.Normalize(wxPATH_NORM_ABSOLUTE | wxPATH_NORM_DOTS | wxPATH_NORM_TILDE | wxPATH_NORM_SHORTCUT);
116 prefix = prefixFilename.GetFullPath();
132 wxFileName file(
path);
133 if(file.FileExists())
135 file.GetTimes(NULL,&
modDate,NULL);
HuginBase::PanoramaOptions ReadOptions(wxString projectFile)
wxString userDefindSequence
void setMemento(const PanoramaMemento &memento)
set the internal state
WX_DEFINE_OBJARRAY(wxArrayTreeListColumnInfo)
Project(wxString pth, wxString pfx, wxString newUserDefinedSequence=wxEmptyString, Project::Target newTarget=STITCHING)
std::size_t getNrOfCtrlPoints() const
number of control points
std::string enfuseOptions
HuginBase::PanoramaOptions options
bool loadPTScript(std::istream &i, int &ptoVersion, const std::string &prefix="")
load a Hugin file
std::size_t getNrOfImages() const
number of images.
std::string enblendOptions
const PanoramaOptions & getOptions() const
returns the options for this panorama
Memento class for a Panorama object.
functions for interaction with the hugin configuration file
void setOptions(const PanoramaOptions &opt)
set new output settings This is not used directly for optimizing/stiching, but it can be feed into ru...
Batch processor for Hugin.
wxString getDefaultOutputName(const wxString projectname, const HuginBase::Panorama &pano, const wxString filenameTemplate)
gets the default output prefix, based on filename and images in project the setting is read from the ...