VTK  9.3.20240422
vtkExtractSelectedArraysOverTime.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
23#ifndef vtkExtractSelectedArraysOverTime_h
24#define vtkExtractSelectedArraysOverTime_h
25
26#include "vtkFiltersExtractionModule.h" // For export macro
28#include "vtkSmartPointer.h" // for vtkSmartPointer.
29
30VTK_ABI_NAMESPACE_BEGIN
31class vtkDataSet;
35class vtkSelection;
36class vtkTable;
37
38class VTKFILTERSEXTRACTION_EXPORT vtkExtractSelectedArraysOverTime
40{
41public:
44 void PrintSelf(ostream& os, vtkIndent indent) override;
45
47
50 vtkGetMacro(NumberOfTimeSteps, int);
52
58 {
59 this->SetInputConnection(1, algOutput);
60 }
61
63
70
72
82 vtkSetMacro(ReportStatisticsOnly, bool);
83 vtkGetMacro(ReportStatisticsOnly, bool);
84 vtkBooleanMacro(ReportStatisticsOnly, bool);
86
87protected:
90
91 int FillInputPortInformation(int port, vtkInformation* info) override;
92
94 vtkInformationVector* outputVector) override;
96 vtkInformationVector* outputVector) override;
97 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
98 vtkInformationVector* outputVector) override;
99
100 virtual void PostExecute(vtkInformation* request, vtkInformationVector** inputVector,
101 vtkInformationVector* outputVector);
102
110
115 int Error;
116
118 {
120 MoreThan1Indices
121 };
122
125
126private:
128 void operator=(const vtkExtractSelectedArraysOverTime&) = delete;
129
135
136 bool IsExecuting;
137};
138
139VTK_ABI_NAMESPACE_END
140#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:166
extracts array from input dataset over time.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkSmartPointer< vtkExtractSelection > SelectionExtractor
int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
virtual void PostExecute(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkExtractSelection * GetSelectionExtractor()
Set/get the vtkExtractSelection instance used to obtain array values at each time step.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
static vtkExtractSelectedArraysOverTime * New()
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkSmartPointer< vtkExtractDataArraysOverTime > ArraysExtractor
virtual void SetSelectionExtractor(vtkExtractSelection *)
Set/get the vtkExtractSelection instance used to obtain array values at each time step.
int DetermineSelectionType(vtkSelection *)
Determines the FieldType and ContentType for the selection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetSelectionConnection(vtkAlgorithmOutput *algOutput)
Convenience method to specify the selection connection (2nd input port)
extract a subset from a vtkDataSet.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
data object that represents a "selection" in VTK.
Hold a reference to a vtkObjectBase instance.
A table, which contains similar-typed columns of data.
Definition vtkTable.h:168