PanoOperation::PanoOperation Class Reference

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
[legend]
List of all members.

Public Member Functions

virtual bool IsEnabled (PT::Panorama &pano, HuginBase::UIntSet images, GuiLevel guiLevel)
 return true, if operation is enabled with the given image set
virtual PT::PanoCommandGetCommand (wxWindow *parent, PT::Panorama &pano, HuginBase::UIntSet images, GuiLevel guiLevel)
 returns the appropriate PT::PanoCommand to be inserted into GlobalCmdHistory, checks if operation is enabled
virtual wxString GetLabel ()

Protected Member Functions

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

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 38 of file PanoOperation.h.


Member Function Documentation

PT::PanoCommand * PanoOperation::PanoOperation::GetCommand wxWindow *  parent,
PT::Panorama pano,
HuginBase::UIntSet  images,
GuiLevel  guiLevel
[virtual]
 

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

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

Definition at line 56 of file PanoOperation.cpp.

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

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

virtual PT::PanoCommand* PanoOperation::PanoOperation::GetInternalCommand wxWindow *  parent,
PT::Panorama pano,
HuginBase::UIntSet  images
[protected, pure virtual]
 

main working function, overwrite it in derived classes

Implemented in PanoOperation::AddImageOperation, PanoOperation::AddImagesSeriesOperation, PanoOperation::RemoveImageOperation, PanoOperation::ChangeAnchorImageOperation, PanoOperation::ChangeColorAnchorImageOperation, PanoOperation::NewLensOperation, PanoOperation::ChangeLensOperation, PanoOperation::LoadLensOperation, PanoOperation::SaveLensOperation, PanoOperation::RemoveControlPointsOperation, PanoOperation::CleanControlPointsOperation, PanoOperation::ResetOperation, PanoOperation::CelesteOperation, PanoOperation::NewStackOperation, PanoOperation::ChangeStackOperation, and PanoOperation::AssignStacksOperation.

Referenced by GetCommand().

wxString PanoOperation::PanoOperation::GetLabel  )  [virtual]
 

Reimplemented in PanoOperation::AddImageOperation, PanoOperation::AddImagesSeriesOperation, PanoOperation::RemoveImageOperation, PanoOperation::ChangeAnchorImageOperation, PanoOperation::ChangeColorAnchorImageOperation, PanoOperation::NewLensOperation, PanoOperation::ChangeLensOperation, PanoOperation::LoadLensOperation, PanoOperation::SaveLensOperation, PanoOperation::RemoveControlPointsOperation, PanoOperation::CleanControlPointsOperation, PanoOperation::ResetOperation, PanoOperation::CelesteOperation, PanoOperation::NewStackOperation, PanoOperation::ChangeStackOperation, and PanoOperation::AssignStacksOperation.

Definition at line 46 of file PanoOperation.cpp.

bool PanoOperation::PanoOperation::IsEnabled PT::Panorama pano,
HuginBase::UIntSet  images,
GuiLevel  guiLevel
[virtual]
 

return true, if operation is enabled with the given image set

Reimplemented in PanoOperation::PanoSingleImageOperation, PanoOperation::PanoMultiImageOperation, PanoOperation::NewLensOperation, PanoOperation::ChangeLensOperation, PanoOperation::RemoveControlPointsOperation, PanoOperation::CleanControlPointsOperation, PanoOperation::ResetOperation, PanoOperation::NewStackOperation, PanoOperation::ChangeStackOperation, and PanoOperation::AssignStacksOperation.

Definition at line 51 of file PanoOperation.cpp.

Referenced by GetCommand().


Member Data Documentation

GuiLevel PanoOperation::PanoOperation::m_guiLevel [protected]
 

Definition at line 50 of file PanoOperation.h.

Referenced by GetCommand().


The documentation for this class was generated from the following files:
Generated on Tue Sep 2 01:25:54 2014 for Hugintrunk by  doxygen 1.3.9.1