|
Hugintrunk
0.1
|
Dialog for finding panorama in given directory. More...
#include <FindPanoDialog.h>

Public Member Functions | |
| FindPanoDialog (BatchFrame *batchframe, wxString xrcPrefix) | |
| Constructor, read from xrc ressource; restore last uses settings, size and position. More... | |
| ~FindPanoDialog () | |
| destructor, saves size and position More... | |
Protected Member Functions | |
| void | OnButtonClose (wxCommandEvent &e) |
| closes window More... | |
| void | OnButtonStart (wxCommandEvent &e) |
| start/stops detections More... | |
| void | OnButtonSend (wxCommandEvent &e) |
| add selected projects to queue More... | |
| void | OnClose (wxCloseEvent &e) |
| prevents closing window when running detection More... | |
| void | OnSelectPossiblePano (wxCommandEvent &e) |
| event to populate information on the right More... | |
| void | OnListItemRightClick (wxListEvent &e) |
| event handler for context menu More... | |
| void | OnRemoveImage (wxCommandEvent &e) |
| event handler to remove selected image from list More... | |
| void | OnSplitPanos (wxCommandEvent &e) |
| event handler to split into 2 panos More... | |
| void | OnListMouseMove (wxMouseEvent &e) |
| mouse move handler for tooltips More... | |
Private Member Functions | |
| void | EnableButtons (const bool state) |
| void | SearchInDir (wxString dirstring, const bool includeSubdir, const bool loadDistortion, const bool loadVignetting, const size_t minNumberImages, const size_t maxTimeDiff) |
| void | CleanUpPanolist () |
Private Attributes | |
| BatchFrame * | m_batchframe |
| wxButton * | m_button_start |
| wxButton * | m_button_send |
| wxButton * | m_button_close |
| wxDirPickerCtrl * | m_dirPicker |
| wxCheckBox * | m_cb_subdir |
| wxStaticText * | m_statustext |
| wxCheckListBox * | m_list_pano |
| wxChoice * | m_ch_naming |
| wxCheckBox * | m_cb_createLinks |
| wxCheckBox * | m_cb_loadDistortion |
| wxCheckBox * | m_cb_loadVignetting |
| wxSpinCtrl * | m_sc_minNumberImages |
| wxSpinCtrl * | m_sc_maxTimeDiff |
| wxImageList * | m_thumbs |
| wxListCtrl * | m_thumbsList |
| wxArrayString | m_tooltips |
| wxChoice * | m_ch_blender |
| std::vector< PossiblePano * > | m_panos |
| wxString | m_start_dir |
| bool | m_isRunning |
| bool | m_stopped |
| TIFFErrorHandler | m_oldtiffwarning |
Dialog for finding panorama in given directory.
The algorithm transverse all directories for suitable image files (currently only jpeg and tiff) If it found images, it compares EXIF information to deduce which images could belong to a panorama. After it the user can select which panoramas should created and added to detection queue
Definition at line 51 of file FindPanoDialog.h.
| FindPanoDialog::FindPanoDialog | ( | BatchFrame * | batchframe, |
| wxString | xrcPrefix | ||
| ) |
Constructor, read from xrc ressource; restore last uses settings, size and position.
Definition at line 66 of file FindPanoDialog.cpp.
References HuginBase::PanoramaOptions::ENBLEND_BLEND, FillBlenderList(), ID_REMOVE_IMAGE, ID_SPLIT_PANOS, m_batchframe, m_button_close, m_button_send, m_button_start, m_cb_createLinks, m_cb_loadDistortion, m_cb_loadVignetting, m_cb_subdir, m_ch_blender, m_ch_naming, m_dirPicker, m_isRunning, m_list_pano, m_sc_maxTimeDiff, m_sc_minNumberImages, m_statustext, m_stopped, m_thumbs, m_thumbsList, OnButtonClose(), OnButtonSend(), OnButtonStart(), OnClose(), OnListItemRightClick(), OnListMouseMove(), OnRemoveImage(), OnSelectPossiblePano(), OnSplitPanos(), hugin_utils::RestoreFramePosition(), SelectListValue(), and THUMBSIZE.
| FindPanoDialog::~FindPanoDialog | ( | ) |
destructor, saves size and position
Definition at line 143 of file FindPanoDialog.cpp.
References CleanUpPanolist(), GetSelectedValue(), m_cb_createLinks, m_cb_loadDistortion, m_cb_subdir, m_ch_blender, m_ch_naming, m_dirPicker, m_sc_maxTimeDiff, m_sc_minNumberImages, m_thumbs, and hugin_utils::StoreFramePosition().
|
private |
Definition at line 161 of file FindPanoDialog.cpp.
References m_panos.
Referenced by OnButtonStart(), and ~FindPanoDialog().
|
private |
Definition at line 284 of file FindPanoDialog.cpp.
References m_button_close, m_button_send, m_cb_createLinks, m_cb_subdir, m_ch_naming, and m_dirPicker.
Referenced by OnButtonStart(), and SearchInDir().
|
protected |
closes window
Definition at line 184 of file FindPanoDialog.cpp.
References hugin_utils::HuginMessageBox(), and m_panos.
Referenced by FindPanoDialog().
|
protected |
add selected projects to queue
Definition at line 240 of file FindPanoDialog.cpp.
References BatchFrame::AddToList(), Project::DETECTING, GetSelectedValue(), hugin_utils::HuginMessageBox(), m_batchframe, m_cb_createLinks, m_ch_blender, m_ch_naming, m_list_pano, and m_panos.
Referenced by FindPanoDialog().
|
protected |
start/stops detections
Definition at line 197 of file FindPanoDialog.cpp.
References CleanUpPanolist(), EnableButtons(), hugin_utils::HuginMessageBox(), m_button_start, m_cb_loadDistortion, m_cb_loadVignetting, m_cb_subdir, m_dirPicker, m_isRunning, m_list_pano, m_oldtiffwarning, m_panos, m_sc_maxTimeDiff, m_sc_minNumberImages, m_start_dir, m_stopped, OnSelectPossiblePano(), and SearchInDir().
Referenced by FindPanoDialog().
|
protected |
prevents closing window when running detection
Definition at line 171 of file FindPanoDialog.cpp.
References m_isRunning.
Referenced by FindPanoDialog().
|
protected |
event handler for context menu
Definition at line 317 of file FindPanoDialog.cpp.
References ID_REMOVE_IMAGE, ID_SPLIT_PANOS, m_list_pano, m_panos, and m_thumbsList.
Referenced by FindPanoDialog().
|
protected |
mouse move handler for tooltips
Definition at line 399 of file FindPanoDialog.cpp.
References flags, m_thumbsList, and m_tooltips.
Referenced by FindPanoDialog().
|
protected |
event handler to remove selected image from list
Definition at line 339 of file FindPanoDialog.cpp.
References m_list_pano, m_panos, m_start_dir, m_thumbsList, and OnSelectPossiblePano().
Referenced by FindPanoDialog().
|
protected |
event to populate information on the right
Definition at line 294 of file FindPanoDialog.cpp.
References FormatString::GetFocalLength(), m_list_pano, m_panos, m_thumbs, m_thumbsList, and m_tooltips.
Referenced by FindPanoDialog(), OnButtonStart(), OnRemoveImage(), and OnSplitPanos().
|
protected |
event handler to split into 2 panos
Definition at line 364 of file FindPanoDialog.cpp.
References PossiblePano::GetImageCount(), m_list_pano, m_panos, m_start_dir, m_thumbsList, and OnSelectPossiblePano().
Referenced by FindPanoDialog().
|
private |
Definition at line 422 of file FindPanoDialog.cpp.
References PossiblePano::AddSrcPanoImage(), EnableButtons(), HUGIN_CONV_FILENAME, m_button_send, m_button_start, m_isRunning, m_list_pano, m_oldtiffwarning, m_panos, m_start_dir, m_statustext, m_stopped, HuginBase::SrcPanoImage::readEXIF(), and SortWxFilenames().
Referenced by OnButtonStart().
|
private |
Definition at line 80 of file FindPanoDialog.h.
Referenced by FindPanoDialog(), and OnButtonSend().
|
private |
Definition at line 83 of file FindPanoDialog.h.
Referenced by EnableButtons(), and FindPanoDialog().
|
private |
Definition at line 82 of file FindPanoDialog.h.
Referenced by EnableButtons(), FindPanoDialog(), and SearchInDir().
|
private |
Definition at line 81 of file FindPanoDialog.h.
Referenced by FindPanoDialog(), OnButtonStart(), and SearchInDir().
|
private |
Definition at line 89 of file FindPanoDialog.h.
Referenced by EnableButtons(), FindPanoDialog(), OnButtonSend(), and ~FindPanoDialog().
|
private |
Definition at line 90 of file FindPanoDialog.h.
Referenced by FindPanoDialog(), OnButtonStart(), and ~FindPanoDialog().
|
private |
Definition at line 91 of file FindPanoDialog.h.
Referenced by FindPanoDialog(), and OnButtonStart().
|
private |
Definition at line 85 of file FindPanoDialog.h.
Referenced by EnableButtons(), FindPanoDialog(), OnButtonStart(), and ~FindPanoDialog().
|
private |
Definition at line 97 of file FindPanoDialog.h.
Referenced by FindPanoDialog(), OnButtonSend(), and ~FindPanoDialog().
|
private |
Definition at line 88 of file FindPanoDialog.h.
Referenced by EnableButtons(), FindPanoDialog(), OnButtonSend(), and ~FindPanoDialog().
|
private |
Definition at line 84 of file FindPanoDialog.h.
Referenced by EnableButtons(), FindPanoDialog(), OnButtonStart(), and ~FindPanoDialog().
|
private |
Definition at line 101 of file FindPanoDialog.h.
Referenced by FindPanoDialog(), OnButtonStart(), OnClose(), and SearchInDir().
|
private |
Definition at line 87 of file FindPanoDialog.h.
Referenced by FindPanoDialog(), OnButtonSend(), OnButtonStart(), OnListItemRightClick(), OnRemoveImage(), OnSelectPossiblePano(), OnSplitPanos(), and SearchInDir().
|
private |
Definition at line 103 of file FindPanoDialog.h.
Referenced by OnButtonStart(), and SearchInDir().
|
private |
Definition at line 99 of file FindPanoDialog.h.
Referenced by CleanUpPanolist(), OnButtonClose(), OnButtonSend(), OnButtonStart(), OnListItemRightClick(), OnRemoveImage(), OnSelectPossiblePano(), OnSplitPanos(), and SearchInDir().
|
private |
Definition at line 93 of file FindPanoDialog.h.
Referenced by FindPanoDialog(), OnButtonStart(), and ~FindPanoDialog().
|
private |
Definition at line 92 of file FindPanoDialog.h.
Referenced by FindPanoDialog(), OnButtonStart(), and ~FindPanoDialog().
|
private |
Definition at line 100 of file FindPanoDialog.h.
Referenced by OnButtonStart(), OnRemoveImage(), OnSplitPanos(), and SearchInDir().
|
private |
Definition at line 86 of file FindPanoDialog.h.
Referenced by FindPanoDialog(), and SearchInDir().
|
private |
Definition at line 102 of file FindPanoDialog.h.
Referenced by FindPanoDialog(), OnButtonStart(), and SearchInDir().
|
private |
Definition at line 94 of file FindPanoDialog.h.
Referenced by FindPanoDialog(), OnSelectPossiblePano(), and ~FindPanoDialog().
|
private |
Definition at line 95 of file FindPanoDialog.h.
Referenced by FindPanoDialog(), OnListItemRightClick(), OnListMouseMove(), OnRemoveImage(), OnSelectPossiblePano(), and OnSplitPanos().
|
private |
Definition at line 96 of file FindPanoDialog.h.
Referenced by OnListMouseMove(), and OnSelectPossiblePano().
1.8.5