Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PanoCommand.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
24 #ifndef _Hgn1_PANOCOMMAND_H
25 #define _Hgn1_PANOCOMMAND_H
26 
27 
28 #include "Command.h"
29 
30 #include "panodata/Panorama.h"
32 
33 namespace PanoCommand
34 {
40  {
41  public:
46  CombinedPanoCommand(HuginBase::Panorama & pano, std::vector<PanoCommand*> & commands)
47  : PanoCommand(pano), commands(commands) { setName("multiple commands");};
49  virtual bool processPanorama(HuginBase::Panorama & pano);
50  private:
51  std::vector<PanoCommand*> commands;
52  };
53 
56  {
57  public:
58  explicit NewPanoCmd(HuginBase::Panorama & pano) : PanoCommand(pano) { m_clearDirty = true; };
59  virtual bool processPanorama(HuginBase::Panorama& pano);
60  virtual std::string getName() const { return "new panorama"; };
61  };
62 
65  {
66  public:
67  AddImagesCmd(HuginBase::Panorama & pano, const std::vector<HuginBase::SrcPanoImage> & images)
68  : PanoCommand(pano), imgs(images) { };
69  virtual bool processPanorama(HuginBase::Panorama& pano);
70  virtual std::string getName() const { return "add images"; };
71  private:
72  std::vector<HuginBase::SrcPanoImage> imgs;
73  };
74 
80  {
81  public:
82  RemoveImageCmd(HuginBase::Panorama & p, unsigned int imgNr)
83  : PanoCommand(p), imgNr(imgNr)
84  { };
85 
86  virtual bool processPanorama(HuginBase::Panorama& pano);
87  virtual std::string getName() const { return "remove image"; };
88  private:
89  unsigned int imgNr;
90  };
91 
95  {
96  public:
98  virtual bool processPanorama(HuginBase::Panorama& pano);
99  virtual std::string getName() const { return "remove images"; };
100  private:
101  HuginBase::UIntSet imgNrs;
102  };
103 
106  {
107  public:
109  : PanoCommand(p), vars(vars) {};
110  virtual bool processPanorama(HuginBase::Panorama& pano);
111  virtual std::string getName() const { return "update variables"; };
112  private:
114  };
115 
118  {
119  public:
120  UpdateCPsCmd(HuginBase::Panorama & p, const HuginBase::CPVector & cps, bool doUpdateCPError = true)
121  : PanoCommand(p), cps(cps), updateCPError(doUpdateCPError)
122  { };
123  virtual bool processPanorama(HuginBase::Panorama& pano);
124  virtual std::string getName() const { return "update control points"; };
125  private:
128  };
129 
132  {
133  public:
135  : PanoCommand(p), vars(vars), cps(cps)
136  { };
137  virtual bool processPanorama(HuginBase::Panorama& pano);
138  virtual std::string getName() const { return "update variables and control points"; };
139  private:
142  };
143 
146  {
147  public:
149  : PanoCommand(p), m_imgs(imgs), vars(vars), cps(cps)
150  { };
151  virtual bool processPanorama(HuginBase::Panorama& pano);
152  virtual std::string getName() const { return "update variables and control points"; };
153  private:
154  HuginBase::UIntSet m_imgs;
157  };
158 
161  {
162  public:
164  : PanoCommand(p), imgNr(ImgNr), vars(vars)
165  { };
166  virtual bool processPanorama(HuginBase::Panorama& pano);
167  virtual std::string getName() const { return "update image variables"; };
168  private:
169  unsigned int imgNr;
171  };
172 
175  {
176  public:
178  : PanoCommand(p), change(change), vars(vars)
179  { };
180  virtual bool processPanorama(HuginBase::Panorama& pano);
181  virtual std::string getName() const { return "update image variables"; }
182  private:
185  };
186 
189  {
190  public:
191  UpdateVariablesByParseExpression(HuginBase::Panorama & p, const std::string& expression)
192  : PanoCommand(p), m_expression(expression)
193  { };
194  virtual bool processPanorama(HuginBase::Panorama& pano);
195  virtual std::string getName() const { return "update image variables by parsing expression"; }
196  private:
197  std::string m_expression;
198  };
199 
202  {
203  public:
205  : PanoCommand(p), m_optvec(optvec)
206  { };
207  virtual bool processPanorama(HuginBase::Panorama & pano);
208  virtual std::string getName() const { return "update optimize vector"; }
209  private:
211  };
212 
215  {
216  public:
217  UpdateOptimizerSwitchCmd(HuginBase::Panorama &p, int mode) : PanoCommand(p), m_mode(mode) { };
218  virtual bool processPanorama(HuginBase::Panorama & pano);
219  virtual std::string getName() const { return "update optimizer master switch"; }
220  private:
221  int m_mode;
222  };
223 
226  {
227  public:
229  virtual bool processPanorama(HuginBase::Panorama & pano);
230  virtual std::string getName() const { return "update photometric optimizer master switch"; }
231  private:
232  int m_mode;
233  };
234 
237  {
238  public:
240  : PanoCommand(p), images(images), var(var)
241  { };
242  virtual bool processPanorama(HuginBase::Panorama& pano);
243  virtual std::string getName() const { return "set image variable"; }
244  private:
247  };
248 
251  {
252  public:
254  virtual bool processPanorama(HuginBase::Panorama& pano);
255  virtual std::string getName() const { return "center panorama"; }
256  };
257 
260  {
261  public:
263  virtual bool processPanorama(HuginBase::Panorama& pano);
264  virtual std::string getName() const { return "straighten panorama"; };
265  };
266 
269  {
270  public:
272  : PanoCommand(p), point(cpoint)
273  {};
274  virtual bool processPanorama(HuginBase::Panorama& pano);
275  virtual std::string getName() const { return "add control point"; };
276  private:
278  };
279 
282  {
283  public:
285  : PanoCommand(p), cps(cpoints)
286  { }
287  virtual bool processPanorama(HuginBase::Panorama& pano);
288  virtual std::string getName() const { return "add control points"; };
289  private:
291  };
292 
295  {
296  public:
297  RemoveCtrlPointCmd(HuginBase::Panorama & p, unsigned int cpNr)
298  : PanoCommand(p), pointNr(cpNr)
299  { }
300  virtual bool processPanorama(HuginBase::Panorama& pano);
301  virtual std::string getName() const { return "remove control point"; };
302  private:
303  unsigned int pointNr;
304  };
305 
308  {
309  public:
311  : PanoCommand(p), m_points(points)
312  { }
313  virtual bool processPanorama(HuginBase::Panorama& pano);
314  virtual std::string getName() const { return "remove control points"; };
315  private:
316  HuginBase::UIntSet m_points;
317  };
318 
321  {
322  public:
324  : PanoCommand(p), pNr(nr), point(point)
325  {};
326  virtual bool processPanorama(HuginBase::Panorama& pano);
327  virtual std::string getName() const { return "change control point"; };
328  private:
329  unsigned int pNr;
331  };
332 
335  {
336  public:
338  : PanoCommand(p), m_active(active)
339  { };
340  virtual bool processPanorama(HuginBase::Panorama& pano);
341  virtual std::string getName() const { return "change active images"; };
342  private:
343  HuginBase::UIntSet m_active;
344  };
345 
348  {
349  public:
350  SwapImagesCmd(HuginBase::Panorama & p, unsigned int i1, unsigned int i2)
351  : PanoCommand(p), m_i1(i1), m_i2(i2)
352  { };
353  virtual bool processPanorama(HuginBase::Panorama& pano);
354  virtual std::string getName() const { return "swap images"; };
355  private:
356  unsigned int m_i1;
357  unsigned int m_i2;
358  };
359 
362  {
363  public:
364  MoveImageCmd(HuginBase::Panorama & p, size_t i1, size_t i2)
365  : PanoCommand(p), m_i1(i1), m_i2(i2)
366  { };
367  virtual bool processPanorama(HuginBase::Panorama& pano);
368  virtual std::string getName() const { return "move images"; };
369  private:
370  unsigned int m_i1;
371  unsigned int m_i2;
372  };
373 
376  {
377  public:
379  : PanoCommand(p), newPano(p2)
380  { };
381  virtual bool processPanorama(HuginBase::Panorama& pano);
382  virtual std::string getName() const { return "merge panorama"; };
383  private:
384  HuginBase::Panorama newPano;
385  };
386 
390  {
391  public:
393  : PanoCommand(p), img(img), imgNr(i)
394  { };
395  virtual bool processPanorama(HuginBase::Panorama& pano);
396  virtual std::string getName() const{ return "update source image"; };
397  private:
399  unsigned imgNr;
400  };
401 
405  {
406  public:
407  UpdateSrcImagesCmd(HuginBase::Panorama & p, HuginBase::UIntSet i, std::vector<HuginBase::SrcPanoImage> imgs)
408  : PanoCommand(p), imgs(imgs), imgNrs(i)
409  { };
410  virtual bool processPanorama(HuginBase::Panorama& pano);
411  virtual std::string getName() const { return "update source images"; };
412  private:
413  std::vector<HuginBase::SrcPanoImage> imgs;
415  };
416 
419  {
420  public:
422  : PanoCommand(p), options(opts)
423  { };
424  virtual bool processPanorama(HuginBase::Panorama& pano);
425  virtual std::string getName() const { return "set panorama options"; };
426  private:
428  };
429 
436  {
437  public:
438  LoadPTProjectCmd(HuginBase::Panorama & p, const std::string & filename, const std::string & prefix = "");
439  virtual bool processPanorama(HuginBase::Panorama& pano);
440  virtual std::string getName() const { return "load project"; };
441  private:
442  const std::string &filename;
443  const std::string &prefix;
444  };
445 
449  {
450  public:
451  RotatePanoCmd(HuginBase::Panorama & p, double yaw, double pitch, double roll)
452  : PanoCommand(p), y(yaw), p(pitch), r(roll)
453  { };
454  virtual bool processPanorama(HuginBase::Panorama& pano);
455  virtual std::string getName() const { return "rotate panorama"; };
456  private:
457  double y, p, r;
458  };
459 
463  {
464  public:
465  TranslatePanoCmd(HuginBase::Panorama & p, double TrX, double TrY, double TrZ)
466  : PanoCommand(p), X(TrX), Y(TrY), Z(TrZ)
467  { };
468  virtual bool processPanorama(HuginBase::Panorama& pano);
469  virtual std::string getName() const{ return "translate panorama"; };
470  private:
471  double X, Y, Z;
472  };
473 
477  {
478  public:
480  : PanoCommand(p), imgNrs(imgs), m_focalLength(newFocalLength)
481  { };
482  virtual bool processPanorama(HuginBase::Panorama& pano);
483  virtual std::string getName() const { return "update focal length"; };
484  private:
485  HuginBase::UIntSet imgNrs;
487  };
488 
492  {
493  public:
495  : PanoCommand(p), imgNrs(imgs), m_cropFactor(newCropFactor)
496  { };
497  virtual bool processPanorama(HuginBase::Panorama& pano);
498  virtual std::string getName() const { return "update crop factor"; };
499  private:
500  HuginBase::UIntSet imgNrs;
501  double m_cropFactor;
502  };
503 
507  {
508  public:
509  ChangePartNumberCmd(HuginBase::Panorama & p, HuginBase::UIntSet image_numbers, std::size_t new_part_number,
510  std::set<HuginBase::ImageVariableGroup::ImageVariableEnum> variables)
511  : PanoCommand(p), image_numbers(image_numbers), new_part_number(new_part_number),variables(variables)
512  { };
513  virtual bool processPanorama(HuginBase::Panorama& pano);
514  virtual std::string getName() const { return "Change part number"; };
515  private:
516  HuginBase::UIntSet image_numbers;
517  std::size_t new_part_number;
518  std::set<HuginBase::ImageVariableGroup::ImageVariableEnum> variables;
519  };
520 
525  {
526  public:
538  HuginBase::UIntSet image_numbers, std::set<HuginBase::ImageVariableGroup::ImageVariableEnum> changeVariables,
539  bool new_linked_state, std::set<HuginBase::ImageVariableGroup::ImageVariableEnum> groupVariables)
540  : PanoCommand(p), image_numbers(image_numbers), changeVariables(changeVariables),
541  new_linked_state(new_linked_state), groupVariables(groupVariables)
542  { };
543  virtual bool processPanorama(HuginBase::Panorama& pano);
544  virtual std::string getName() const { return "Change image variable links"; };
545  private:
546  HuginBase::UIntSet image_numbers;
547  std::set<HuginBase::ImageVariableGroup::ImageVariableEnum> changeVariables;
549  std::set<HuginBase::ImageVariableGroup::ImageVariableEnum> groupVariables;
550  };
551 
555  {
556  public:
557  LinkLensVarsCmd(HuginBase::Panorama & p, std::size_t lens_number, std::set<HuginBase::ImageVariableGroup::ImageVariableEnum> variables)
558  : PanoCommand(p), lens_number(lens_number), variables(variables)
559  { };
560  virtual bool processPanorama(HuginBase::Panorama& pano);
561  virtual std::string getName() const { return "Link lens variables"; };
562  private:
563  std::size_t lens_number;
564  std::set<HuginBase::ImageVariableGroup::ImageVariableEnum> variables;
565  };
566 
568 #define image_variable( name, type, default_value )\
569  class WXIMPEX ChangeImage##name##Cmd : public PanoCommand\
570  {\
571  public:\
572  ChangeImage##name##Cmd(HuginBase::Panorama & p,\
573  HuginBase::UIntSet image_numbers,\
574  type value)\
575  : PanoCommand(p),\
576  image_numbers(image_numbers),\
577  value(value)\
578  { };\
579  virtual bool processPanorama(HuginBase::Panorama& pano);\
580  virtual std::string getName() const { return "Change image's " #name; };\
581  private:\
582  HuginBase::UIntSet image_numbers;\
583  type value;\
584  };
586 #undef image_variable
587 
592  {
593  public:
601  NewPartCmd(HuginBase::Panorama & p, HuginBase::UIntSet image_numbers, std::set<HuginBase::ImageVariableGroup::ImageVariableEnum> vars)
602  : PanoCommand(p), image_numbers(image_numbers), vars(vars)
603  { }
604  virtual bool processPanorama(HuginBase::Panorama& pano);
605  virtual std::string getName() const { return "New Part"; };
606  private:
607  HuginBase::UIntSet image_numbers;
608  std::set<HuginBase::ImageVariableGroup::ImageVariableEnum> vars;
609  };
610 
613  {
614  public:
616  : PanoCommand(p), m_img(img), m_mask(mask)
617  { };
618  virtual bool processPanorama(HuginBase::Panorama& pano);
619  virtual std::string getName() const { return "update mask"; };
620  private:
621  unsigned int m_img;
623  };
624 
627  {
628  public:
629  UpdateWhiteBalance(HuginBase::Panorama & p, double redFactor, double blueFactor)
630  : PanoCommand(p), m_red(redFactor), m_blue(blueFactor)
631  { };
632  virtual bool processPanorama(HuginBase::Panorama& pano);
633  virtual std::string getName() const { return "update global white balance"; };
634  private:
635  double m_red;
636  double m_blue;
637  };
638 
641  {
642  public:
644  virtual bool processPanorama(HuginBase::Panorama& pano);
645  virtual std::string getName() const { return "set exposure to mean exposure"; };
646  };
647 
650  {
651  public:
653  virtual bool processPanorama(HuginBase::Panorama& pano);
654  virtual std::string getName() const { return "distribute images"; };
655  };
656 
657 
658 } // namespace PanoCommand
659 
660 #endif // _PANOCOMMAND_H
SetPanoOptionsCmd(HuginBase::Panorama &p, const HuginBase::PanoramaOptions &opts)
Definition: PanoCommand.h:421
Base class for all panorama commands.
Definition: Command.h:38
update source images
Definition: PanoCommand.h:404
UpdateCPsCmd(HuginBase::Panorama &p, const HuginBase::CPVector &cps, bool doUpdateCPError=true)
Definition: PanoCommand.h:120
MergePanoCmd(HuginBase::Panorama &p, HuginBase::Panorama &p2)
Definition: PanoCommand.h:378
update variables of a group of images
Definition: PanoCommand.h:174
HuginBase::VariableMapVector vars
Definition: PanoCommand.h:155
NewPanoCmd(HuginBase::Panorama &pano)
Definition: PanoCommand.h:58
std::set< HuginBase::ImageVariableGroup::ImageVariableEnum > variables
Definition: PanoCommand.h:564
move image from position1 to position2
Definition: PanoCommand.h:361
Change the linking of some variables across parts of an ImageVariableGroup containing some specified ...
Definition: PanoCommand.h:524
HuginBase::UIntSet images
Definition: PanoCommand.h:245
center panorama horizontically
Definition: PanoCommand.h:250
HuginBase::OptimizeVector m_optvec
Definition: PanoCommand.h:210
double X
LinkLensVarsCmd(HuginBase::Panorama &p, std::size_t lens_number, std::set< HuginBase::ImageVariableGroup::ImageVariableEnum > variables)
Definition: PanoCommand.h:557
remove a control point
Definition: PanoCommand.h:294
AddCtrlPointsCmd(HuginBase::Panorama &p, const HuginBase::CPVector &cpoints)
Definition: PanoCommand.h:284
virtual std::string getName() const
returns the name of the command
Definition: PanoCommand.h:645
AddCtrlPointCmd(HuginBase::Panorama &p, const HuginBase::ControlPoint &cpoint)
Definition: PanoCommand.h:271
Somewhere to specify what variables belong to what.
HuginBase::VariableMapVector vars
Definition: PanoCommand.h:184
ChangePartImagesLinkingCmd(HuginBase::Panorama &p, HuginBase::UIntSet image_numbers, std::set< HuginBase::ImageVariableGroup::ImageVariableEnum > changeVariables, bool new_linked_state, std::set< HuginBase::ImageVariableGroup::ImageVariableEnum > groupVariables)
Constructor.
Definition: PanoCommand.h:537
HuginBase::Variable var
Definition: PanoCommand.h:246
virtual std::string getName() const
returns the name of the command
Definition: PanoCommand.h:60
virtual std::string getName() const
returns the name of the command
Definition: PanoCommand.h:440
a variable has a value and a name.
std::vector< PanoCommand * > commands
Definition: PanoCommand.h:51
Translate the panorama.
Definition: PanoCommand.h:462
update variables of a single image
Definition: PanoCommand.h:160
HuginBase::MaskPolygonVector m_mask
Definition: PanoCommand.h:622
update the photometric optimizer master switch
Definition: PanoCommand.h:225
virtual std::string getName() const
returns the name of the command
Definition: PanoCommand.h:219
RotatePanoCmd(HuginBase::Panorama &p, double yaw, double pitch, double roll)
Definition: PanoCommand.h:451
virtual std::string getName() const
returns the name of the command
Definition: PanoCommand.h:264
add a control point
Definition: PanoCommand.h:268
remove several control points
Definition: PanoCommand.h:307
represents a control point
Definition: ControlPoint.h:38
UpdateCropFactorCmd(HuginBase::Panorama &p, HuginBase::UIntSet imgs, double newCropFactor)
Definition: PanoCommand.h:494
PanoCommand to combine other PanoCommands.
Definition: PanoCommand.h:39
UpdateSrcImagesCmd(HuginBase::Panorama &p, HuginBase::UIntSet i, std::vector< HuginBase::SrcPanoImage > imgs)
Definition: PanoCommand.h:407
CenterPanoCmd(HuginBase::Panorama &p)
Definition: PanoCommand.h:253
std::set< unsigned int > UIntSet
Definition: PanoramaData.h:51
set the panorama options
Definition: PanoCommand.h:418
StraightenPanoCmd(HuginBase::Panorama &p)
Definition: PanoCommand.h:262
update mask for given image
Definition: PanoCommand.h:612
const std::string & prefix
Definition: PanoCommand.h:443
std::vector< VariableMap > VariableMapVector
updates the optimize vector, aka all variables which should be optimized
Definition: PanoCommand.h:201
Model for a panorama.
Definition: Panorama.h:152
UpdateVariablesCPSetCmd(HuginBase::Panorama &p, HuginBase::UIntSet imgs, const HuginBase::VariableMapVector &vars, const HuginBase::CPVector &cps)
Definition: PanoCommand.h:148
std::set< HuginBase::ImageVariableGroup::ImageVariableEnum > changeVariables
Definition: PanoCommand.h:547
UpdateOptimizeVectorCmd(HuginBase::Panorama &p, HuginBase::OptimizeVector optvec)
Definition: PanoCommand.h:204
std::set< HuginBase::ImageVariableGroup::ImageVariableEnum > vars
Definition: PanoCommand.h:608
UpdateVariablesCPCmd(HuginBase::Panorama &p, const HuginBase::VariableMapVector &vars, const HuginBase::CPVector &cps)
Definition: PanoCommand.h:134
virtual std::string getName() const
returns the name of the command
Definition: PanoCommand.h:195
Make a new part in a ImageVariableGroup for a set of images, given the variables that make up the gro...
Definition: PanoCommand.h:591
TranslatePanoCmd(HuginBase::Panorama &p, double TrX, double TrY, double TrZ)
Definition: PanoCommand.h:465
remove an image from a panorama
Definition: PanoCommand.h:79
CombinedPanoCommand(HuginBase::Panorama &pano, std::vector< PanoCommand * > &commands)
Constructor.
Definition: PanoCommand.h:46
update the optimizer master switch
Definition: PanoCommand.h:214
virtual std::string getName() const
returns the name of the command
Definition: PanoCommand.h:181
Link a set of lens variables for some lens.
Definition: PanoCommand.h:554
merge two project files
Definition: PanoCommand.h:375
virtual std::string getName() const
returns the name of the command
Definition: PanoCommand.h:124
Switch the part number of an image.
Definition: PanoCommand.h:506
Update the focal length.
Definition: PanoCommand.h:476
UpdateSrcImageCmd(HuginBase::Panorama &p, unsigned i, HuginBase::SrcPanoImage img)
Definition: PanoCommand.h:392
#define WXIMPEX
Definition: hugin_shared.h:40
reset output exposure to mean exposure of all images
Definition: PanoCommand.h:640
ChangeCtrlPointCmd(HuginBase::Panorama &p, unsigned int nr, HuginBase::ControlPoint point)
Definition: PanoCommand.h:323
update all control points
Definition: PanoCommand.h:117
update all variables &amp; control points
Definition: PanoCommand.h:131
distributes all images above the sphere, for the assistant
Definition: PanoCommand.h:649
update all variables &amp; control points
Definition: PanoCommand.h:145
UpdateFocalLengthCmd(HuginBase::Panorama &p, HuginBase::UIntSet imgs, double newFocalLength)
Definition: PanoCommand.h:479
virtual std::string getName() const
returns the name of the command
Definition: PanoCommand.h:208
update variables by parsing a expression
Definition: PanoCommand.h:188
std::vector< MaskPolygon > MaskPolygonVector
Definition: Mask.h:147
ResetToMeanExposure(HuginBase::Panorama &p)
Definition: PanoCommand.h:643
SetVariableCmd(HuginBase::Panorama &p, const HuginBase::UIntSet &images, const HuginBase::Variable &var)
Definition: PanoCommand.h:239
straighten panorama horizontically
Definition: PanoCommand.h:259
MoveImageCmd(HuginBase::Panorama &p, size_t i1, size_t i2)
Definition: PanoCommand.h:364
std::map< std::string, Variable > VariableMap
update a single variable, possibly for a group of images
Definition: PanoCommand.h:236
update source image
Definition: PanoCommand.h:389
virtual std::string getName() const
returns the name of the command
Definition: PanoCommand.h:243
DistributeImagesCmd(HuginBase::Panorama &p)
Definition: PanoCommand.h:652
UpdateOptimizerSwitchCmd(HuginBase::Panorama &p, int mode)
Definition: PanoCommand.h:217
double Y
RemoveCtrlPointsCmd(HuginBase::Panorama &p, const HuginBase::UIntSet &points)
Definition: PanoCommand.h:310
UpdateWhiteBalance(HuginBase::Panorama &p, double redFactor, double blueFactor)
Definition: PanoCommand.h:629
double Z
NewPartCmd(HuginBase::Panorama &p, HuginBase::UIntSet image_numbers, std::set< HuginBase::ImageVariableGroup::ImageVariableEnum > vars)
Constructor.
Definition: PanoCommand.h:601
virtual std::string getName() const
returns the name of the command
Definition: PanoCommand.h:230
UpdateImagesVariablesCmd(HuginBase::Panorama &p, const HuginBase::UIntSet &change, const HuginBase::VariableMapVector &vars)
Definition: PanoCommand.h:177
ChangePartNumberCmd(HuginBase::Panorama &p, HuginBase::UIntSet image_numbers, std::size_t new_part_number, std::set< HuginBase::ImageVariableGroup::ImageVariableEnum > variables)
Definition: PanoCommand.h:509
SwapImagesCmd(HuginBase::Panorama &p, unsigned int i1, unsigned int i2)
Definition: PanoCommand.h:350
std::vector< ControlPoint > CPVector
Definition: ControlPoint.h:99
std::vector< std::set< std::string > > OptimizeVector
UpdateVariablesByParseExpression(HuginBase::Panorama &p, const std::string &expression)
Definition: PanoCommand.h:191
HuginBase::ControlPoint point
Definition: PanoCommand.h:330
RemoveCtrlPointCmd(HuginBase::Panorama &p, unsigned int cpNr)
Definition: PanoCommand.h:297
virtual std::string getName() const
returns the name of the command
Definition: PanoCommand.h:654
Update the crop factor.
Definition: PanoCommand.h:491
UpdatePhotometricOptimizerSwitchCmd(HuginBase::Panorama &p, int mode)
Definition: PanoCommand.h:228
update all variables
Definition: PanoCommand.h:105
remove multiple images from a panorama
Definition: PanoCommand.h:94
reset the panorama
Definition: PanoCommand.h:55
update global white balance
Definition: PanoCommand.h:626
add multiple control points
Definition: PanoCommand.h:281
std::set< HuginBase::ImageVariableGroup::ImageVariableEnum > groupVariables
Definition: PanoCommand.h:549
All variables of a source image.
Definition: SrcPanoImage.h:194
Panorama image options.
UpdateMaskForImgCmd(HuginBase::Panorama &p, unsigned int img, const HuginBase::MaskPolygonVector &mask)
Definition: PanoCommand.h:615
This file specifies what image variables SrcPanoImg should have.
Rotate the panorama.
Definition: PanoCommand.h:448
dump the current project and load a new one.
Definition: PanoCommand.h:435
virtual std::string getName() const
returns the name of the command
Definition: PanoCommand.h:255
RemoveImageCmd(HuginBase::Panorama &p, unsigned int imgNr)
Definition: PanoCommand.h:82
change a control point
Definition: PanoCommand.h:320
virtual std::string getName() const
returns the name of the command
Definition: PanoCommand.h:288
RemoveImagesCmd(HuginBase::Panorama &p, HuginBase::UIntSet imgs)
Definition: PanoCommand.h:97
std::set< HuginBase::ImageVariableGroup::ImageVariableEnum > variables
Definition: PanoCommand.h:518
SetActiveImagesCmd(HuginBase::Panorama &p, HuginBase::UIntSet &active)
Definition: PanoCommand.h:337
UpdateVariablesCmd(HuginBase::Panorama &p, const HuginBase::VariableMapVector &vars)
Definition: PanoCommand.h:108
add image(s) to a panorama
Definition: PanoCommand.h:64
AddImagesCmd(HuginBase::Panorama &pano, const std::vector< HuginBase::SrcPanoImage > &images)
Definition: PanoCommand.h:67
UpdateImageVariablesCmd(HuginBase::Panorama &p, unsigned int ImgNr, const HuginBase::VariableMap &vars)
Definition: PanoCommand.h:163