|
Hugin trunk 0.1
|
#include <hugin_shared.h>#include <panoinc_WX.h>#include <huginapp/ImageCache.h>#include <huginapp/CachedImageRemapper.h>

Go to the source code of this file.
Classes | |
| class | ImageReadyEvent |
| Event for when a requested image finished loading. More... | |
| class | ImageCacheApp |
Functions | |
| WXIMPEX wxImage | imageCacheEntry2wxImage (ImageCache::EntryPtr e) |
| WXIMPEX void | GeneratePreviewSelectedFile (wxStaticBitmap *control, ImageCache::EntryPtr cacheEntry, const bool hasMonitorProfile, const cmsHPROFILE &monitorProfile) |
| load given image from image cache and display in wxStaticBitmap control | |
| wxDECLARE_EXPORTED_EVENT (WXIMPEX, EVT_IMAGE_READY, ImageReadyEvent) | |
| wxDECLARE_EXPORTED_EVENT (WXIMPEX, EVT_LOADING_FAILED, wxCommandEvent) | |
| WXIMPEX void | UpdateImageCacheSize () |
| update the image cache size from the settings in wxConfig | |
$Id$
This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License along with this software. If not, see http://www.gnu.org/licenses/.
Definition in file wxImageCache.h.
Definition at line 36 of file wxImageCache.h.
Definition at line 37 of file wxImageCache.h.
Definition at line 34 of file wxImageCache.h.
Definition at line 33 of file wxImageCache.h.
Definition at line 35 of file wxImageCache.h.
| WXIMPEX void GeneratePreviewSelectedFile | ( | wxStaticBitmap * | control, |
| ImageCache::EntryPtr | cacheEntry, | ||
| const bool | hasMonitorProfile, | ||
| const cmsHPROFILE & | monitorProfile | ||
| ) |
load given image from image cache and display in wxStaticBitmap control
Definition at line 67 of file wxImageCache.cpp.
References HuginBase::Color::CorrectImage(), imageCacheEntry2wxImage(), and threshold().
Referenced by EnfusePanel::OnFileSelectionChanged(), StackerPanel::OnFileSelectionChanged(), EnfusePanel::OnImageLoaded(), StackerPanel::OnImageLoaded(), and ImagesPanel::UpdatePreviewImage().
Definition at line 33 of file wxImageCache.cpp.
References vigra_ext::applyMapping(), HUGIN_IMGCACHE_MAPPING_FLOAT, and threshold().
Referenced by GeneratePreviewSelectedFile(), CPImageCtrl::rescaleImage(), MaskImageCtrl::rescaleImage(), PerspectiveImageCtrl::rescaleImage(), and LensCalImageCtrl::SetImage().
update the image cache size from the settings in wxConfig
Definition at line 167 of file wxImageCache.cpp.
References HuginBase::ImageCache::getInstance(), HUGIN_IMGCACHE_UPPERBOUND, HuginBase::ImageCache::SetUpperLimit(), and threshold().
Referenced by ImageCacheApp::OnInit(), and MainFrame::OnShowPrefs().
| wxDECLARE_EXPORTED_EVENT | ( | WXIMPEX | , |
| EVT_IMAGE_READY | , | ||
| ImageReadyEvent | |||
| ) |
| wxDECLARE_EXPORTED_EVENT | ( | WXIMPEX | , |
| EVT_LOADING_FAILED | , | ||
| wxCommandEvent | |||
| ) |