[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

hugin1/hugin/LensPanel.cpp File Reference

implementation of LensPanel Class More...

#include <config.h>
#include "panoinc_WX.h"
#include "panoinc.h"
#include <algorithm>
#include "common/wxPlatform.h"
#include "hugin/LensPanel.h"
#include "hugin/CommandHistory.h"
#include "base_wx/ImageCache.h"
#include "hugin/CPEditorPanel.h"
#include "hugin/ImagesList.h"
#include "hugin/ImagesPanel.h"
#include "hugin/MainFrame.h"
#include "hugin/huginApp.h"
#include "hugin/TextKillFocusHandler.h"
#include "hugin/wxPanoCommand.h"
#include "hugin/ResetDialog.h"
#include "hugin/HFOVDialog.h"

Include dependency graph for LensPanel.cpp:

Include dependency graph

Defines

#define m_XRCID(str_id)   wxXmlResource::GetXRCID(str_id)
#define m_XRCCTRL(window, id, type)   ((type*)((window).FindWindow(m_XRCID(id))))

Functions

 BEGIN_EVENT_TABLE (LensPanel, wxPanel) EVT_LIST_ITEM_SELECTED(XRCID("lenses_list_unknown")
LensPanel::ListSelectionChanged EVT_LIST_ITEM_DESELECTED (XRCID("lenses_list_unknown"), LensPanel::ListSelectionChanged) EVT_CHOICE(XRCID("lens_val_projectionFormat")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged 
EVT_CHOICE (XRCID("lens_val_responseType"), LensPanel::ResponseTypeChanged) EVT_TEXT_ENTER(XRCID("lens_val_v")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged 
EVT_TEXT_ENTER (XRCID("lens_val_focalLength"), LensPanel::focalLengthChanged) EVT_TEXT_ENTER(XRCID("lens_val_flFactor")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged 
EVT_TEXT_ENTER (XRCID("lens_val_a"), LensPanel::OnVarChanged) EVT_TEXT_ENTER(XRCID("lens_val_b")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged 
EVT_TEXT_ENTER (XRCID("lens_val_c"), LensPanel::OnVarChanged) EVT_TEXT_ENTER(XRCID("lens_val_d")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged 
EVT_TEXT_ENTER (XRCID("lens_val_e"), LensPanel::OnVarChanged) EVT_TEXT_ENTER(XRCID("lens_val_g")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged 
EVT_TEXT_ENTER (XRCID("lens_val_t"), LensPanel::OnVarChanged) EVT_TEXT_ENTER(XRCID("lens_val_Eev")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged 
EVT_TEXT_ENTER (XRCID("lens_val_Er"), LensPanel::OnVarChanged) EVT_TEXT_ENTER(XRCID("lens_val_Eb")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged 
EVT_TEXT_ENTER (XRCID("lens_val_Vb"), LensPanel::OnVarChanged) EVT_TEXT_ENTER(XRCID("lens_val_Vc")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged 
EVT_TEXT_ENTER (XRCID("lens_val_Vd"), LensPanel::OnVarChanged) EVT_TEXT_ENTER(XRCID("lens_val_Vx")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged 
EVT_TEXT_ENTER (XRCID("lens_val_Vy"), LensPanel::OnVarChanged) EVT_TEXT_ENTER(XRCID("lens_val_Ra")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged 
EVT_TEXT_ENTER (XRCID("lens_val_Rb"), LensPanel::OnVarChanged) EVT_TEXT_ENTER(XRCID("lens_val_Rc")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged 
EVT_TEXT_ENTER (XRCID("lens_val_Rd"), LensPanel::OnVarChanged) EVT_TEXT_ENTER(XRCID("lens_val_Re")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged 
EVT_BUTTON (XRCID("lens_button_loadEXIF"), LensPanel::OnReadExif) EVT_BUTTON(XRCID("lens_button_save")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnSaveLensParameters 
EVT_BUTTON (XRCID("lens_button_load"), LensPanel::OnLoadLensParameters) EVT_BUTTON(XRCID("lens_button_newlens")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnSaveLensParameters
LensPanel::OnNewLens 
EVT_BUTTON (XRCID("lens_button_changelens"), LensPanel::OnChangeLens) EVT_BUTTON(XRCID("lens_button_reset")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnSaveLensParameters
LensPanel::OnNewLens LensPanel::OnReset 
EVT_CHECKBOX (XRCID("lens_inherit_v"), LensPanel::OnVarInheritChanged) EVT_CHECKBOX(XRCID("lens_inherit_a")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnSaveLensParameters
LensPanel::OnNewLens LensPanel::OnReset
LensPanel::OnVarInheritChanged 
EVT_CHECKBOX (XRCID("lens_inherit_d"), LensPanel::OnVarInheritChanged) EVT_CHECKBOX(XRCID("lens_inherit_g")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnSaveLensParameters
LensPanel::OnNewLens LensPanel::OnReset
LensPanel::OnVarInheritChanged
LensPanel::OnVarInheritChanged 
EVT_CHECKBOX (XRCID("lens_inherit_Eev"), LensPanel::OnVarInheritChanged) EVT_CHECKBOX(XRCID("lens_inherit_Er")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnSaveLensParameters
LensPanel::OnNewLens LensPanel::OnReset
LensPanel::OnVarInheritChanged
LensPanel::OnVarInheritChanged
LensPanel::OnVarInheritChanged 
EVT_CHECKBOX (XRCID("lens_inherit_Eb"), LensPanel::OnVarInheritChanged) EVT_CHECKBOX(XRCID("lens_inherit_R")
LensPanel::ListSelectionChanged
LensPanel::LensTypeChanged
LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnVarChanged LensPanel::OnVarChanged
LensPanel::OnSaveLensParameters
LensPanel::OnNewLens LensPanel::OnReset
LensPanel::OnVarInheritChanged
LensPanel::OnVarInheritChanged
LensPanel::OnVarInheritChanged
LensPanel::OnVarInheritChanged 
EVT_CHECKBOX (XRCID("lens_inherit_Vb"), LensPanel::OnVarInheritChanged) EVT_CHECKBOX(XRCID("lens_inherit_Vx")
bool LoadLensParametersChoose (wxWindow *parent, Lens &lens, VariableMap &vars, ImageOptions &imgopts)
 load lens parameters from lens ini file

Detailed Description

implementation of LensPanel Class

Author:
Kai-Uwe Behrmann <web@tiscali.de> and Pablo d'Angelo <pablo.dangelo@web.de>
Rewritten by Pablo d'Angelo

$Id$

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this software; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Define Documentation

#define m_XRCCTRL window,
id,
type   )     ((type*)((window).FindWindow(m_XRCID(id))))
 

#define m_XRCID str_id   )     wxXmlResource::GetXRCID(str_id)
 


Function Documentation

BEGIN_EVENT_TABLE LensPanel  ,
wxPanel 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnSaveLensParameters LensPanel::OnNewLens EVT_BUTTON XRCID("lens_button_changelens")  ,
LensPanel::OnChangeLens 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnSaveLensParameters EVT_BUTTON XRCID("lens_button_load")  ,
LensPanel::OnLoadLensParameters 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged EVT_BUTTON XRCID("lens_button_loadEXIF")  ,
LensPanel::OnReadExif 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnSaveLensParameters LensPanel::OnNewLens LensPanel::OnReset LensPanel::OnVarInheritChanged LensPanel::OnVarInheritChanged LensPanel::OnVarInheritChanged LensPanel::OnVarInheritChanged EVT_CHECKBOX XRCID("lens_inherit_Vb")  ,
LensPanel::OnVarInheritChanged 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnSaveLensParameters LensPanel::OnNewLens LensPanel::OnReset LensPanel::OnVarInheritChanged LensPanel::OnVarInheritChanged LensPanel::OnVarInheritChanged EVT_CHECKBOX XRCID("lens_inherit_Eb")  ,
LensPanel::OnVarInheritChanged 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnSaveLensParameters LensPanel::OnNewLens LensPanel::OnReset LensPanel::OnVarInheritChanged LensPanel::OnVarInheritChanged EVT_CHECKBOX XRCID("lens_inherit_Eev")  ,
LensPanel::OnVarInheritChanged 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnSaveLensParameters LensPanel::OnNewLens LensPanel::OnReset LensPanel::OnVarInheritChanged EVT_CHECKBOX XRCID("lens_inherit_d")  ,
LensPanel::OnVarInheritChanged 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnSaveLensParameters LensPanel::OnNewLens LensPanel::OnReset EVT_CHECKBOX XRCID("lens_inherit_v")  ,
LensPanel::OnVarInheritChanged 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged EVT_CHOICE XRCID("lens_val_responseType")  ,
LensPanel::ResponseTypeChanged 
 

LensPanel::ListSelectionChanged EVT_LIST_ITEM_DESELECTED XRCID("lenses_list_unknown")  ,
LensPanel::ListSelectionChanged 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged EVT_TEXT_ENTER XRCID("lens_val_Rd")  ,
LensPanel::OnVarChanged 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged EVT_TEXT_ENTER XRCID("lens_val_Rb")  ,
LensPanel::OnVarChanged 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged EVT_TEXT_ENTER XRCID("lens_val_Vy")  ,
LensPanel::OnVarChanged 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged EVT_TEXT_ENTER XRCID("lens_val_Vd")  ,
LensPanel::OnVarChanged 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged EVT_TEXT_ENTER XRCID("lens_val_Vb")  ,
LensPanel::OnVarChanged 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged EVT_TEXT_ENTER XRCID("lens_val_Er")  ,
LensPanel::OnVarChanged 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged LensPanel::OnVarChanged EVT_TEXT_ENTER XRCID("lens_val_t")  ,
LensPanel::OnVarChanged 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged LensPanel::OnVarChanged EVT_TEXT_ENTER XRCID("lens_val_e")  ,
LensPanel::OnVarChanged 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged LensPanel::OnVarChanged EVT_TEXT_ENTER XRCID("lens_val_c")  ,
LensPanel::OnVarChanged 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged LensPanel::focalLengthFactorChanged EVT_TEXT_ENTER XRCID("lens_val_a")  ,
LensPanel::OnVarChanged 
 

LensPanel::ListSelectionChanged LensPanel::LensTypeChanged LensPanel::OnVarChanged EVT_TEXT_ENTER XRCID("lens_val_focalLength")  ,
LensPanel::focalLengthChanged 
 

bool LoadLensParametersChoose wxWindow *  parent,
Lens lens,
VariableMap vars,
ImageOptions imgopts
 

load lens parameters from lens ini file


Generated on Mon Sep 20 01:01:28 2010 for Hugintrunk by doxygen 1.3.9.1