Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
HuginBase::StandardImageVariableGroups Class Reference

#include <StandardImageVariableGroups.h>

Inheritance diagram for HuginBase::StandardImageVariableGroups:
Inheritance graph

Public Member Functions

 StandardImageVariableGroups (PanoramaData &pano)
 
ImageVariableGroup & getLenses ()
 Get the ImageVariableGroup representing the group of lens variables.
 
ImageVariableGroup & getStacks ()
 Get the ImageVariableGroup representing the group of stack variables.
 
void update ()
 Update part numbers for each variable group.
 
- Public Member Functions inherited from HuginBase::ConstStandardImageVariableGroups
 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.
 

Protected Attributes

ImageVariableGroup m_lenses
 
ImageVariableGroup m_stacks
 
PanoramaData & m_pano
 
- Protected Attributes inherited from HuginBase::ConstStandardImageVariableGroups
ConstImageVariableGroup m_lenses
 the lens ImageVariableGroup.
 
ConstImageVariableGroup m_stacks
 the stack ImageVariableGroup.
 
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.
 
static const std::set< ConstImageVariableGroup::ImageVariableEnum > & getStackVariables ()
 Get the set of stack image variables.
 

Detailed Description

Definition at line 130 of file StandardImageVariableGroups.h.

Constructor & Destructor Documentation

◆ StandardImageVariableGroups()

HuginBase::StandardImageVariableGroups::StandardImageVariableGroups ( PanoramaData &  pano)
explicit

Definition at line 183 of file StandardImageVariableGroups.cpp.

Member Function Documentation

◆ getLenses()

ImageVariableGroup & HuginBase::StandardImageVariableGroups::getLenses ( )
inline

Get the ImageVariableGroup representing the group of lens variables.

Use this to manipulate lens variable links, and to find lens numbers.

Returns
a reference to the lens ImageVariableGroup.

Definition at line 140 of file StandardImageVariableGroups.h.

Referenced by ImagesTreeCtrl::panoramaImagesChanged(), and ImagesTreeCtrl::UpdateImageText().

◆ getStacks()

ImageVariableGroup & HuginBase::StandardImageVariableGroups::getStacks ( )
inline

Get the ImageVariableGroup representing the group of stack variables.

Use this to manipulate angle links, and get stack numbers.

Returns
a reference to the stack ImageVariableGroup.

Definition at line 148 of file StandardImageVariableGroups.h.

Referenced by ImagesTreeCtrl::panoramaImagesChanged(), and ImagesTreeCtrl::UpdateImageText().

◆ update()

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 ImagesTreeCtrl::panoramaImagesChanged().

Member Data Documentation

◆ m_lenses

ImageVariableGroup HuginBase::StandardImageVariableGroups::m_lenses
protected

Definition at line 157 of file StandardImageVariableGroups.h.

Referenced by update().

◆ m_pano

PanoramaData& HuginBase::StandardImageVariableGroups::m_pano
protected

Definition at line 159 of file StandardImageVariableGroups.h.

◆ m_stacks

ImageVariableGroup HuginBase::StandardImageVariableGroups::m_stacks
protected

Definition at line 158 of file StandardImageVariableGroups.h.

Referenced by update().


The documentation for this class was generated from the following files: