00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageCacheFilter.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00028 #ifndef __vtkImageCacheFilter_h 00029 #define __vtkImageCacheFilter_h 00030 00031 #include "vtkImageAlgorithm.h" 00032 00033 class vtkExecutive; 00034 00035 class VTK_IMAGING_EXPORT vtkImageCacheFilter : public vtkImageAlgorithm 00036 { 00037 public: 00038 static vtkImageCacheFilter *New(); 00039 vtkTypeRevisionMacro(vtkImageCacheFilter,vtkImageAlgorithm); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 00045 void SetCacheSize(int size); 00046 int GetCacheSize(); 00048 00049 protected: 00050 vtkImageCacheFilter(); 00051 ~vtkImageCacheFilter(); 00052 00053 // Create a default executive. 00054 virtual vtkExecutive* CreateDefaultExecutive(); 00055 virtual void ExecuteData(vtkDataObject *); 00056 00057 private: 00058 vtkImageCacheFilter(const vtkImageCacheFilter&); // Not implemented. 00059 void operator=(const vtkImageCacheFilter&); // Not implemented. 00060 }; 00061 00062 00063 00064 #endif 00065 00066 00067