VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
ExecutionModel
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
24
#include "
vtkStreamingDemandDrivenPipeline.h
"
25
26
class
vtkInformationIntegerKey
;
27
class
vtkInformationIntegerVectorKey
;
28
class
vtkCachedStreamingDemandDrivenPipelineInternals;
29
30
class
VTKCOMMONEXECUTIONMODEL_EXPORT
vtkCachedStreamingDemandDrivenPipeline
:
31
public
vtkStreamingDemandDrivenPipeline
32
{
33
public
:
34
static
vtkCachedStreamingDemandDrivenPipeline
*
New
();
35
vtkTypeMacro(
vtkCachedStreamingDemandDrivenPipeline
,
36
vtkStreamingDemandDrivenPipeline
);
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
:
53
vtkCachedStreamingDemandDrivenPipeline
();
54
~
vtkCachedStreamingDemandDrivenPipeline
();
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
65
vtkDataObject
**
Data
;
66
unsigned
long
*
Times
;
67
68
private
:
69
vtkCachedStreamingDemandDrivenPipelineInternals* CachedStreamingDemandDrivenInternal;
70
private
:
71
vtkCachedStreamingDemandDrivenPipeline
(
const
vtkCachedStreamingDemandDrivenPipeline
&);
// Not implemented.
72
void
operator=(
const
vtkCachedStreamingDemandDrivenPipeline
&);
// Not implemented.
73
};
74
75
#endif
Generated on Thu May 24 2012 22:22:12 for VTK by
1.8.1