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 =========================================================================*/
20 #ifndef vtkCachedStreamingDemandDrivenPipeline_h
21 #define vtkCachedStreamingDemandDrivenPipeline_h
22 
23 #include "vtkCommonExecutionModelModule.h" // For export macro
25 
28 class vtkCachedStreamingDemandDrivenPipelineInternals;
29 
32 {
33 public:
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40 
41  virtual int Update();
42  virtual int Update(int port);
44 
46 
48  void SetCacheSize(int size);
49  vtkGetMacro(CacheSize, int);
51 
52 protected:
55 
56  virtual int NeedToExecuteData(int outputPort,
57  vtkInformationVector** inInfoVec,
58  vtkInformationVector* outInfoVec);
59  virtual int ExecuteData(vtkInformation* request,
60  vtkInformationVector** inInfoVec,
61  vtkInformationVector* outInfoVec);
62 
63  int CacheSize;
64 
66  unsigned long *Times;
67 
68 private:
69  vtkCachedStreamingDemandDrivenPipelineInternals* CachedStreamingDemandDrivenInternal;
70 private:
72  void operator=(const vtkCachedStreamingDemandDrivenPipeline&); // Not implemented.
73 };
74 
75 #endif
vtkCachedStreamingDemandDrivenPipeline::ExecuteData
virtual int ExecuteData(vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec)
vtkCachedStreamingDemandDrivenPipeline::CacheSize
int CacheSize
Definition: vtkCachedStreamingDemandDrivenPipeline.h:63
VTKCOMMONEXECUTIONMODEL_EXPORT
#define VTKCOMMONEXECUTIONMODEL_EXPORT
Definition: vtkCommonExecutionModelModule.h:15
vtkCachedStreamingDemandDrivenPipeline::Data
vtkDataObject ** Data
Definition: vtkCachedStreamingDemandDrivenPipeline.h:65
vtkCachedStreamingDemandDrivenPipeline::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkCachedStreamingDemandDrivenPipeline::Update
virtual int Update()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkStreamingDemandDrivenPipeline.h
vtkCachedStreamingDemandDrivenPipeline::SetCacheSize
void SetCacheSize(int size)
vtkCommonExecutionModelModule.h
vtkCachedStreamingDemandDrivenPipeline::NeedToExecuteData
virtual int NeedToExecuteData(int outputPort, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec)
vtkCachedStreamingDemandDrivenPipeline::~vtkCachedStreamingDemandDrivenPipeline
~vtkCachedStreamingDemandDrivenPipeline()
vtkCachedStreamingDemandDrivenPipeline
Definition: vtkCachedStreamingDemandDrivenPipeline.h:32
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkInformationIntegerKey
Key for integer values in vtkInformation.
Definition: vtkInformationIntegerKey.h:34
vtkCachedStreamingDemandDrivenPipeline::Update
virtual int Update(int port)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkCachedStreamingDemandDrivenPipeline::vtkCachedStreamingDemandDrivenPipeline
vtkCachedStreamingDemandDrivenPipeline()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkCachedStreamingDemandDrivenPipeline::New
static vtkCachedStreamingDemandDrivenPipeline * New()
vtkCachedStreamingDemandDrivenPipeline::Times
unsigned long * Times
Definition: vtkCachedStreamingDemandDrivenPipeline.h:66
vtkInformationIntegerVectorKey
Key for integer vector values.
Definition: vtkInformationIntegerVectorKey.h:31
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkStreamingDemandDrivenPipeline
Executive supporting partial updates.
Definition: vtkStreamingDemandDrivenPipeline.h:51
vtkgl::size
GLsizeiptr size
Definition: vtkgl.h:11843