|
Hugintrunk
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) |
Functions | |
| wxDECLARE_EVENT (wxEVT_COMMAND_THUMBNAILTHREAD_UPDATE, wxCommandEvent) | |
| wxDEFINE_EVENT (wxEVT_COMMAND_THUMBNAILTHREAD_UPDATE, wxCommandEvent) | |
| template<class Type > | |
| int | GreaterComparisonOperator (const Type &a, const Type &b) |
| template<class Type > | |
| int | SmallerComparisonOperator (const Type &a, const Type &b) |
| SORTASCENDING (SortCanvasSizeAcending, options.getSize().area()) SORTDESCENDING(SortCanvasSizeDescending | |
| options | getSize ().area()) int wxCALLBACK SortFieldOfViewAscending(wxIntPtr item1 |
| return | GreaterComparisonOperator (fieldOfView1, fieldOfView2) |
| int wxCALLBACK | SortFieldOfViewDescending (wxIntPtr item1, wxIntPtr item2, wxIntPtr sortData) |
| int wxCALLBACK | SortDateAscending (wxIntPtr item1, wxIntPtr item2, wxIntPtr sortData) |
| int wxCALLBACK | SortDateDesending (wxIntPtr item1, wxIntPtr item2, wxIntPtr sortData) |
| int wxCALLBACK | SortDurationAscending (wxIntPtr item1, wxIntPtr item2, wxIntPtr sortData) |
| int wxCALLBACK | SortDurationDesending (wxIntPtr item1, wxIntPtr item2, wxIntPtr sortData) |
Variables | |
| options wxIntPtr | item2 |
| options wxIntPtr wxIntPtr sortData std::vector< PanoInfo > * | data = (std::vector<PanoInfo>*)(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 620 of file BrowseDialog.cpp.
| #define SORTASCENDING | ( | functionName, | |
| var | |||
| ) |
Definition at line 620 of file BrowseDialog.cpp.
| #define SORTDESCENDING | ( | functionName, | |
| var | |||
| ) |
Definition at line 626 of file BrowseDialog.cpp.
| #define SORTDESCENDING | ( | functionName, | |
| var | |||
| ) |
Definition at line 626 of file BrowseDialog.cpp.
| #define THUMBNAIL_SIZE 128 |
Definition at line 152 of file BrowseDialog.cpp.
Referenced by BrowsePTOFilesDialog::BrowsePTOFilesDialog().
| options getSize | ( | ) |
Referenced by HuginBase::SrcPanoImage::applyEXIFValues(), HuginBase::SrcPanoImage::getHeight(), PanoOperation::ChangeStackOperation::GetInternalCommand(), HuginBase::SrcPanoImage::getWidth(), main(), HuginBase::SrcPanoImage::readCropfactorFromDB(), HuginBase::SrcPanoImage::readProjectionFromDB(), PreviewPanoMaskTool::ReallyAfterDrawImagesEvent(), HuginBase::SrcPanoImage::trustExivOrientation(), HuginBase::SrcPanoImage::updateCropFactor(), and HuginBase::SrcPanoImage::updateFocalLength().
| int GreaterComparisonOperator | ( | const Type & | a, |
| const Type & | b | ||
| ) |
Definition at line 583 of file BrowseDialog.cpp.
| return GreaterComparisonOperator | ( | fieldOfView1 | , |
| fieldOfView2 | |||
| ) |
| int SmallerComparisonOperator | ( | const Type & | a, |
| const Type & | b | ||
| ) |
Definition at line 602 of file BrowseDialog.cpp.
Referenced by SortFieldOfViewDescending().
| SORTASCENDING | ( | SortCanvasSizeAcending | , |
| options. | getSize).area( | ||
| ) |
| int wxCALLBACK SortDateAscending | ( | wxIntPtr | item1, |
| wxIntPtr | item2, | ||
| wxIntPtr | sortData | ||
| ) |
Definition at line 688 of file BrowseDialog.cpp.
Referenced by BrowsePTOFilesDialog::SortItems().
| int wxCALLBACK SortDateDesending | ( | wxIntPtr | item1, |
| wxIntPtr | item2, | ||
| wxIntPtr | sortData | ||
| ) |
Definition at line 702 of file BrowseDialog.cpp.
Referenced by BrowsePTOFilesDialog::SortItems().
| int wxCALLBACK SortDurationAscending | ( | wxIntPtr | item1, |
| wxIntPtr | item2, | ||
| wxIntPtr | sortData | ||
| ) |
Definition at line 717 of file BrowseDialog.cpp.
Referenced by BrowsePTOFilesDialog::SortItems().
| int wxCALLBACK SortDurationDesending | ( | wxIntPtr | item1, |
| wxIntPtr | item2, | ||
| wxIntPtr | sortData | ||
| ) |
Definition at line 731 of file BrowseDialog.cpp.
Referenced by BrowsePTOFilesDialog::SortItems().
| int wxCALLBACK SortFieldOfViewDescending | ( | wxIntPtr | item1, |
| wxIntPtr | item2, | ||
| wxIntPtr | sortData | ||
| ) |
Definition at line 679 of file BrowseDialog.cpp.
References SmallerComparisonOperator().
Referenced by BrowsePTOFilesDialog::SortItems().
| wxDECLARE_EVENT | ( | wxEVT_COMMAND_THUMBNAILTHREAD_UPDATE | , |
| wxCommandEvent | |||
| ) |
| wxDEFINE_EVENT | ( | wxEVT_COMMAND_THUMBNAILTHREAD_UPDATE | , |
| wxCommandEvent | |||
| ) |
Definition at line 673 of file BrowseDialog.cpp.
Referenced by wxcode::wxTreeListMainWindow::AppendItem(), wxcode::wxTreeListMainWindow::DoDeleteItem(), celeste::SVC_Q::get_Q(), celeste::ONE_CLASS_Q::get_Q(), celeste::SVR_Q::get_Q(), ImagesTreeCtrl::GetSelectedImages(), ImagesTreeCtrl::OnBeginEdit(), ImagesTreeCtrl::OnContextMenu(), ImagesTreeCtrl::OnEndEdit(), ImagesTreeCtrl::OnLeftUp(), MaskEditorPanel::OnMaskPaste(), optGetError(), optimize_new(), HuginBase::PhotometricOptimizer::optimizePhotometric(), HuginBase::PanoramaMemento::PanoramaMemento(), HuginBase::PhotometricOptimizer::photometricError(), HuginBase::PhotometricOptimizer::photometricVis(), ImagesTreeCtrl::SelectAllParameters(), HuginBase::ImageVariable< Type >::setData(), wxcode::wxTreeListItem::SetData(), celeste::Cache::swap_index(), ImagesTreeCtrl::UpdateGroup(), ImagesTreeCtrl::UpdateGroupText(), ImagesTreeCtrl::UpdateOptimizerVariables(), and wxcode::wxTreeListItem::wxTreeListItem().
| const float fieldOfView1 = data->at(item1).options.getHFOV() * 1000 + data->at(item1).options.getVFOV() |
Definition at line 674 of file BrowseDialog.cpp.
| const float fieldOfView2 = data->at(item2).options.getHFOV() * 1000 + data->at(item2).options.getVFOV() |
Definition at line 675 of file BrowseDialog.cpp.
| options wxIntPtr item2 |
Definition at line 671 of file BrowseDialog.cpp.
1.8.5