PT::ChangePartImagesLinkingCmd Class Reference

Change the linking of some variables across parts of an ImageVariableGroup containing some specified images. More...

#include <PanoCommand.h>

Inheritance diagram for PT::ChangePartImagesLinkingCmd:

Inheritance graph
List of all members.

Public Member Functions

 ChangePartImagesLinkingCmd (Panorama &p, UIntSet image_numbers, std::set< HuginBase::ImageVariableGroup::ImageVariableEnum > changeVariables, bool new_linked_state, std::set< HuginBase::ImageVariableGroup::ImageVariableEnum > groupVariables)
virtual bool processPanorama (Panorama &pano)
virtual std::string getName () const

Private Attributes

UIntSet image_numbers
std::set< HuginBase::ImageVariableGroup::ImageVariableEnumchangeVariables
bool new_linked_state
std::set< HuginBase::ImageVariableGroup::ImageVariableEnumgroupVariables

Detailed Description

Change the linking of some variables across parts of an ImageVariableGroup containing some specified images.

Definition at line 1253 of file PanoCommand.h.

Constructor & Destructor Documentation

PT::ChangePartImagesLinkingCmd::ChangePartImagesLinkingCmd Panorama p,
UIntSet  image_numbers,
std::set< HuginBase::ImageVariableGroup::ImageVariableEnum changeVariables,
bool  new_linked_state,
std::set< HuginBase::ImageVariableGroup::ImageVariableEnum groupVariables


p the panorama this affects
image_numbers the set of image numbers that are contained within the parts you would like to link or unlink.
changeVariables the set of variables you would like to change the linking of across those parts.
new_linked_state true to link variables, false to unlink them.
groupVariables the variables that make the ImageVariableGroup that will define which images belong to which parts.

Definition at line 1266 of file PanoCommand.h.

Member Function Documentation

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

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

Definition at line 1309 of file PanoCommand.h.

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

Reimplemented from PT::PanoCommand.

Definition at line 1278 of file PanoCommand.h.

References HuginBase::ImageVariableGroup::linkVariableImage(), HuginBase::ImageVariableGroup::unlinkVariableImage(), and HuginBase::ConstImageVariableGroup::updatePartNumbers().

Member Data Documentation

std::set<HuginBase::ImageVariableGroup::ImageVariableEnum> PT::ChangePartImagesLinkingCmd::changeVariables [private]

Definition at line 1316 of file PanoCommand.h.

std::set<HuginBase::ImageVariableGroup::ImageVariableEnum> PT::ChangePartImagesLinkingCmd::groupVariables [private]

Definition at line 1318 of file PanoCommand.h.

UIntSet PT::ChangePartImagesLinkingCmd::image_numbers [private]

Definition at line 1315 of file PanoCommand.h.

bool PT::ChangePartImagesLinkingCmd::new_linked_state [private]

Definition at line 1317 of file PanoCommand.h.

The documentation for this class was generated from the following file:
Generated on Fri Sep 19 01:25:52 2014 for Hugintrunk by  doxygen