VTK  9.0.2
vtkExtractSelectedArraysOverTime.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractSelectedArraysOverTime.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 =========================================================================*/
32 #ifndef vtkExtractSelectedArraysOverTime_h
33 #define vtkExtractSelectedArraysOverTime_h
34 
35 #include "vtkFiltersExtractionModule.h" // For export macro
37 #include "vtkSmartPointer.h" // for vtkSmartPointer.
38 
39 class vtkDataSet;
43 class vtkSelection;
44 class vtkTable;
45 
46 class VTKFILTERSEXTRACTION_EXPORT vtkExtractSelectedArraysOverTime
48 {
49 public:
52  void PrintSelf(ostream& os, vtkIndent indent) override;
53 
55 
58  vtkGetMacro(NumberOfTimeSteps, int);
60 
66  {
67  this->SetInputConnection(1, algOutput);
68  }
69 
71 
78 
80 
90  vtkSetMacro(ReportStatisticsOnly, bool);
91  vtkGetMacro(ReportStatisticsOnly, bool);
92  vtkBooleanMacro(ReportStatisticsOnly, bool);
94 
95 protected:
98 
100 
102  vtkInformationVector* outputVector) override;
104  vtkInformationVector* outputVector) override;
105  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
106  vtkInformationVector* outputVector) override;
107 
108  virtual void PostExecute(vtkInformation* request, vtkInformationVector** inputVector,
109  vtkInformationVector* outputVector);
110 
118 
123  int Error;
124 
125  enum Errors
126  {
128  MoreThan1Indices
129  };
130 
133 
134 private:
136  void operator=(const vtkExtractSelectedArraysOverTime&) = delete;
137 
143 
144  bool IsExecuting;
145 };
146 
147 #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:57
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()
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:34
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:58
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:63
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453