Fraxinus  18.10
An IGT application
cx::CachedImageDataContainer Class Reference

#include <cxImageDataContainer.h>

Inheritance diagram for cx::CachedImageDataContainer:
cx::ImageDataContainer

Public Member Functions

 CachedImageDataContainer ()
 
 CachedImageDataContainer (QString baseFilename, int size)
 
 CachedImageDataContainer (std::vector< QString > frames)
 
virtual ~CachedImageDataContainer ()
 
virtual vtkImageDataPtr get (unsigned index)
 
virtual QString getFilename (unsigned index)
 
virtual unsigned size () const
 
virtual bool purge (unsigned index)
 
void setDeleteFilesOnRelease (bool on)
 
void append (QString filename)
 
- Public Member Functions inherited from cx::ImageDataContainer
virtual ~ImageDataContainer ()
 
bool empty () const
 
virtual void purgeAll ()
 

Detailed Description

Container class for delayed loading of images. The images will also not be stored by this container.

Date
Dec 04 2012
Author
christiana

Definition at line 83 of file cxImageDataContainer.h.

Constructor & Destructor Documentation

cx::CachedImageDataContainer::CachedImageDataContainer ( )

Definition at line 99 of file cxImageDataContainer.cpp.

cx::CachedImageDataContainer::CachedImageDataContainer ( QString  baseFilename,
int  size 
)

-----------------------------------------------------—


Definition at line 74 of file cxImageDataContainer.cpp.

cx::CachedImageDataContainer::CachedImageDataContainer ( std::vector< QString >  frames)

Definition at line 104 of file cxImageDataContainer.cpp.

cx::CachedImageDataContainer::~CachedImageDataContainer ( )
virtual

Definition at line 116 of file cxImageDataContainer.cpp.

Member Function Documentation

void cx::CachedImageDataContainer::append ( QString  filename)

Definition at line 111 of file cxImageDataContainer.cpp.

vtkImageDataPtr cx::CachedImageDataContainer::get ( unsigned  index)
virtual

Implements cx::ImageDataContainer.

Definition at line 129 of file cxImageDataContainer.cpp.

QString cx::CachedImageDataContainer::getFilename ( unsigned  index)
virtual

Definition at line 145 of file cxImageDataContainer.cpp.

virtual bool cx::CachedImageDataContainer::purge ( unsigned  index)
inlinevirtual

Reimplemented from cx::ImageDataContainer.

Definition at line 94 of file cxImageDataContainer.h.

void cx::CachedImageDataContainer::setDeleteFilesOnRelease ( bool  on)
inline

If set, image files managed by this object will be deleted when object goes out of scope

Definition at line 99 of file cxImageDataContainer.h.

unsigned cx::CachedImageDataContainer::size ( ) const
virtual

Implements cx::ImageDataContainer.

Definition at line 151 of file cxImageDataContainer.cpp.


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