VTK  9.0.3
vtkImageCacheFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageCacheFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
26 #ifndef vtkImageCacheFilter_h
27 #define vtkImageCacheFilter_h
28 
29 #include "vtkImageAlgorithm.h"
30 #include "vtkImagingCoreModule.h" // For export macro
31 
32 class vtkExecutive;
33 
34 class VTKIMAGINGCORE_EXPORT vtkImageCacheFilter : public vtkImageAlgorithm
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
46  void SetCacheSize(int size);
47  int GetCacheSize();
49 
50 protected:
53 
54  // Create a default executive.
56  void ExecuteData(vtkDataObject*) override;
57 
58 private:
60  void operator=(const vtkImageCacheFilter&) = delete;
61 };
62 
63 #endif
general representation of visualization data
Definition: vtkDataObject.h:60
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:47
Generic algorithm superclass for image algs.
Caches multiple vtkImageData objects.
vtkExecutive * CreateDefaultExecutive() override
Create a default executive.
void SetCacheSize(int size)
This is the maximum number of images that can be retained in memory.
~vtkImageCacheFilter() override
void ExecuteData(vtkDataObject *) override
This method is the old style execute method, provided for the sake of backwards compatibility with ol...
static vtkImageCacheFilter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:34
@ size
Definition: vtkX3D.h:259