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

virtual 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

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.

virtual 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.

virtual 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.


Member Data Documentation

GuiLevel PanoOperation::PanoOperation::m_guiLevel [protected]

Definition at line 50 of file PanoOperation.h.

Referenced by PanoOperation::ResetOperation::ShowDialog().


The documentation for this class was generated from the following file:
Generated on 5 Dec 2014 for Hugintrunk by  doxygen 1.4.7