Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Imaging/vtkImageCacheFilter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageCacheFilter.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00031 #ifndef __vtkImageCacheFilter_h 00032 #define __vtkImageCacheFilter_h 00033 00034 #include "vtkImageToImageFilter.h" 00035 00036 class VTK_IMAGING_EXPORT vtkImageCacheFilter : public vtkImageToImageFilter 00037 { 00038 public: 00039 static vtkImageCacheFilter *New(); 00040 vtkTypeRevisionMacro(vtkImageCacheFilter,vtkImageToImageFilter); 00041 void PrintSelf(ostream& os, vtkIndent indent); 00042 00044 00046 void SetCacheSize(int size); 00047 vtkGetMacro(CacheSize, int); 00049 00051 void UpdateData(vtkDataObject *outData); 00052 00053 protected: 00054 vtkImageCacheFilter(); 00055 ~vtkImageCacheFilter(); 00056 00057 int CacheSize; 00058 00059 vtkImageData **Data; 00060 // I do not have write access to UpdateTime. 00061 unsigned long *Times; 00062 private: 00063 vtkImageCacheFilter(const vtkImageCacheFilter&); // Not implemented. 00064 void operator=(const vtkImageCacheFilter&); // Not implemented. 00065 }; 00066 00067 00068 00069 #endif 00070 00071 00072