VTK  9.3.0
vtkCachedStreamingDemandDrivenPipeline.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
9 #ifndef vtkCachedStreamingDemandDrivenPipeline_h
10 #define vtkCachedStreamingDemandDrivenPipeline_h
11 
12 #include "vtkCommonExecutionModelModule.h" // For export macro
14 
15 VTK_ABI_NAMESPACE_BEGIN
18 
19 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkCachedStreamingDemandDrivenPipeline
21 {
22 public:
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
28 
32  void SetCacheSize(int size);
33  vtkGetMacro(CacheSize, int);
35 
36 protected:
39 
41  int outputPort, vtkInformationVector** inInfoVec, vtkInformationVector* outInfoVec) override;
42  int ExecuteData(vtkInformation* request, vtkInformationVector** inInfoVec,
43  vtkInformationVector* outInfoVec) override;
44 
45  int CacheSize;
46 
49 
50 private:
52  void operator=(const vtkCachedStreamingDemandDrivenPipeline&) = delete;
53 };
54 
55 VTK_ABI_NAMESPACE_END
56 #endif
int NeedToExecuteData(int outputPort, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override
void SetCacheSize(int size)
This is the maximum number of images that can be retained in memory.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkCachedStreamingDemandDrivenPipeline * New()
int ExecuteData(vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override
general representation of visualization data
Definition: vtkDataObject.h:64
a simple class to control print indentation
Definition: vtkIndent.h:38
Key for integer values in vtkInformation.
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Executive supporting partial updates.
@ size
Definition: vtkX3D.h:253
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270