PanoCommand::CenterPanoCmd Class Reference

center panorama horizontically More...

#include <PanoCommand.h>

Inheritance diagram for PanoCommand::CenterPanoCmd:

Inheritance graph
List of all members.

Public Member Functions

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

Detailed Description

center panorama horizontically

Definition at line 250 of file PanoCommand.h.

Constructor & Destructor Documentation

PanoCommand::CenterPanoCmd::CenterPanoCmd ( HuginBase::Panorama p  )  [inline, explicit]

Definition at line 253 of file PanoCommand.h.

Member Function Documentation

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

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 255 of file PanoCommand.h.

bool PanoCommand::CenterPanoCmd::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 188 of file PanoCommand.cpp.

References HuginBase::Panorama::getOptions(), HuginBase::CalculateFitPanorama::getResultHeight(), HuginBase::CalculateFitPanorama::getResultHorizontalFOV(), hugin_utils::roundi(), HuginBase::PanoramaAlgorithm::run(), HuginBase::PanoramaOptions::setHeight(), HuginBase::PanoramaOptions::setHFOV(), and HuginBase::Panorama::setOptions().

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