[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

HuginBase::SmallRemappedImageCache Class Reference

class to cache remapped images, loaded from the hugin small image cache. More...

#include <CachedImageRemapper.h>

Inheritance diagram for HuginBase::SmallRemappedImageCache:

Inheritance graph
List of all members.

Public Member Functions

virtual ~SmallRemappedImageCache ()
virtual MRemappedImagegetRemapped (const PanoramaData &pano, const PanoramaOptions &opts, unsigned int imgNr, vigra::Rect2D outputROI, AppBase::MultiProgressDisplay &progress)
 create a remapped pano image.
virtual void release (MRemappedImage *d)
void invalidate ()
 invalidates all images
void invalidate (unsigned int imgNr)
 invalidate a specific image

Protected Attributes

std::map< unsigned, MRemappedImage * > m_images
std::map< unsigned, SrcPanoImagem_imagesParam
std::map< unsigned, PanoramaOptionsm_panoOpts

Detailed Description

class to cache remapped images, loaded from the hugin small image cache.

This is meant to be used by the preview stitcher.

Constructor & Destructor Documentation

HuginBase::SmallRemappedImageCache::~SmallRemappedImageCache  )  [virtual]

Member Function Documentation

SmallRemappedImageCache::MRemappedImage * HuginBase::SmallRemappedImageCache::getRemapped const PanoramaData pano,
const PanoramaOptions popts,
unsigned int  imgNr,
vigra::Rect2D  outputROI,
AppBase::MultiProgressDisplay progress

create a remapped pano image.

The image ownership is transferred to the caller.

Implements HuginBase::Nona::SingleImageRemapper< vigra::FRGBImage, vigra::BImage >.

void HuginBase::SmallRemappedImageCache::invalidate unsigned int  imgNr  ) 

invalidate a specific image

void HuginBase::SmallRemappedImageCache::invalidate  ) 

invalidates all images

virtual void HuginBase::SmallRemappedImageCache::release MRemappedImage d  )  [inline, virtual]

Member Data Documentation

std::map<unsigned, MRemappedImage*> HuginBase::SmallRemappedImageCache::m_images [protected]

std::map<unsigned, SrcPanoImage> HuginBase::SmallRemappedImageCache::m_imagesParam [protected]

std::map<unsigned, PanoramaOptions> HuginBase::SmallRemappedImageCache::m_panoOpts [protected]

The documentation for this class was generated from the following files:

Generated on Mon Sep 20 01:01:36 2010 for Hugintrunk by doxygen