PanoOperation::ResetOperation Class Reference

PanoOperation to reset image variables. More...

#include <PanoOperation.h>

Inheritance diagram for PanoOperation::ResetOperation:

Inheritance graph
[legend]
List of all members.

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 (PT::Panorama &pano, HuginBase::UIntSet images, GuiLevel guiLevel)
 return true, if operation is enabled with the given image set
virtual wxString GetLabel ()

Protected Member Functions

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

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
bool m_resetColor
bool m_resetCameraResponse

Detailed Description

PanoOperation to reset image variables.

Definition at line 183 of file PanoOperation.h.


Member Enumeration Documentation

enum PanoOperation::ResetOperation::ResetMode
 

Enumeration values:
RESET_DIALOG 
RESET_POSITION 
RESET_TRANSLATION 
RESET_LENS 
RESET_PHOTOMETRICS 
RESET_DIALOG_LENS 
RESET_DIALOG_PHOTOMETRICS 

Definition at line 186 of file PanoOperation.h.


Constructor & Destructor Documentation

PanoOperation::ResetOperation::ResetOperation ResetMode  newResetMode  ) 
 

Definition at line 794 of file PanoOperation.cpp.

References m_resetCameraResponse, m_resetColor, m_resetExposure, m_resetHFOV, m_resetLens, m_resetMode, m_resetPos, m_resetTranslation, and m_resetVignetting.


Member Function Documentation

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

main working function, overwrite it in derived classes

Implements PanoOperation::PanoOperation.

Definition at line 847 of file PanoOperation.cpp.

References PT::calcHFOV(), HuginBase::BaseSrcPanoImage::ExposureValueisLinked(), fill_set(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getImageVariables(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getSrcImage(), m_resetExposure, m_resetHFOV, m_resetMode, map_get(), HuginBase::SrcPanoImage::readEXIF(), RESET_DIALOG, RESET_DIALOG_LENS, ShowDialog(), HuginBase::VariableMap, and HuginBase::VariableMapVector.

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

Reimplemented from PanoOperation::PanoOperation.

Definition at line 811 of file PanoOperation.cpp.

References RESET_DIALOG, RESET_DIALOG_LENS, RESET_DIALOG_PHOTOMETRICS, RESET_LENS, RESET_PHOTOMETRICS, RESET_POSITION, and RESET_TRANSLATION.

bool PanoOperation::ResetOperation::IsEnabled PT::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 835 of file PanoOperation.cpp.

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

bool PanoOperation::ResetOperation::ShowDialog wxWindow *  parent  )  [private]
 

Definition at line 986 of file PanoOperation.cpp.

References ResetDialog::GetResetColor(), ResetDialog::GetResetExposure(), ResetDialog::GetResetExposureToExif(), ResetDialog::GetResetFOV(), ResetDialog::GetResetLens(), ResetDialog::GetResetPos(), ResetDialog::GetResetResponse(), ResetDialog::GetResetTranslation(), ResetDialog::GetResetVignetting(), ResetDialog::LimitToGeometric(), ResetDialog::LimitToPhotometric(), m_resetCameraResponse, m_resetColor, m_resetExposure, m_resetHFOV, m_resetLens, m_resetPos, m_resetTranslation, m_resetVignetting, RESET_DIALOG, RESET_DIALOG_LENS, and RESET_DIALOG_PHOTOMETRICS.

Referenced by GetInternalCommand().


Member Data Documentation

bool PanoOperation::ResetOperation::m_resetCameraResponse [private]
 

Definition at line 212 of file PanoOperation.h.

Referenced by ResetOperation(), and ShowDialog().

bool PanoOperation::ResetOperation::m_resetColor [private]
 

Definition at line 211 of file PanoOperation.h.

Referenced by ResetOperation(), and ShowDialog().

int PanoOperation::ResetOperation::m_resetExposure [private]
 

Definition at line 209 of file PanoOperation.h.

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

bool PanoOperation::ResetOperation::m_resetHFOV [private]
 

Definition at line 207 of file PanoOperation.h.

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

bool PanoOperation::ResetOperation::m_resetLens [private]
 

Definition at line 208 of file PanoOperation.h.

Referenced by ResetOperation(), and ShowDialog().

ResetMode PanoOperation::ResetOperation::m_resetMode [private]
 

Definition at line 204 of file PanoOperation.h.

Referenced by GetInternalCommand(), and ResetOperation().

bool PanoOperation::ResetOperation::m_resetPos [private]
 

Definition at line 205 of file PanoOperation.h.

Referenced by ResetOperation(), and ShowDialog().

bool PanoOperation::ResetOperation::m_resetTranslation [private]
 

Definition at line 206 of file PanoOperation.h.

Referenced by ResetOperation(), and ShowDialog().

bool PanoOperation::ResetOperation::m_resetVignetting [private]
 

Definition at line 210 of file PanoOperation.h.

Referenced by ResetOperation(), and ShowDialog().


The documentation for this class was generated from the following files:
Generated on Fri Aug 22 01:25:59 2014 for Hugintrunk by  doxygen 1.3.9.1