Hugin trunk 0.1
Loading...
Searching...
No Matches
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
34namespace HuginBase {
35
44{
45public:
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();
114protected:
120
126
128};
129
131{
132public:
134
141 { return m_lenses; }
142
149 { return m_stacks; }
150
155 void update();
156protected:
160};
161
162} // namespace
163
164#endif
Declare the ImageVariableGroup and ImageVariableGroupObserver classes.
Lens class.
An ImageVariableGroup is a collection of image variables that can have some shared variable values.
Make an ImageVariableGroup for lenses and other common concepts.
ConstImageVariableGroup m_lenses
the lens ImageVariableGroup.
ConstImageVariableGroup m_stacks
the stack ImageVariableGroup.
ConstImageVariableGroup & getStacks()
Get the ImageVariableGroup representing the group of stack variables.
ConstImageVariableGroup & getLenses()
Get the ImageVariableGroup representing the group of lens variables.
Same as above, but use a non const panorama.
Model for a panorama.
ImageVariableGroup & getStacks()
Get the ImageVariableGroup representing the group of stack variables.
ImageVariableGroup & getLenses()
Get the ImageVariableGroup representing the group of lens variables.
#define IMPEX
mainly consists of wrapper around the pano tools library, to assist in ressource management and to pr...
Definition wxcms.cpp:39