NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::CachedImageData Class Reference

#include <cxImageDataContainer.h>

Public Member Functions

 CachedImageData (QString filename, vtkImageDataPtr image=NULL)
 
 ~CachedImageData ()
 
QString getFilename ()
 
vtkImageDataPtr getImage ()
 
bool purge ()
 

Detailed Description

Delayed loading of one vtkImageData.

Date
Dec 04 2012
Author
christiana

Definition at line 55 of file cxImageDataContainer.h.

Constructor & Destructor Documentation

cx::CachedImageData::CachedImageData ( QString  filename,
vtkImageDataPtr  image = NULL 
)
explicit

Initialize with a given image file

Definition at line 47 of file cxImageDataContainer.cpp.

cx::CachedImageData::~CachedImageData ( )

Definition at line 53 of file cxImageDataContainer.cpp.

Member Function Documentation

QString cx::CachedImageData::getFilename ( )
inline

Return name of file.

Definition at line 66 of file cxImageDataContainer.h.

vtkImageDataPtr cx::CachedImageData::getImage ( )

Definition at line 59 of file cxImageDataContainer.cpp.

bool cx::CachedImageData::purge ( )

Clear the image contents from memory, if possible. Return true if purge was successful.

Definition at line 68 of file cxImageDataContainer.cpp.


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