PanoCommand::LinkLensVarsCmd Class Reference

Link a set of lens variables for some lens. More...

#include <PanoCommand.h>

Inheritance diagram for PanoCommand::LinkLensVarsCmd:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 LinkLensVarsCmd (HuginBase::Panorama &p, std::size_t lens_number, std::set< HuginBase::ImageVariableGroup::ImageVariableEnum > variables)
virtual bool processPanorama (HuginBase::Panorama &pano)
 Called by execute().
virtual std::string getName () const
 returns the name of the command

Private Attributes

std::size_t lens_number
std::set< HuginBase::ImageVariableGroup::ImageVariableEnumvariables

Detailed Description

Link a set of lens variables for some lens.

Definition at line 554 of file PanoCommand.h.


Constructor & Destructor Documentation

PanoCommand::LinkLensVarsCmd::LinkLensVarsCmd ( HuginBase::Panorama p,
std::size_t  lens_number,
std::set< HuginBase::ImageVariableGroup::ImageVariableEnum variables 
) [inline]

Definition at line 557 of file PanoCommand.h.


Member Function Documentation

virtual std::string PanoCommand::LinkLensVarsCmd::getName (  )  const [inline, virtual]

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 561 of file PanoCommand.h.

bool PanoCommand::LinkLensVarsCmd::processPanorama ( HuginBase::Panorama pano  )  [virtual]

Called by execute().

The default implementation does nothing and returns true. Should return false when the processing was unsuccessful.

Reimplemented from PanoCommand::PanoCommand.

Definition at line 431 of file PanoCommand.cpp.

References HuginBase::StandardImageVariableGroups::getLenses(), lens_number, HuginBase::ImageVariableGroup::linkVariablePart(), and variables.


Member Data Documentation

std::size_t PanoCommand::LinkLensVarsCmd::lens_number [private]

Definition at line 561 of file PanoCommand.h.

Referenced by processPanorama().

std::set<HuginBase::ImageVariableGroup::ImageVariableEnum> PanoCommand::LinkLensVarsCmd::variables [private]

Definition at line 564 of file PanoCommand.h.

Referenced by processPanorama().


The documentation for this class was generated from the following files:
Generated on 23 Jan 2018 for Hugintrunk by  doxygen 1.4.7