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 
) [inline]


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 changeVariables, groupVariables, image_numbers, HuginBase::ImageVariableGroup::linkVariableImage(), new_linked_state, HuginBase::PanoCommand< std::string >::pano, 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.

Referenced by processPanorama().

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

Definition at line 1318 of file PanoCommand.h.

Referenced by processPanorama().

UIntSet PT::ChangePartImagesLinkingCmd::image_numbers [private]

Definition at line 1315 of file PanoCommand.h.

Referenced by processPanorama().

bool PT::ChangePartImagesLinkingCmd::new_linked_state [private]

Definition at line 1317 of file PanoCommand.h.

Referenced by processPanorama().

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