VTK  9.3.20240415
vtkImageCacheFilter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkImageCacheFilter_h
18 #define vtkImageCacheFilter_h
19 
20 #include "vtkImageAlgorithm.h"
21 #include "vtkImagingCoreModule.h" // For export macro
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class vtkExecutive;
25 
26 class VTKIMAGINGCORE_EXPORT vtkImageCacheFilter : public vtkImageAlgorithm
27 {
28 public:
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
34 
38  void SetCacheSize(int size);
39  int GetCacheSize();
41 
42 protected:
45 
46  // Create a default executive.
48  void ExecuteData(vtkDataObject*) override;
49 
50 private:
52  void operator=(const vtkImageCacheFilter&) = delete;
53 };
54 
55 VTK_ABI_NAMESPACE_END
56 #endif
general representation of visualization data
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:69
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.
int GetCacheSize()
This is the maximum number of images that can be retained in memory.
a simple class to control print indentation
Definition: vtkIndent.h:108
@ size
Definition: vtkX3D.h:253