PT::ChangePartNumberCmd Class Reference

Switch the part number of an image. More...

#include <PanoCommand.h>

Inheritance diagram for PT::ChangePartNumberCmd:

Inheritance graph
List of all members.

Public Member Functions

 ChangePartNumberCmd (Panorama &p, UIntSet image_numbers, std::size_t new_part_number, std::set< HuginBase::ImageVariableGroup::ImageVariableEnum > variables)
virtual bool processPanorama (Panorama &pano)
virtual std::string getName () const

Private Attributes

UIntSet image_numbers
std::size_t new_part_number
std::set< HuginBase::ImageVariableGroup::ImageVariableEnumvariables

Detailed Description

Switch the part number of an image.

Definition at line 1206 of file PanoCommand.h.

Constructor & Destructor Documentation

PT::ChangePartNumberCmd::ChangePartNumberCmd ( Panorama p,
UIntSet  image_numbers,
std::size_t  new_part_number,
std::set< HuginBase::ImageVariableGroup::ImageVariableEnum variables 
) [inline]

Definition at line 1209 of file PanoCommand.h.

Member Function Documentation

virtual std::string PT::ChangePartNumberCmd::getName (  )  const [inline, virtual]

Reimplemented from AppBase::Command< std::string >.

Definition at line 1235 of file PanoCommand.h.

virtual bool PT::ChangePartNumberCmd::processPanorama ( Panorama pano  )  [inline, virtual]

Reimplemented from PT::PanoCommand.

Definition at line 1220 of file PanoCommand.h.

References HuginBase::ConstImageVariableGroup::getPartNumber(), image_numbers, new_part_number, HuginBase::PanoCommand< std::string >::pano, HuginBase::ImageVariableGroup::switchParts(), and variables.

Member Data Documentation

UIntSet PT::ChangePartNumberCmd::image_numbers [private]

Definition at line 1241 of file PanoCommand.h.

Referenced by processPanorama().

std::size_t PT::ChangePartNumberCmd::new_part_number [private]

Definition at line 1242 of file PanoCommand.h.

Referenced by processPanorama().

std::set<HuginBase::ImageVariableGroup::ImageVariableEnum> PT::ChangePartNumberCmd::variables [private]

Definition at line 1243 of file PanoCommand.h.

Referenced by processPanorama().

The documentation for this class was generated from the following file:
Generated on 26 May 2018 for Hugintrunk by  doxygen 1.4.7