CustusX  2021.04.21-dev+develop.337f9
An IGT application
cx::CachedImageDataContainer Class Reference

#include <cxImageDataContainer.h>

Inheritance diagram for cx::CachedImageDataContainer:

Public Member Functions

 CachedImageDataContainer (FileManagerServicePtr filemanagerservice)
 CachedImageDataContainer (QString baseFilename, int size, FileManagerServicePtr filemanagerservice)
 CachedImageDataContainer (std::vector< QString > frames, FileManagerServicePtr filemanagerservice)
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.

Dec 04 2012

Definition at line 83 of file cxImageDataContainer.h.

Constructor & Destructor Documentation

cx::CachedImageDataContainer::CachedImageDataContainer ( FileManagerServicePtr  filemanagerservice)

Definition at line 102 of file cxImageDataContainer.cpp.

cx::CachedImageDataContainer::CachedImageDataContainer ( QString  baseFilename,
int  size,
FileManagerServicePtr  filemanagerservice 


Definition at line 76 of file cxImageDataContainer.cpp.

cx::CachedImageDataContainer::CachedImageDataContainer ( std::vector< QString >  frames,
FileManagerServicePtr  filemanagerservice 

Definition at line 108 of file cxImageDataContainer.cpp.

cx::CachedImageDataContainer::~CachedImageDataContainer ( )

Definition at line 121 of file cxImageDataContainer.cpp.

Member Function Documentation

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

Definition at line 116 of file cxImageDataContainer.cpp.

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

Implements cx::ImageDataContainer.

Definition at line 134 of file cxImageDataContainer.cpp.

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

Definition at line 150 of file cxImageDataContainer.cpp.

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

Reimplemented from cx::ImageDataContainer.

Definition at line 94 of file cxImageDataContainer.h.

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

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

Implements cx::ImageDataContainer.

Definition at line 156 of file cxImageDataContainer.cpp.

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