11 #ifndef CXIMAGEDATACONTAINER_H 12 #define CXIMAGEDATACONTAINER_H 14 #include "cxResourceExport.h" 70 virtual unsigned size()
const = 0;
71 bool empty()
const {
return this->size()==0; }
72 virtual bool purge(
unsigned index) {
return false; }
73 virtual void purgeAll();
92 virtual QString getFilename(
unsigned index);
93 virtual unsigned size()
const;
94 virtual bool purge(
unsigned index) {
return mImages[index]->purge(); }
100 void append(QString filename);
102 std::vector<CachedImageDataPtr> mImages;
103 bool mDeleteFilesOnRelease;
118 virtual unsigned size()
const;
120 std::vector<vtkImageDataPtr> mImages;
136 virtual unsigned size()
const;
138 std::vector<vtkImageDataPtr> mImages;
150 #endif // CXIMAGEDATACONTAINER_H virtual ~SplitFramesContainer()
boost::shared_ptr< CachedImageData > CachedImageDataPtr
virtual bool purge(unsigned index)
void setDeleteFilesOnRelease(bool on)
virtual ~FramesDataContainer()
virtual bool purge(unsigned index)
boost::shared_ptr< class CachedImageDataContainer > CachedImageDataContainerPtr
boost::shared_ptr< class ImageDataContainer > ImageDataContainerPtr
virtual ~ImageDataContainer()
Namespace for all CustusX production code.