#include <FindPanoDialog.h>
Public Types | |
| enum | NamingConvention { NAMING_PANO = 0, NAMING_FIRST_LAST = 1, NAMING_FOLDER = 2, NAMING_TEMPLATE = 3 } |
| enumeration for different naming conventions, must be match combobox in ressource More... | |
Public Member Functions | |
| ~PossiblePano () | |
| destructor, cleans up used variables | |
| bool | BelongsTo (SrcPanoImage *img, const wxTimeSpan max_time_diff) |
| return true, if the image could belong to the given PossiblePano, it checks camera maker and model, focal length, image size and date/time | |
| void | AddSrcPanoImage (SrcPanoImage *img) |
| adds the given SrcPanoImage to this pano-group | |
| const unsigned int | GetImageCount () const |
| returns number of images in this group | |
| const wxString | GetItemString (const wxString BasePath) const |
| returns a string which contains description of this pano | |
| const wxString | GetFilestring (const wxString BasePath, const bool stripExtension=false) const |
| returns a string with the filename of the first and last file | |
| wxString | GeneratePanorama (NamingConvention nc, bool createLinks) |
| generates the panorama file from this set of images | |
Private Member Functions | |
| const wxDateTime | GetDateTime (const SrcPanoImage *img) |
| does some reformating date/time format | |
| bool | GetNewProjectFilename (NamingConvention nc, const wxString basePath, wxFileName &projectFile) |
| returns a given filename, which does not already exists | |
| bool | IsStacked () |
| checks if the panorama contains stacks | |
| double | GetMaxExposureDifference () |
| calculates the ev difference between darkest and brightest image | |
Private Attributes | |
| std::string | m_make |
| std::string | m_camera |
| std::string | m_lens |
| wxDateTime | m_dt_start |
| wxDateTime | m_dt_end |
| double | m_focallength |
| vigra::Size2D | m_size |
| ImageSet | m_images |
|
|
enumeration for different naming conventions, must be match combobox in ressource
Definition at line 110 of file FindPanoDialog.h. |
|
|
destructor, cleans up used variables
Definition at line 425 of file FindPanoDialog.cpp. References m_images. |
|
|
adds the given SrcPanoImage to this pano-group
Definition at line 552 of file FindPanoDialog.cpp. References GetDateTime(), m_camera, m_dt_end, m_dt_start, m_focallength, m_images, m_lens, m_make, and m_size. Referenced by FindPanoDialog::SearchInDir(). |
|
||||||||||||
|
return true, if the image could belong to the given PossiblePano, it checks camera maker and model, focal length, image size and date/time
Definition at line 436 of file FindPanoDialog.cpp. References GetDateTime(), m_camera, m_dt_end, m_dt_start, m_focallength, m_lens, m_make, and m_size. |
|
||||||||||||
|
|
does some reformating date/time format
Definition at line 538 of file FindPanoDialog.cpp. References HuginBase::SrcPanoImage::getExifDateTime(). Referenced by AddSrcPanoImage(), and BelongsTo(). |
|
||||||||||||
|
returns a string with the filename of the first and last file
Definition at line 580 of file FindPanoDialog.cpp. References m_images. Referenced by GetItemString(), and GetNewProjectFilename(). |
|
|
returns number of images in this group
Definition at line 125 of file FindPanoDialog.h. |
|
|
returns a string which contains description of this pano
Definition at line 597 of file FindPanoDialog.cpp. References GetFilestring(), and m_images. |
|
|
calculates the ev difference between darkest and brightest image
Definition at line 465 of file FindPanoDialog.cpp. References m_images, celeste::max(), and celeste::min(). Referenced by IsStacked(). |
|
||||||||||||||||
|
returns a given filename, which does not already exists
Definition at line 602 of file FindPanoDialog.cpp. References HuginBase::Panorama::addImage(), getDefaultProjectName(), GetFilestring(), m_images, NAMING_FIRST_LAST, NAMING_FOLDER, NAMING_PANO, and NAMING_TEMPLATE. Referenced by GeneratePanorama(). |
|
|
checks if the panorama contains stacks
Definition at line 482 of file FindPanoDialog.cpp. References GetMaxExposureDifference(), and m_images. Referenced by GeneratePanorama(). |
|
|
Definition at line 148 of file FindPanoDialog.h. Referenced by AddSrcPanoImage(), and BelongsTo(). |
|
|
Definition at line 151 of file FindPanoDialog.h. Referenced by AddSrcPanoImage(), and BelongsTo(). |
|
|
Definition at line 150 of file FindPanoDialog.h. Referenced by AddSrcPanoImage(), and BelongsTo(). |
|
|
Definition at line 152 of file FindPanoDialog.h. Referenced by AddSrcPanoImage(), and BelongsTo(). |
|
|
Definition at line 154 of file FindPanoDialog.h. Referenced by AddSrcPanoImage(), GeneratePanorama(), GetFilestring(), GetItemString(), GetMaxExposureDifference(), GetNewProjectFilename(), IsStacked(), and ~PossiblePano(). |
|
|
Definition at line 149 of file FindPanoDialog.h. Referenced by AddSrcPanoImage(), and BelongsTo(). |
|
|
Definition at line 147 of file FindPanoDialog.h. Referenced by AddSrcPanoImage(), and BelongsTo(). |
|
|
Definition at line 153 of file FindPanoDialog.h. Referenced by AddSrcPanoImage(), and BelongsTo(). |
1.3.9.1