VTK  9.3.0
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 
30 VTK_ABI_NAMESPACE_BEGIN
31 class vtkDataSet;
35 class vtkSelection;
36 class vtkTable;
37 
38 class VTKFILTERSEXTRACTION_EXPORT vtkExtractSelectedArraysOverTime
40 {
41 public:
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 
87 protected:
90 
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 
117  enum Errors
118  {
120  MoreThan1Indices
121  };
122 
125 
126 private:
128  void operator=(const vtkExtractSelectedArraysOverTime&) = delete;
129 
135 
136  bool IsExecuting;
137 };
138 
139 VTK_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:53
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)
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.
vtkExtractSelection * GetSelectionExtractor()
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:29
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.
Definition: vtkSelection.h:50
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:59
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447