Imaging/vtkImageCacheFilter.h Source File

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

# 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 =========================================================================*/
    00041 #ifndef __vtkImageCacheFilter_h
    00042 #define __vtkImageCacheFilter_h
    00043
    00044 #include "vtkImageToImageFilter.h"
    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
    00061   void UpdateData(vtkDataObject *outData);
    00062
    00063 protected:
    00064   vtkImageCacheFilter();
    00065   ~vtkImageCacheFilter();
    00066
    00067   int CacheSize;
    00068
    00069   vtkImageData **Data;
    00070   // I do not have write access to UpdateTime.
    00071   unsigned long *Times;
    00072 private:
    00073   vtkImageCacheFilter(const vtkImageCacheFilter&);  // Not implemented.
    00074   void operator=(const vtkImageCacheFilter&);  // Not implemented.
    00075 };
    00076
    00077
    00078
    00079 #endif
    00080
    00081
    00082