Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PanoOperation::PanoOperation Class Referenceabstract

base class for different PanoOperations derived classes should overwrite protected PanoOperation::GetInternalCommand to implement the operation More...

#include <PanoOperation.h>

Inheritance diagram for PanoOperation::PanoOperation:
Inheritance graph

Public Member Functions

virtual ~PanoOperation ()
 virtual destructor, does currently nothing More...
 
virtual bool IsEnabled (HuginBase::Panorama &pano, HuginBase::UIntSet images, GuiLevel guiLevel)
 return true, if operation is enabled with the given image set More...
 
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 More...
 
virtual wxString GetLabel ()
 

Protected Member Functions

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

Protected Attributes

GuiLevel m_guiLevel
 

Detailed Description

base class for different PanoOperations derived classes should overwrite protected PanoOperation::GetInternalCommand to implement the operation

Definition at line 39 of file PanoOperation.h.

Constructor & Destructor Documentation

virtual PanoOperation::PanoOperation::~PanoOperation ( )
inlinevirtual

virtual destructor, does currently nothing

Definition at line 43 of file PanoOperation.h.

Member Function Documentation

PanoCommand::PanoCommand * PanoOperation::PanoOperation::GetCommand ( wxWindow *  parent,
HuginBase::Panorama pano,
HuginBase::UIntSet  images,
GuiLevel  guiLevel 
)
virtual

returns the appropriate PanoCommand::PanoCommand to be inserted into GlobalCmdHistory, checks if operation is enabled

Returns
pointer to valid PanoCommand::PanoCommand or NULL if not enabled

Definition at line 62 of file PanoOperation.cpp.

References GetInternalCommand(), IsEnabled(), and m_guiLevel.

Referenced by GLPreviewFrame::LoadImages(), MainFrame::OnAddImages(), MainFrame::OnAddTimeImages(), ImagesTreeCtrl::OnExecuteOperation(), OptimizePhotometricPanel::OnReset(), and OptimizePanel::OnReset().

virtual PanoCommand::PanoCommand* PanoOperation::PanoOperation::GetInternalCommand ( wxWindow *  parent,
HuginBase::Panorama pano,
HuginBase::UIntSet  images 
)
protectedpure virtual
wxString PanoOperation::PanoOperation::GetLabel ( )
virtual
bool PanoOperation::PanoOperation::IsEnabled ( HuginBase::Panorama pano,
HuginBase::UIntSet  images,
GuiLevel  guiLevel 
)
virtual

Member Data Documentation

GuiLevel PanoOperation::PanoOperation::m_guiLevel
protected

Definition at line 53 of file PanoOperation.h.

Referenced by GetCommand(), and PanoOperation::ResetOperation::ShowDialog().


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