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

PanoOperation to reset image variables. More...

#include <PanoOperation.h>

Inheritance diagram for PanoOperation::ResetOperation:
Inheritance graph

Public Types

enum  ResetMode {
  RESET_DIALOG =0, RESET_POSITION, RESET_TRANSLATION, RESET_LENS,
  RESET_PHOTOMETRICS, RESET_DIALOG_LENS, RESET_DIALOG_PHOTOMETRICS
}
 

Public Member Functions

 ResetOperation (ResetMode newResetMode)
 
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::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...
 

Protected Member Functions

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

Private Member Functions

bool ShowDialog (wxWindow *parent)
 

Private Attributes

ResetMode m_resetMode
 
bool m_resetPos
 
bool m_resetTranslation
 
bool m_resetHFOV
 
bool m_resetLens
 
int m_resetExposure
 
bool m_resetVignetting
 
int m_resetColor
 
bool m_resetCameraResponse
 

Additional Inherited Members

- Protected Attributes inherited from PanoOperation::PanoOperation
GuiLevel m_guiLevel
 

Detailed Description

PanoOperation to reset image variables.

Definition at line 200 of file PanoOperation.h.

Member Enumeration Documentation

Enumerator
RESET_DIALOG 
RESET_POSITION 
RESET_TRANSLATION 
RESET_LENS 
RESET_PHOTOMETRICS 
RESET_DIALOG_LENS 
RESET_DIALOG_PHOTOMETRICS 

Definition at line 203 of file PanoOperation.h.

Constructor & Destructor Documentation

PanoOperation::ResetOperation::ResetOperation ( ResetMode  newResetMode)

Member Function Documentation

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

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

Reimplemented from PanoOperation::PanoOperation.

Definition at line 973 of file PanoOperation.cpp.

References HuginBase::Panorama::getNrOfImages(), GUI_EXPERT, m_resetMode, and RESET_TRANSLATION.

bool PanoOperation::ResetOperation::ShowDialog ( wxWindow *  parent)
private

Member Data Documentation

bool PanoOperation::ResetOperation::m_resetCameraResponse
private

Definition at line 229 of file PanoOperation.h.

Referenced by GetInternalCommand(), ResetOperation(), and ShowDialog().

int PanoOperation::ResetOperation::m_resetColor
private

Definition at line 228 of file PanoOperation.h.

Referenced by GetInternalCommand(), ResetOperation(), and ShowDialog().

int PanoOperation::ResetOperation::m_resetExposure
private

Definition at line 226 of file PanoOperation.h.

Referenced by GetInternalCommand(), ResetOperation(), and ShowDialog().

bool PanoOperation::ResetOperation::m_resetHFOV
private

Definition at line 224 of file PanoOperation.h.

Referenced by GetInternalCommand(), ResetOperation(), and ShowDialog().

bool PanoOperation::ResetOperation::m_resetLens
private

Definition at line 225 of file PanoOperation.h.

Referenced by GetInternalCommand(), ResetOperation(), and ShowDialog().

ResetMode PanoOperation::ResetOperation::m_resetMode
private

Definition at line 221 of file PanoOperation.h.

Referenced by GetInternalCommand(), GetLabel(), IsEnabled(), ResetOperation(), and ShowDialog().

bool PanoOperation::ResetOperation::m_resetPos
private

Definition at line 222 of file PanoOperation.h.

Referenced by GetInternalCommand(), ResetOperation(), and ShowDialog().

bool PanoOperation::ResetOperation::m_resetTranslation
private

Definition at line 223 of file PanoOperation.h.

Referenced by GetInternalCommand(), ResetOperation(), and ShowDialog().

bool PanoOperation::ResetOperation::m_resetVignetting
private

Definition at line 227 of file PanoOperation.h.

Referenced by GetInternalCommand(), ResetOperation(), and ShowDialog().


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