PanoCommand::StraightenPanoCmd Class Reference

straighten panorama horizontically More...

#include <PanoCommand.h>

Inheritance diagram for PanoCommand::StraightenPanoCmd:

Inheritance graph
List of all members.

Public Member Functions

 StraightenPanoCmd (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

straighten panorama horizontically

Definition at line 259 of file PanoCommand.h.

Constructor & Destructor Documentation

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

Definition at line 262 of file PanoCommand.h.

Member Function Documentation

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

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 264 of file PanoCommand.h.

bool PanoCommand::StraightenPanoCmd::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 202 of file PanoCommand.cpp.

References HuginBase::PanoramaOptions::getHFOV(), 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 20 Apr 2018 for Hugintrunk by  doxygen 1.4.7