|
Hugin trunk 0.1
|
PanoOperation to reset image variables. More...
#include <PanoOperation.h>

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 | |
| virtual wxString | GetLabel () |
Public Member Functions inherited from PanoOperation::PanoOperation | |
| virtual | ~PanoOperation () |
| virtual destructor, does currently nothing | |
| virtual PanoCommand::PanoCommand * | GetCommand (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::PanoCommand * | GetInternalCommand (wxWindow *parent, HuginBase::Panorama &pano, HuginBase::UIntSet images) |
| main working function, overwrite it in derived classes | |
Private Member Functions | |
| bool | ShowDialog (wxWindow *parent) |
Additional Inherited Members | |
Protected Attributes inherited from PanoOperation::PanoOperation | |
| GuiLevel | m_guiLevel |
PanoOperation to reset image variables.
Definition at line 200 of file PanoOperation.h.
| 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.
| PanoOperation::ResetOperation::ResetOperation | ( | ResetMode | newResetMode | ) |
Definition at line 903 of file PanoOperation.cpp.
References m_resetCameraResponse, m_resetColor, m_resetExposure, m_resetHFOV, m_resetLens, m_resetMode, m_resetPos, m_resetTranslation, m_resetVignetting, RESET_LENS, RESET_PHOTOMETRICS, RESET_POSITION, RESET_TRANSLATION, and threshold().
|
protectedvirtual |
main working function, overwrite it in derived classes
Implements PanoOperation::PanoOperation.
Definition at line 960 of file PanoOperation.cpp.
References HuginBase::SrcPanoImage::calcHFOV(), HuginBase::PanoramaOptions::colorReferenceImage, fill_set(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getImageVariables(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptions(), HuginBase::Panorama::getSrcImage(), m_resetCameraResponse, m_resetColor, m_resetExposure, m_resetHFOV, m_resetLens, m_resetMode, m_resetPos, m_resetTranslation, m_resetVignetting, map_get(), RESET_DIALOG, RESET_DIALOG_LENS, RESET_DIALOG_PHOTOMETRICS, ShowDialog(), and threshold().
|
virtual |
Reimplemented from PanoOperation::PanoOperation.
Definition at line 924 of file PanoOperation.cpp.
References m_resetMode, RESET_DIALOG, RESET_DIALOG_LENS, RESET_DIALOG_PHOTOMETRICS, RESET_LENS, RESET_PHOTOMETRICS, RESET_POSITION, RESET_TRANSLATION, and threshold().
|
virtual |
return true, if operation is enabled with the given image set
Reimplemented from PanoOperation::PanoOperation.
Definition at line 948 of file PanoOperation.cpp.
References HuginBase::Panorama::getNrOfImages(), GUI_EXPERT, m_resetMode, RESET_TRANSLATION, and threshold().
|
private |
Definition at line 1112 of file PanoOperation.cpp.
References PanoOperation::PanoOperation::m_guiLevel, m_resetCameraResponse, m_resetColor, m_resetExposure, m_resetHFOV, m_resetLens, m_resetMode, m_resetPos, m_resetTranslation, m_resetVignetting, RESET_DIALOG, RESET_DIALOG_LENS, RESET_DIALOG_PHOTOMETRICS, and threshold().
Referenced by GetInternalCommand().
|
private |
Definition at line 229 of file PanoOperation.h.
Referenced by GetInternalCommand(), ResetOperation(), and ShowDialog().
|
private |
Definition at line 228 of file PanoOperation.h.
Referenced by GetInternalCommand(), ResetOperation(), and ShowDialog().
|
private |
Definition at line 226 of file PanoOperation.h.
Referenced by GetInternalCommand(), ResetOperation(), and ShowDialog().
|
private |
Definition at line 224 of file PanoOperation.h.
Referenced by GetInternalCommand(), ResetOperation(), and ShowDialog().
|
private |
Definition at line 225 of file PanoOperation.h.
Referenced by GetInternalCommand(), ResetOperation(), and ShowDialog().
|
private |
Definition at line 221 of file PanoOperation.h.
Referenced by GetInternalCommand(), GetLabel(), IsEnabled(), ResetOperation(), and ShowDialog().
|
private |
Definition at line 222 of file PanoOperation.h.
Referenced by GetInternalCommand(), ResetOperation(), and ShowDialog().
|
private |
Definition at line 223 of file PanoOperation.h.
Referenced by GetInternalCommand(), ResetOperation(), and ShowDialog().
|
private |
Definition at line 227 of file PanoOperation.h.
Referenced by GetInternalCommand(), ResetOperation(), and ShowDialog().