VTK
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=========================================================================*/
36#ifndef vtkExtractArraysOverTime_h
37#define vtkExtractArraysOverTime_h
38
39#include "vtkFiltersExtractionModule.h" // For export macro
41
42class vtkSelection;
43class vtkDataSet;
44class vtkTable;
47
48class VTKFILTERSEXTRACTION_EXPORT vtkExtractArraysOverTime : public vtkMultiBlockDataSetAlgorithm
49{
50public:
53 void PrintSelf(ostream& os, vtkIndent indent);
54
56
59 vtkGetMacro(NumberOfTimeSteps,int);
61
67 {
68 this->SetInputConnection(1, algOutput);
69 }
70
72
83 vtkGetObjectMacro(SelectionExtractor,vtkExtractSelection);
85
87
97 vtkSetMacro(ReportStatisticsOnly,int);
98 vtkGetMacro(ReportStatisticsOnly,int);
99 vtkBooleanMacro(ReportStatisticsOnly,int);
101
102protected:
105
106 virtual int RequestInformation(vtkInformation* request,
107 vtkInformationVector** inputVector,
108 vtkInformationVector* outputVector);
110 vtkInformationVector** inputVector,
111 vtkInformationVector* outputVector);
112 virtual int RequestData(vtkInformation* request,
113 vtkInformationVector** inputVector,
114 vtkInformationVector* outputVector);
115
116 virtual void PostExecute(vtkInformation* request,
117 vtkInformationVector** inputVector,
118 vtkInformationVector* outputVector);
119
120 // Add virtual method to be overwritten in the subclass. takes the
122
130
132
134 vtkInformation* outInfo);
135
138
141
143
145
146 int Error;
147
149 {
151 MoreThan1Indices
152 };
153
155
156private:
157 vtkExtractArraysOverTime(const vtkExtractArraysOverTime&) VTK_DELETE_FUNCTION;
158 void operator=(const vtkExtractArraysOverTime&) VTK_DELETE_FUNCTION;
159
160 class vtkInternal;
161 vtkInternal *Internal;
162
163};
164
165#endif
Proxy object to connect input/output ports.
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
represent and manipulate attribute data in a dataset
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
extracts a selection over time.
virtual void PostExecute(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void ExecuteAtTimeStep(vtkInformationVector **inputV, vtkInformation *outInfo)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkExtractSelection * SelectionExtractor
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
virtual void SetSelectionExtractor(vtkExtractSelection *)
Set/get the vtkExtractSelection instance used to obtain array values at each time step.
virtual vtkSelection * GetSelection(vtkInformation *info)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
virtual int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkExtractArraysOverTime * New()
void SetSelectionConnection(vtkAlgorithmOutput *algOutput)
Convenience method to specify the selection connection (2nd input port)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
int DetermineSelectionType(vtkSelection *)
Determines the FieldType and ContentType for the selection.
extract a subset from a vtkDataSet.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
A node in a selection tree.
Definition: vtkSelection.h:44
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:69
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.