#include <ImageVariableDialog.h>
Public Member Functions | |
| ImageVariableDialog (wxWindow *parent, PT::Panorama *pano, HuginBase::UIntSet imgs) | |
| Constructor, read from xrc ressource; restore last uses settings and position. | |
| ~ImageVariableDialog () | |
| destructor, saves position | |
| void | SetGuiLevel (GuiLevel newLevel) |
| sets the GuiLevel | |
| void | SelectTab (size_t i) |
| selects the tab with index i | |
Protected Member Functions | |
| void | OnOk (wxCommandEvent &e) |
| Saves current state of all checkboxes when closing dialog with Ok. | |
| void | OnHelp (wxCommandEvent &e) |
| shows the help | |
| void | OnShowDistortionGraph (wxCommandEvent &e) |
| shows a popup with distortion graph | |
| void | OnShowVignettingGraph (wxCommandEvent &e) |
| shows a popup with vignetting graph | |
| void | OnShowResponseGraph (wxCommandEvent &e) |
| shows a popup with response graph | |
Private Member Functions | |
| void | InitValues () |
| copy the variables from Panorama to dialog | |
| bool | ApplyNewVariables () |
| applies the changed variables to the Panorama class, using CommandHistory | |
Private Attributes | |
| PT::Panorama * | m_pano |
| HuginBase::UIntSet | m_images |
| GraphPopupWindow * | m_popup |
Static Private Attributes | |
| const char * | m_varNames [] |
Definition at line 49 of file ImageVariableDialog.h.
|
||||||||||||||||
|
Constructor, read from xrc ressource; restore last uses settings and position.
|
|
|
destructor, saves position
Definition at line 77 of file ImageVariableDialog.cpp. |
|
|
applies the changed variables to the Panorama class, using CommandHistory
Definition at line 176 of file ImageVariableDialog.cpp. References CommandHistory::addCommand(), HuginBase::Panorama::getImage(), GetImageVariableControl(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getSrcImage(), m_images, m_pano, HuginBase::BaseSrcPanoImage::setResponseType(), str2double(), and HuginBase::VariableMap. Referenced by OnOk(). |
|
|
copy the variables from Panorama to dialog
Definition at line 102 of file ImageVariableDialog.cpp. References const_map_get(), HuginBase::Panorama::getImage(), GetImageVariableControl(), HuginBase::Panorama::getVariables(), m_images, m_pano, and HuginBase::VariableMapVector. |
|
|
shows the help
Definition at line 267 of file ImageVariableDialog.cpp. References MainFrame::DisplayHelp(), and MainFrame::Get(). |
|
|
Saves current state of all checkboxes when closing dialog with Ok.
Definition at line 259 of file ImageVariableDialog.cpp. References ApplyNewVariables(). |
|
|
|
shows a popup with response graph
Definition at line 577 of file ImageVariableDialog.cpp. References vigra_ext::EMoR::createEMoRLUT(), Graph::DrawGrid(), Graph::DrawLine(), vigra_ext::enforceMonotonicity(), hugin_utils::FDiff2D, Graph::GetGraph(), GetImageVariableControl(), m_popup, Graph::SetChartArea(), Graph::SetChartDisplay(), and str2double(). |
|
|
shows a popup with vignetting graph
Definition at line 530 of file ImageVariableDialog.cpp. References Graph::DrawGrid(), Graph::DrawLine(), HuginBase::Photometric::ResponseTransform< VTIn >::enforceMonotonicity(), hugin_utils::FDiff2D, Graph::GetGraph(), GetImageVariableControl(), m_popup, NRPOINTS, Graph::SetChartArea(), Graph::SetChartDisplay(), HuginBase::BaseSrcPanoImage::setRadialVigCorrCoeff(), HuginBase::SrcPanoImage::setSize(), vigra_ext::srcImage(), and str2double(). |
|
|
selects the tab with index i
Definition at line 86 of file ImageVariableDialog.cpp. Referenced by ImagesTreeCtrl::OnEditImageVariables(). |
|
|
sets the GuiLevel
Definition at line 154 of file ImageVariableDialog.cpp. References GUI_EXPERT. Referenced by ImagesTreeCtrl::OnEditImageVariables(). |
|
|
Definition at line 75 of file ImageVariableDialog.h. Referenced by ApplyNewVariables(), and InitValues(). |
|
|
Definition at line 74 of file ImageVariableDialog.h. Referenced by ApplyNewVariables(), and InitValues(). |
|
|
Definition at line 77 of file ImageVariableDialog.h. Referenced by OnShowDistortionGraph(), OnShowResponseGraph(), and OnShowVignettingGraph(). |
|
|
Initial value: { "y", "p", "r", "TrX", "TrY", "TrZ", "Tpy", "Tpp",
"v", "a", "b", "c", "d", "e", "g", "t",
"Eev", "Er", "Eb",
"Vb", "Vc", "Vd", "Vx", "Vy",
"Ra", "Rb", "Rc", "Rd", "Re", 0}
Definition at line 288 of file ImageVariableDialog.cpp. |
1.3.9.1