Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StandardImageVariableGroups.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
24 #ifndef STANDARD_IMAGE_VARIABLE_GROUPS_H
25 #define STANDARD_IMAGE_VARIABLE_GROUPS_H
26 
27 #include <hugin_shared.h>
28 #include "ImageVariableGroup.h"
29 #include "PanoramaData.h"
30 
31 // remove when todo below is complete.
32 #include "Lens.h"
33 
34 namespace HuginBase {
35 
44 {
45 public:
51  explicit ConstStandardImageVariableGroups(const PanoramaData & pano);
52 
59  { return m_lenses; }
60 
66  static const std::set<ConstImageVariableGroup::ImageVariableEnum> & getLensVariables();
67 
82  Lens getLens(std::size_t lens_number);
83 
92  Lens getLensForImage(std::size_t imgNr);
93 
100  { return m_stacks; }
101 
107  static const std::set<ConstImageVariableGroup::ImageVariableEnum> & getStackVariables();
108 
113  void update();
114 protected:
120 
126 
128 };
129 
131 {
132 public:
133  explicit StandardImageVariableGroups(PanoramaData & pano);
134 
141  { return m_lenses; }
142 
149  { return m_stacks; }
150 
155  void update();
156 protected:
160 };
161 
162 } // namespace
163 
164 #endif
An ImageVariableGroup is a collection of image variables that can have some shared variable values...
ImageVariableGroup & getStacks()
Get the ImageVariableGroup representing the group of stack variables.
ConstImageVariableGroup & getStacks()
Get the ImageVariableGroup representing the group of stack variables.
Declare the ImageVariableGroup and ImageVariableGroupObserver classes.
ConstImageVariableGroup & getLenses()
Get the ImageVariableGroup representing the group of lens variables.
ConstImageVariableGroup m_stacks
the stack ImageVariableGroup.
ImageVariableGroup & getLenses()
Get the ImageVariableGroup representing the group of lens variables.
Make an ImageVariableGroup for lenses and other common concepts.
Model for a panorama.
Definition: PanoramaData.h:81
#define IMPEX
Definition: hugin_shared.h:39
ConstImageVariableGroup m_lenses
the lens ImageVariableGroup.
Same as above, but use a non const panorama.
Lens class.