vtkImageCacheFilter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00039 #ifndef __vtkImageCacheFilter_h
00040 #define __vtkImageCacheFilter_h
00041
00042 #include "vtkImageToImageFilter.h"
00043
00044 class vtkExecutive;
00045
00046 class VTK_IMAGING_EXPORT vtkImageCacheFilter : public vtkImageToImageFilter
00047 {
00048 public:
00049 static vtkImageCacheFilter *New();
00050 vtkTypeRevisionMacro(vtkImageCacheFilter,vtkImageToImageFilter);
00051 void PrintSelf(ostream& os, vtkIndent indent);
00052
00054
00056 void SetCacheSize(int size);
00057 vtkGetMacro(CacheSize, int);
00059
00060 #ifndef VTK_USE_EXECUTIVES
00061
00062 void UpdateData(vtkDataObject *outData);
00063 #endif
00064
00065 protected:
00066 vtkImageCacheFilter();
00067 ~vtkImageCacheFilter();
00068
00069 int CacheSize;
00070
00071
00072 virtual vtkExecutive* CreateDefaultExecutive();
00073
00074 #ifdef VTK_USE_EXECUTIVES
00075 virtual void ExecuteData(vtkDataObject *);
00076 #endif
00077
00078 vtkImageData **Data;
00079
00080 unsigned long *Times;
00081 private:
00082 vtkImageCacheFilter(const vtkImageCacheFilter&);
00083 void operator=(const vtkImageCacheFilter&);
00084 };
00085
00086
00087
00088 #endif
00089
00090
00091