Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
PanoOperation::LoadLensOperation Class Reference

PanoOperation to load lens from ini file or lens database. More...

#include <PanoOperation.h>

Inheritance diagram for PanoOperation::LoadLensOperation:
Inheritance graph

Public Member Functions

 LoadLensOperation (bool fromDatabase)
 
virtual wxString GetLabel ()
 
- Public Member Functions inherited from PanoOperation::PanoMultiImageOperation
virtual bool IsEnabled (HuginBase::Panorama &pano, HuginBase::UIntSet images, GuiLevel guiLevel)
 return true, if operation is enabled with the given image set
 
- Public Member Functions inherited from PanoOperation::PanoOperation
virtual ~PanoOperation ()
 virtual destructor, does currently nothing
 
virtual PanoCommand::PanoCommandGetCommand (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
 

Protected Member Functions

virtual PanoCommand::PanoCommandGetInternalCommand (wxWindow *parent, HuginBase::Panorama &pano, HuginBase::UIntSet images)
 main working function, overwrite it in derived classes
 

Private Attributes

bool m_fromDatabase
 

Additional Inherited Members

- Protected Attributes inherited from PanoOperation::PanoOperation
GuiLevel m_guiLevel
 

Detailed Description

PanoOperation to load lens from ini file or lens database.

Definition at line 153 of file PanoOperation.h.

Constructor & Destructor Documentation

◆ LoadLensOperation()

PanoOperation::LoadLensOperation::LoadLensOperation ( bool  fromDatabase)

Definition at line 601 of file PanoOperation.cpp.

References m_fromDatabase, and threshold().

Member Function Documentation

◆ GetInternalCommand()

PanoCommand::PanoCommand * PanoOperation::LoadLensOperation::GetInternalCommand ( wxWindow *  parent,
HuginBase::Panorama pano,
HuginBase::UIntSet  images 
)
protectedvirtual

main working function, overwrite it in derived classes

Implements PanoOperation::PanoOperation.

Definition at line 618 of file PanoOperation.cpp.

References ApplyLensDBParameters(), ApplyLensParameters(), HuginBase::Panorama::getImage(), hugin_utils::HuginMessageBox(), m_fromDatabase, and threshold().

◆ GetLabel()

wxString PanoOperation::LoadLensOperation::GetLabel ( )
virtual

Reimplemented from PanoOperation::PanoOperation.

Definition at line 606 of file PanoOperation.cpp.

References m_fromDatabase, and threshold().

Member Data Documentation

◆ m_fromDatabase

bool PanoOperation::LoadLensOperation::m_fromDatabase
private

Definition at line 161 of file PanoOperation.h.

Referenced by GetInternalCommand(), GetLabel(), and LoadLensOperation().


The documentation for this class was generated from the following files: