VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
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 "
vtkStreamingDemandDrivenPipeline.h
"
24
25
class
vtkInformationIntegerKey
;
26
class
vtkInformationIntegerVectorKey
;
27
class
vtkCachedStreamingDemandDrivenPipelineInternals;
28
29
class
VTK_FILTERING_EXPORT
vtkCachedStreamingDemandDrivenPipeline
:
30
public
vtkStreamingDemandDrivenPipeline
31
{
32
public
:
33
static
vtkCachedStreamingDemandDrivenPipeline
*
New
();
34
vtkTypeMacro(
vtkCachedStreamingDemandDrivenPipeline
,
35
vtkStreamingDemandDrivenPipeline
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent);
37
39
40
virtual
int
Update
();
41
virtual
int
Update
(
int
port
);
43
45
47
void
SetCacheSize(
int
size
);
48
vtkGetMacro(CacheSize,
int
);
50
51
protected
:
52
vtkCachedStreamingDemandDrivenPipeline
();
53
~
vtkCachedStreamingDemandDrivenPipeline
();
54
55
virtual
int
NeedToExecuteData
(
int
outputPort,
56
vtkInformationVector
** inInfoVec,
57
vtkInformationVector
* outInfoVec);
58
virtual
int
ExecuteData
(
vtkInformation
* request,
59
vtkInformationVector
** inInfoVec,
60
vtkInformationVector
* outInfoVec);
61
62
int
CacheSize
;
63
64
vtkDataObject
**
Data
;
65
unsigned
long
*
Times
;
66
67
private
:
68
vtkCachedStreamingDemandDrivenPipelineInternals* CachedStreamingDemandDrivenInternal;
69
private
:
70
vtkCachedStreamingDemandDrivenPipeline
(
const
vtkCachedStreamingDemandDrivenPipeline
&);
// Not implemented.
71
void
operator=(
const
vtkCachedStreamingDemandDrivenPipeline
&);
// Not implemented.
72
};
73
74
#endif
Generated on Fri Aug 2 2013 12:19:47 for VTK by
1.8.4