VTK
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:
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
40 
44  void SetCacheSize(int size);
45  vtkGetMacro(CacheSize, int);
47 
48 protected:
51 
52  int NeedToExecuteData(int outputPort,
53  vtkInformationVector** inInfoVec,
54  vtkInformationVector* outInfoVec) override;
55  int ExecuteData(vtkInformation* request,
56  vtkInformationVector** inInfoVec,
57  vtkInformationVector* outInfoVec) override;
58 
59  int CacheSize;
60 
63 
64 private:
66  void operator=(const vtkCachedStreamingDemandDrivenPipeline&) = delete;
67 };
68 
69 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkStreamingDemandDrivenPipeline * New()
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:302
virtual int ExecuteData(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
a simple class to control print indentation
Definition: vtkIndent.h:39
Key for integer values in vtkInformation.
int NeedToExecuteData(int outputPort, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override
Store zero or more vtkInformation instances.
Executive supporting partial updates.
general representation of visualization data
Definition: vtkDataObject.h:64