Hugin trunk 0.1
Loading...
Searching...
No Matches
wxImageCache.h
Go to the documentation of this file.
1// -*- c-basic-offset: 4 -*-
24#ifndef _WXIMAGECACHE_H
25#define _WXIMAGECACHE_H
26
27#include <hugin_shared.h>
28#include <panoinc_WX.h>
29
30#include <huginapp/ImageCache.h>
32
38
41
43
46
60
63
64class WXIMPEX ImageCacheApp : public wxApp
65{
66public:
67 bool OnInit() wxOVERRIDE;
69 void relayImageLoaded(ImageReadyEvent & event);
70
72 static void imageLoadedAsync(HuginBase::ImageCache::RequestPtr request, HuginBase::ImageCache::EntryPtr entry);
73};
74
77
78#endif // _IMAGECACHE_H
This is a cache for all the images we use.
Definition ImageCache.h:53
std::shared_ptr< vigra::FRGBImage > ImageCacheRGBFloatPtr
Definition ImageCache.h:59
std::shared_ptr< vigra::BRGBImage > ImageCacheRGB8Ptr
use reference counted pointers
Definition ImageCache.h:57
std::shared_ptr< vigra::BImage > ImageCache8Ptr
Definition ImageCache.h:60
std::shared_ptr< vigra::UInt16RGBImage > ImageCacheRGB16Ptr
Definition ImageCache.h:58
std::shared_ptr< Request > RequestPtr
Reference counted request for an image to load.
Definition ImageCache.h:151
std::shared_ptr< vigra::ImageImportInfo::ICCProfile > ImageCacheICCProfile
Definition ImageCache.h:61
std::shared_ptr< Entry > EntryPtr
a shared pointer to the entry
Definition ImageCache.h:112
class to cache remapped images, loaded from the hugin small image cache.
Event for when a requested image finished loading.
HuginBase::ImageCache::EntryPtr entry
HuginBase::ImageCache::RequestPtr request
#define WXIMPEX
include file for the hugin project
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.
Definition threshold.h:41
HuginBase::ImageCache::ImageCacheRGBFloatPtr ImageCacheRGBFloatPtr
WXIMPEX wxImage imageCacheEntry2wxImage(ImageCache::EntryPtr e)
HuginBase::ImageCache::ImageCacheICCProfile ImageCacheICCProfile
HuginBase::ImageCache::ImageCache8Ptr ImageCache8Ptr
wxDECLARE_EXPORTED_EVENT(WXIMPEX, EVT_IMAGE_READY, ImageReadyEvent)
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
HuginBase::ImageCache::ImageCacheRGB8Ptr ImageCacheRGB8Ptr
HuginBase::ImageCache::ImageCacheRGB16Ptr ImageCacheRGB16Ptr
WXIMPEX void UpdateImageCacheSize()
update the image cache size from the settings in wxConfig