Hugin trunk 0.1
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
wxImageCache.h File Reference
#include <hugin_shared.h>
#include <panoinc_WX.h>
#include <huginapp/ImageCache.h>
#include <huginapp/CachedImageRemapper.h>
Include dependency graph for wxImageCache.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ImageReadyEvent
 Event for when a requested image finished loading. More...
 
class  ImageCacheApp
 

Typedefs

typedef HuginBase::ImageCache::ImageCacheRGB8Ptr ImageCacheRGB8Ptr
 
typedef HuginBase::ImageCache::ImageCacheRGB16Ptr ImageCacheRGB16Ptr
 
typedef HuginBase::ImageCache::ImageCacheRGBFloatPtr ImageCacheRGBFloatPtr
 
typedef HuginBase::ImageCache::ImageCache8Ptr ImageCache8Ptr
 
typedef HuginBase::ImageCache::ImageCacheICCProfile ImageCacheICCProfile
 

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
 

Detailed Description

Author
Pablo d'Angelo pablo.nosp@m..dan.nosp@m.gelo@.nosp@m.web..nosp@m.de

$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.

Typedef Documentation

◆ ImageCache8Ptr

Definition at line 36 of file wxImageCache.h.

◆ ImageCacheICCProfile

Definition at line 37 of file wxImageCache.h.

◆ ImageCacheRGB16Ptr

Definition at line 34 of file wxImageCache.h.

◆ ImageCacheRGB8Ptr

Definition at line 33 of file wxImageCache.h.

◆ ImageCacheRGBFloatPtr

Definition at line 35 of file wxImageCache.h.

Function Documentation

◆ GeneratePreviewSelectedFile()

WXIMPEX void GeneratePreviewSelectedFile ( wxStaticBitmap *  control,
ImageCache::EntryPtr  cacheEntry,
const bool  hasMonitorProfile,
const cmsHPROFILE &  monitorProfile 
)

◆ imageCacheEntry2wxImage()

WXIMPEX wxImage imageCacheEntry2wxImage ( ImageCache::EntryPtr  e)

◆ UpdateImageCacheSize()

WXIMPEX void UpdateImageCacheSize ( )

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() [1/2]

wxDECLARE_EXPORTED_EVENT ( WXIMPEX  ,
EVT_IMAGE_READY  ,
ImageReadyEvent   
)

◆ wxDECLARE_EXPORTED_EVENT() [2/2]

wxDECLARE_EXPORTED_EVENT ( WXIMPEX  ,
EVT_LOADING_FAILED  ,
wxCommandEvent   
)