VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
vtkExtractArraysOverTime.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractArraysOverTime.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
=========================================================================*/
35
#ifndef __vtkExtractArraysOverTime_h
36
#define __vtkExtractArraysOverTime_h
37
38
#include "
vtkMultiBlockDataSetAlgorithm.h
"
39
40
class
vtkSelection
;
41
class
vtkDataSet
;
42
class
vtkTable
;
43
class
vtkExtractArraysOverTimeInternal;
44
class
vtkDataSetAttributes
;
45
46
class
VTK_GRAPHICS_EXPORT
vtkExtractArraysOverTime
:
public
vtkMultiBlockDataSetAlgorithm
47
{
48
public
:
49
static
vtkExtractArraysOverTime
*
New
();
50
vtkTypeMacro(
vtkExtractArraysOverTime
,
vtkMultiBlockDataSetAlgorithm
);
51
void
PrintSelf
(ostream& os,
vtkIndent
indent);
52
54
55
vtkGetMacro(NumberOfTimeSteps,
int
);
57
59
61
void
SetSelectionConnection(
vtkAlgorithmOutput
* algOutput)
62
{
63
this->
SetInputConnection
(1, algOutput);
64
}
66
67
//BTX
68
protected
:
69
vtkExtractArraysOverTime
();
70
~
vtkExtractArraysOverTime
();
71
72
virtual
int
RequestInformation
(
vtkInformation
* request,
73
vtkInformationVector
** inputVector,
74
vtkInformationVector
* outputVector);
75
virtual
int
RequestUpdateExtent
(
vtkInformation
* request,
76
vtkInformationVector
** inputVector,
77
vtkInformationVector
* outputVector);
78
virtual
int
RequestData
(
vtkInformation
* request,
79
vtkInformationVector
** inputVector,
80
vtkInformationVector
* outputVector);
81
82
virtual
void
PostExecute(
vtkInformation
* request,
83
vtkInformationVector
** inputVector,
84
vtkInformationVector
* outputVector);
85
90
int
DetermineSelectionType(
vtkSelection
*);
91
92
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
93
95
97
bool
UpdateFastPathIDs(
98
vtkInformationVector
** inputV,
vtkInformation
* outInfo);
100
104
void
CopyFastPathDataToOutput(
vtkDataSet
*input,
vtkTable
*output);
105
106
107
void
ExecuteAtTimeStep(
vtkInformationVector
** inputV,
108
vtkInformation
* outInfo);
109
110
int
CurrentTimeIndex
;
111
int
NumberOfTimeSteps
;
112
113
int
FieldType
;
114
int
ContentType
;
115
116
bool
WaitingForFastPathData
;
117
bool
IsExecuting
;
118
bool
UseFastPath
;
119
120
int
Error
;
121
122
enum
Errors
123
{
124
NoError
,
125
MoreThan1Indices
126
};
127
128
private
:
129
vtkExtractArraysOverTime
(
const
vtkExtractArraysOverTime
&);
// Not implemented.
130
void
operator=(
const
vtkExtractArraysOverTime
&);
// Not implemented.
131
132
class
vtkInternal;
133
vtkInternal *Internal;
134
135
//ETX
136
};
137
138
#endif
139
140
141
Generated on Sun Sep 9 2012 13:03:30 for VTK by
1.8.1.2