VTK  9.4.20250506
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
23VTK_ABI_NAMESPACE_BEGIN
24class vtkExecutive;
25
26class VTKIMAGINGCORE_EXPORT vtkImageCacheFilter : public vtkImageAlgorithm
27{
28public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
34
38 void SetCacheSize(int size);
41
42protected:
45
46 // Create a default executive.
48 void ExecuteData(vtkDataObject*) override;
49
50private:
52 void operator=(const vtkImageCacheFilter&) = delete;
53};
54
55VTK_ABI_NAMESPACE_END
56#endif
general representation of visualization data
Superclass for all pipeline executives in VTK.
Generic algorithm superclass for image algs.
Caches multiple vtkImageData objects.
static vtkImageCacheFilter * New()
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...
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