Hugintrunk
0.1
|
#include <StandardImageVariableGroups.h>
Public Member Functions | |
StandardImageVariableGroups (PanoramaData &pano) | |
ImageVariableGroup & | getLenses () |
Get the ImageVariableGroup representing the group of lens variables. More... | |
ImageVariableGroup & | getStacks () |
Get the ImageVariableGroup representing the group of stack variables. More... | |
void | update () |
Update part numbers for each variable group. More... | |
Public Member Functions inherited from HuginBase::ConstStandardImageVariableGroups | |
ConstStandardImageVariableGroups (const PanoramaData &pano) | |
constructor. More... | |
ConstImageVariableGroup & | getLenses () |
Get the ImageVariableGroup representing the group of lens variables. More... | |
Lens | getLens (std::size_t lens_number) |
A panorama.getLens equivalent, not for new code. More... | |
Lens | getLensForImage (std::size_t imgNr) |
Get the lens object for a specific image, also not for new code. More... | |
ConstImageVariableGroup & | getStacks () |
Get the ImageVariableGroup representing the group of stack variables. More... | |
void | update () |
Update part numbers for each variable group. More... | |
Protected Attributes | |
ImageVariableGroup | m_lenses |
ImageVariableGroup | m_stacks |
PanoramaData & | m_pano |
Protected Attributes inherited from HuginBase::ConstStandardImageVariableGroups | |
ConstImageVariableGroup | m_lenses |
the lens ImageVariableGroup. More... | |
ConstImageVariableGroup | m_stacks |
the stack ImageVariableGroup. More... | |
const PanoramaData & | m_pano |
Additional Inherited Members | |
Static Public Member Functions inherited from HuginBase::ConstStandardImageVariableGroups | |
static const std::set < ConstImageVariableGroup::ImageVariableEnum > & | getLensVariables () |
Get the set of lens image variables. More... | |
static const std::set < ConstImageVariableGroup::ImageVariableEnum > & | getStackVariables () |
Get the set of stack image variables. More... | |
Definition at line 130 of file StandardImageVariableGroups.h.
|
explicit |
Definition at line 183 of file StandardImageVariableGroups.cpp.
|
inline |
Get the ImageVariableGroup representing the group of lens variables.
Use this to manipulate lens variable links, and to find lens numbers.
Definition at line 140 of file StandardImageVariableGroups.h.
Referenced by CheckProjectFile(), PossiblePano::GeneratePanorama(), PanoOperation::ChangeLensOperation::GetInternalCommand(), PanoOperation::LoadLensOperation::GetInternalCommand(), LensCalFrame::GetPanorama(), PanoOperation::NewLensOperation::IsEnabled(), PanoOperation::ChangeLensOperation::IsEnabled(), main(), main2(), ImagesTreeCtrl::panoramaImagesChanged(), processImg(), PanoCommand::wxAddImagesCmd::processPanorama(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), PanoCommand::wxApplyTemplateCmd::processPanorama(), PanoCommand::UpdateCropFactorCmd::processPanorama(), PanoCommand::LinkLensVarsCmd::processPanorama(), HuginBase::SmartOptimise::smartOptimize(), and ImagesTreeCtrl::UpdateImageText().
|
inline |
Get the ImageVariableGroup representing the group of stack variables.
Use this to manipulate angle links, and get stack numbers.
Definition at line 148 of file StandardImageVariableGroups.h.
Referenced by AutoPanoSiftStack::automatch(), AutoPanoSiftMultiRowStack::automatch(), PanoOperation::ChangeStackOperation::GetInternalCommand(), PanoOperation::AssignStacksOperation::GetInternalCommand(), GetMinimumGuiLevel(), PanoOperation::NewStackOperation::IsEnabled(), PanoOperation::ChangeStackOperation::IsEnabled(), main(), ImagesTreeCtrl::panoramaImagesChanged(), and ImagesTreeCtrl::UpdateImageText().
void HuginBase::StandardImageVariableGroups::update | ( | ) |
Update part numbers for each variable group.
Should be called when the panorama images change
Definition at line 170 of file StandardImageVariableGroups.cpp.
References m_lenses, m_stacks, HuginBase::ConstStandardImageVariableGroups::update(), and HuginBase::ConstImageVariableGroup::updatePartNumbers().
Referenced by main(), main2(), ImagesList::panoramaImagesChanged(), ImagesTreeCtrl::panoramaImagesChanged(), and PanoCommand::wxAddImagesCmd::processPanorama().
|
protected |
Definition at line 157 of file StandardImageVariableGroups.h.
Referenced by update().
|
protected |
Definition at line 159 of file StandardImageVariableGroups.h.
|
protected |
Definition at line 158 of file StandardImageVariableGroups.h.
Referenced by update().