CustusX
22.04-rc5
An IGT application
|
#include <cxImageDataContainer.h>
Public Member Functions | |
CachedImageData (QString filename, vtkImageDataPtr image=NULL) | |
~CachedImageData () | |
QString | getFilename () |
vtkImageDataPtr | getImage (FileManagerServicePtr filemanager) |
bool | purge () |
Delayed loading of one vtkImageData.
Definition at line 34 of file cxImageDataContainer.h.
|
explicit |
Initialize with a given image file
Definition at line 27 of file cxImageDataContainer.cpp.
cx::CachedImageData::~CachedImageData | ( | ) |
Definition at line 33 of file cxImageDataContainer.cpp.
|
inline |
Return name of file.
Definition at line 45 of file cxImageDataContainer.h.
vtkImageDataPtr cx::CachedImageData::getImage | ( | FileManagerServicePtr | filemanager | ) |
Definition at line 39 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 49 of file cxImageDataContainer.cpp.