Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 104 of file cxImageDataContainer.h.

Constructor & Destructor Documentation

cx::CachedImageDataContainer::CachedImageDataContainer ( )

Definition at line 120 of file cxImageDataContainer.cpp.

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

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


Definition at line 95 of file cxImageDataContainer.cpp.

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

Definition at line 125 of file cxImageDataContainer.cpp.

cx::CachedImageDataContainer::~CachedImageDataContainer ( )
virtual

Definition at line 137 of file cxImageDataContainer.cpp.

Member Function Documentation

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

Definition at line 132 of file cxImageDataContainer.cpp.

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

Implements cx::ImageDataContainer.

Definition at line 150 of file cxImageDataContainer.cpp.

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

Definition at line 166 of file cxImageDataContainer.cpp.

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

Reimplemented from cx::ImageDataContainer.

Definition at line 115 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 120 of file cxImageDataContainer.h.

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

Implements cx::ImageDataContainer.

Definition at line 172 of file cxImageDataContainer.cpp.


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