Hugintrunk
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 More... | |
virtual wxString | GetLabel () |
Public Member Functions inherited from PanoOperation::PanoOperation | |
virtual | ~PanoOperation () |
virtual destructor, does currently nothing More... | |
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 More... | |
Protected Member Functions | |
virtual PanoCommand::PanoCommand * | GetInternalCommand (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 |
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 928 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, and RESET_TRANSLATION.
|
protectedvirtual |
main working function, overwrite it in derived classes
Implements PanoOperation::PanoOperation.
Definition at line 985 of file PanoOperation.cpp.
References HuginBase::SrcPanoImage::calcExifExposureValue(), 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, and ShowDialog().
|
virtual |
Reimplemented from PanoOperation::PanoOperation.
Definition at line 949 of file PanoOperation.cpp.
References m_resetMode, RESET_DIALOG, RESET_DIALOG_LENS, RESET_DIALOG_PHOTOMETRICS, RESET_LENS, RESET_PHOTOMETRICS, RESET_POSITION, and RESET_TRANSLATION.
|
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.
|
private |
Definition at line 1137 of file PanoOperation.cpp.
References ResetDialog::GetResetColor(), ResetDialog::GetResetColorToExif(), ResetDialog::GetResetExposure(), ResetDialog::GetResetExposureToExif(), ResetDialog::GetResetFOV(), ResetDialog::GetResetLens(), ResetDialog::GetResetPos(), ResetDialog::GetResetResponse(), ResetDialog::GetResetTranslation(), ResetDialog::GetResetVignetting(), ResetDialog::LimitToGeometric(), ResetDialog::LimitToPhotometric(), 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, and RESET_DIALOG_PHOTOMETRICS.
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().