CustusX
16.5.0-rc9
An IGT application
|
#include <cxImageDataContainer.h>
Public Member Functions | |
CachedImageData (QString filename, vtkImageDataPtr image=NULL) | |
~CachedImageData () | |
QString | getFilename () |
vtkImageDataPtr | getImage () |
bool | purge () |
Delayed loading of one vtkImageData.
Definition at line 55 of file cxImageDataContainer.h.
|
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.
|
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.