26#ifndef _WXPANOCOMMAND__H
27#define _WXPANOCOMMAND__H
57 virtual std::string
getName()
const {
return "add images"; };
70 :
PanoCommand(p), filename(filename), prefix(prefix), markAsOptimized(markAsOptimized)
72 m_clearDirty = clearDirty;
75 virtual std::string
getName()
const {
return "load project"; };
90 virtual std::string
getName()
const {
return "new project"; };
103 virtual std::string
getName()
const {
return "apply template"; };
117 virtual std::string
getName()
const {
return "add control point"; };
119 unsigned int img1, img2,
dx, dy;
133 virtual std::string getName()
const {
return "python script"; };
135 std::string m_scriptFile;
wxAddCtrlPointGridCmd(HuginBase::Panorama &p, unsigned int i1, unsigned int i2, double scale, double threshold)
virtual std::string getName() const
returns the name of the command
add image(s) to a panorama
virtual std::string getName() const
returns the name of the command
wxAddImagesCmd(HuginBase::Panorama &pano, const std::vector< std::string > &newfiles, const int preferredLensType=-1)
std::vector< std::string > files
apply a template to a panorama object
virtual std::string getName() const
returns the name of the command
wxApplyTemplateCmd(HuginBase::Panorama &p, std::istream &i)
dump the current project and load a new one.
wxLoadPTProjectCmd(HuginBase::Panorama &p, const std::string &filename, const std::string &prefix="", const bool markAsOptimized=false, const bool clearDirty=true)
const std::string filename
const bool markAsOptimized
virtual std::string getName() const
returns the name of the command
start a new project, reset options to values in preferences
virtual std::string getName() const
returns the name of the command
wxNewProjectCmd(HuginBase::Panorama &p)
bool operator()(const std::string &file1, const std::string &file2)
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.