#include <StandardImageVariableGroups.h>
Inheritance diagram for HuginBase::ConstStandardImageVariableGroups:

Public Member Functions | |
| ConstStandardImageVariableGroups (const PanoramaData &pano) | |
| constructor. | |
| ConstImageVariableGroup & | getLenses () |
| Get the ImageVariableGroup representing the group of lens variables. | |
| Lens | getLens (std::size_t lens_number) |
| A panorama.getLens equivalent, not for new code. | |
| Lens | getLensForImage (std::size_t imgNr) |
| Get the lens object for a specific image, also not for new code. | |
| ConstImageVariableGroup & | getStacks () |
| Get the ImageVariableGroup representing the group of stack variables. | |
| void | update () |
| Update part numbers for each variable group. | |
Static Public Member Functions | |
| const std::set< ConstImageVariableGroup::ImageVariableEnum > & | getLensVariables () |
| Get the set of lens image variables. | |
| const std::set< ConstImageVariableGroup::ImageVariableEnum > & | getStackVariables () |
| Get the set of stack image variables. | |
Protected Attributes | |
| ConstImageVariableGroup | m_lenses |
| the lens ImageVariableGroup. | |
| ConstImageVariableGroup | m_stacks |
| the stack ImageVariableGroup. | |
| const PanoramaData & | m_pano |
Must be given a const panorama when created, this panorama remains with the object its entire life, but will never be changed by the StandardImageVariableGroups object. It can still react to changes in the panorama, to update part numbers use UpdatePartNumbers().
Definition at line 43 of file StandardImageVariableGroups.h.
|
|
constructor. creates ImageVariableGroups for lenses, etc.
Definition at line 95 of file StandardImageVariableGroups.cpp. References HuginBase::lens_variables_set, and HuginBase::stack_variables_set. |
|
|
A panorama.getLens equivalent, not for new code. This is a temporary solution to replace code that used Panorama.getLens. It will generate a lens on the spot using the SrcPanoImg object. New code should instead use the ImageVariableGroup returned by getLenses(), as it does not generate the lens object on the fly.
Definition at line 114 of file StandardImageVariableGroups.cpp. References DEBUG_ASSERT, DEBUG_ERROR, getLensForImage(), HuginBase::PanoramaData::getNrOfImages(), HuginBase::ConstImageVariableGroup::getNumberOfParts(), HuginBase::ConstImageVariableGroup::getPartNumber(), m_lenses, and m_pano. |
|
|
Get the ImageVariableGroup representing the group of lens variables. Use this to manipulate lens variable links, and to find lens numbers.
Reimplemented in HuginBase::StandardImageVariableGroups. Definition at line 58 of file StandardImageVariableGroups.h. Referenced by OptimizePhotometricPanel::runOptimizer(). |
|
|
Get the lens object for a specific image, also not for new code. Called by getLens.
Definition at line 132 of file StandardImageVariableGroups.cpp. References HuginBase::PanoramaData::getImage(), m_pano, HuginBase::Lens::setCropFactor(), HuginBase::Lens::setImageSize(), and HuginBase::Lens::setProjection(). Referenced by ApplyLensParameters(), getLens(), and SaveLensParameters(). |
|
|
Get the set of lens image variables.
Definition at line 103 of file StandardImageVariableGroups.cpp. |
|
|
Get the ImageVariableGroup representing the group of stack variables. Use this to manipulate angle links, and to find stack numbers.
Reimplemented in HuginBase::StandardImageVariableGroups. Definition at line 99 of file StandardImageVariableGroups.h. |
|
|
Get the set of stack image variables.
Definition at line 109 of file StandardImageVariableGroups.cpp. |
|
|
Update part numbers for each variable group. Should be called when the panorama images change Reimplemented in HuginBase::StandardImageVariableGroups. Definition at line 323 of file StandardImageVariableGroups.cpp. |
|
|
the lens ImageVariableGroup.
Reimplemented in HuginBase::StandardImageVariableGroups. Definition at line 119 of file StandardImageVariableGroups.h. Referenced by getLens(). |
|
|
Reimplemented in HuginBase::StandardImageVariableGroups. Definition at line 127 of file StandardImageVariableGroups.h. Referenced by getLens(), and getLensForImage(). |
|
|
the stack ImageVariableGroup.
Reimplemented in HuginBase::StandardImageVariableGroups. Definition at line 125 of file StandardImageVariableGroups.h. |
1.3.9.1