VTK  9.2.20220807
vtkCachedStreamingDemandDrivenPipeline.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCachedStreamingDemandDrivenPipeline.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 =========================================================================*/
21 #ifndef vtkCachedStreamingDemandDrivenPipeline_h
22 #define vtkCachedStreamingDemandDrivenPipeline_h
23 
24 #include "vtkCommonExecutionModelModule.h" // For export macro
26 
29 
30 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkCachedStreamingDemandDrivenPipeline
32 {
33 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
39 
43  void SetCacheSize(int size);
44  vtkGetMacro(CacheSize, int);
46 
47 protected:
50 
52  int outputPort, vtkInformationVector** inInfoVec, vtkInformationVector* outInfoVec) override;
53  int ExecuteData(vtkInformation* request, vtkInformationVector** inInfoVec,
54  vtkInformationVector* outInfoVec) override;
55 
56  int CacheSize;
57 
60 
61 private:
63  void operator=(const vtkCachedStreamingDemandDrivenPipeline&) = delete;
64 };
65 
66 #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
a simple class to control print indentation
Definition: vtkIndent.h:119
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:259
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:280