PanoCommand::UpdateOptimizerSwitchCmd Class Reference

update the optimizer master switch More...

#include <PanoCommand.h>

Inheritance diagram for PanoCommand::UpdateOptimizerSwitchCmd:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 UpdateOptimizerSwitchCmd (HuginBase::Panorama &p, int mode)
virtual bool processPanorama (HuginBase::Panorama &pano)
 Called by execute().
virtual std::string getName () const
 returns the name of the command

Private Attributes

int m_mode

Detailed Description

update the optimizer master switch

Definition at line 214 of file PanoCommand.h.


Constructor & Destructor Documentation

PanoCommand::UpdateOptimizerSwitchCmd::UpdateOptimizerSwitchCmd ( HuginBase::Panorama p,
int  mode 
) [inline]

Definition at line 217 of file PanoCommand.h.


Member Function Documentation

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

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 219 of file PanoCommand.h.

bool PanoCommand::UpdateOptimizerSwitchCmd::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 164 of file PanoCommand.cpp.

References m_mode, and HuginBase::Panorama::setOptimizerSwitch().


Member Data Documentation

int PanoCommand::UpdateOptimizerSwitchCmd::m_mode [private]

Definition at line 221 of file PanoCommand.h.

Referenced by processPanorama().


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