|
Hugin trunk 0.1
|
implementation of dialog to browse directory with pto files More...
#include "hugin/BrowseDialog.h"#include "hugin/huginApp.h"#include "wx/dir.h"#include "wx/busyinfo.h"#include "hugin/GenerateThumbnail.h"#include "hugin/MainFrame.h"#include "base_wx/wxcms.h"#include "base_wx/LensTools.h"#include "base_wx/platform.h"#include "base_wx/wxutils.h"
Go to the source code of this file.
Classes | |
| class | ThreadImage |
| helper class to transfer thumbnail data from worker thread to GUI thread More... | |
| class | ThumbnailThread |
| background thread to generate thumbnails of all pto files More... | |
Macros | |
| #define | THUMBNAIL_SIZE 128 |
| #define | SORTASCENDING(functionName, var) |
| #define | SORTDESCENDING(functionName, var) |
| #define | SORTASCENDING(functionName, var) |
| #define | SORTDESCENDING(functionName, var) |
Variables | |
| options wxIntPtr | item2 |
| options wxIntPtr wxIntPtr | sortData |
| const float | fieldOfView1 = data->at(item1).options.getHFOV() * 1000 + data->at(item1).options.getVFOV() |
| const float | fieldOfView2 = data->at(item2).options.getHFOV() * 1000 + data->at(item2).options.getVFOV() |
implementation of dialog to browse directory with pto files
Definition in file BrowseDialog.cpp.
| #define SORTASCENDING | ( | functionName, | |
| var | |||
| ) |
Definition at line 657 of file BrowseDialog.cpp.
| #define SORTASCENDING | ( | functionName, | |
| var | |||
| ) |
Definition at line 657 of file BrowseDialog.cpp.
| #define SORTDESCENDING | ( | functionName, | |
| var | |||
| ) |
Definition at line 663 of file BrowseDialog.cpp.
| #define SORTDESCENDING | ( | functionName, | |
| var | |||
| ) |
Definition at line 663 of file BrowseDialog.cpp.
| #define THUMBNAIL_SIZE 128 |
Definition at line 152 of file BrowseDialog.cpp.
| options getSize | ( | ) |
Referenced by HuginBase::SrcPanoImage::applyEXIFValues(), HuginBase::SrcPanoImage::getHeight(), HuginBase::SrcPanoImage::getWidth(), MaskEditorPanel::OnMaskCopy(), MaskEditorPanel::OnMaskLoad(), MaskEditorPanel::OnMaskPaste(), MaskEditorPanel::OnMaskSave(), HuginBase::SrcPanoImage::readCropfactorFromDB(), HuginBase::SrcPanoImage::readProjectionFromDB(), PreviewPanoMaskTool::ReallyAfterDrawImagesEvent(), HuginBase::SrcPanoImage::trustExivOrientation(), HuginBase::SrcPanoImage::updateCropFactor(), and HuginBase::SrcPanoImage::updateFocalLength().
Definition at line 620 of file BrowseDialog.cpp.
| return GreaterComparisonOperator | ( | fieldOfView1 | , |
| fieldOfView2 | |||
| ) |
Definition at line 639 of file BrowseDialog.cpp.
Referenced by SortFieldOfViewDescending().
| SORTASCENDING | ( | SortCanvasSizeAcending | , |
| options. | getSize).area( | ||
| ) |
| int wxCALLBACK SortDateAscending | ( | wxIntPtr | item1, |
| wxIntPtr | item2, | ||
| wxIntPtr | sortData | ||
| ) |
Definition at line 725 of file BrowseDialog.cpp.
References item2, sortData, and threshold().
Referenced by BrowsePTOFilesDialog::SortItems().
| int wxCALLBACK SortDateDesending | ( | wxIntPtr | item1, |
| wxIntPtr | item2, | ||
| wxIntPtr | sortData | ||
| ) |
Definition at line 739 of file BrowseDialog.cpp.
References item2, sortData, and threshold().
Referenced by BrowsePTOFilesDialog::SortItems().
| int wxCALLBACK SortDurationAscending | ( | wxIntPtr | item1, |
| wxIntPtr | item2, | ||
| wxIntPtr | sortData | ||
| ) |
Definition at line 754 of file BrowseDialog.cpp.
References item2, sortData, and threshold().
Referenced by BrowsePTOFilesDialog::SortItems().
| int wxCALLBACK SortDurationDesending | ( | wxIntPtr | item1, |
| wxIntPtr | item2, | ||
| wxIntPtr | sortData | ||
| ) |
Definition at line 768 of file BrowseDialog.cpp.
References item2, sortData, and threshold().
Referenced by BrowsePTOFilesDialog::SortItems().
| int wxCALLBACK SortFieldOfViewDescending | ( | wxIntPtr | item1, |
| wxIntPtr | item2, | ||
| wxIntPtr | sortData | ||
| ) |
Definition at line 716 of file BrowseDialog.cpp.
References fieldOfView1, fieldOfView2, item2, SmallerComparisonOperator(), sortData, and threshold().
Referenced by BrowsePTOFilesDialog::SortItems().
| wxDECLARE_EVENT | ( | wxEVT_COMMAND_THUMBNAILTHREAD_UPDATE | , |
| wxCommandEvent | |||
| ) |
| wxDEFINE_EVENT | ( | wxEVT_COMMAND_THUMBNAILTHREAD_UPDATE | , |
| wxCommandEvent | |||
| ) |
| const float fieldOfView1 = data->at(item1).options.getHFOV() * 1000 + data->at(item1).options.getVFOV() |
Definition at line 711 of file BrowseDialog.cpp.
Referenced by SortFieldOfViewDescending().
| const float fieldOfView2 = data->at(item2).options.getHFOV() * 1000 + data->at(item2).options.getVFOV() |
Definition at line 712 of file BrowseDialog.cpp.
Referenced by SortFieldOfViewDescending().
| options wxIntPtr item2 |
Definition at line 708 of file BrowseDialog.cpp.
Referenced by comparePluginItem(), wxcode::wxTreeListMainWindow::OnCompareItems(), wxcode::wxTreeListCtrl::OnCompareItems(), wxcode::wxTreeListCtrl::OnCompareItems(), SortDateAscending(), SortDateDesending(), SortDurationAscending(), SortDurationDesending(), SortFieldOfViewDescending(), SortIndexAscending(), SortIndexDescending(), and wxcode::tree_ctrl_compare_func().
Definition at line 708 of file BrowseDialog.cpp.
Referenced by SortDateAscending(), SortDateDesending(), SortDurationAscending(), SortDurationDesending(), and SortFieldOfViewDescending().