Hugintrunk
0.1
|
PanoOperation to change lens number. More...
#include <PanoOperation.h>
Public Member Functions | |
virtual bool | IsEnabled (HuginBase::Panorama &pano, HuginBase::UIntSet images, GuiLevel guiLevel) |
return true, if operation is enabled with the given image set More... | |
virtual wxString | GetLabel () |
Public Member Functions inherited from PanoOperation::PanoOperation | |
virtual | ~PanoOperation () |
virtual destructor, does currently nothing More... | |
virtual PanoCommand::PanoCommand * | GetCommand (wxWindow *parent, HuginBase::Panorama &pano, HuginBase::UIntSet images, GuiLevel guiLevel) |
returns the appropriate PanoCommand::PanoCommand to be inserted into GlobalCmdHistory, checks if operation is enabled More... | |
Protected Member Functions | |
virtual PanoCommand::PanoCommand * | GetInternalCommand (wxWindow *parent, HuginBase::Panorama &pano, HuginBase::UIntSet images) |
main working function, overwrite it in derived classes More... | |
Additional Inherited Members | |
Protected Attributes inherited from PanoOperation::PanoOperation | |
GuiLevel | m_guiLevel |
PanoOperation to change lens number.
Definition at line 142 of file PanoOperation.h.
|
protectedvirtual |
main working function, overwrite it in derived classes
Implements PanoOperation::PanoOperation.
Definition at line 580 of file PanoOperation.cpp.
References HuginBase::SrcPanoImage::getHeight(), HuginBase::Panorama::getImage(), HuginBase::Lens::getImageSize(), HuginBase::ConstStandardImageVariableGroups::getLens(), HuginBase::StandardImageVariableGroups::getLenses(), HuginBase::ConstStandardImageVariableGroups::getLensVariables(), HuginBase::ConstImageVariableGroup::getNumberOfParts(), and HuginBase::SrcPanoImage::getWidth().
|
virtual |
Reimplemented from PanoOperation::PanoOperation.
Definition at line 575 of file PanoOperation.cpp.
|
virtual |
return true, if operation is enabled with the given image set
Reimplemented from PanoOperation::PanoOperation.
Definition at line 561 of file PanoOperation.cpp.
References HuginBase::StandardImageVariableGroups::getLenses(), HuginBase::Panorama::getNrOfImages(), and HuginBase::ConstImageVariableGroup::getNumberOfParts().