VTK  9.1.0
vtkExtractTemporalFieldData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractTemporalFieldData.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 =========================================================================*/
26 #ifndef vtkExtractTemporalFieldData_h
27 #define vtkExtractTemporalFieldData_h
28 
29 #include "vtkDataObjectAlgorithm.h"
30 #include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_0_0
31 #include "vtkFiltersExtractionModule.h" // For export macro
32 
33 class vtkDataSet;
34 class vtkTable;
36 
37 VTK_DEPRECATED_IN_9_0_0("Use vtkExtractExodusGlobalTemporalVariables instead")
38 class VTKFILTERSEXTRACTION_EXPORT vtkExtractTemporalFieldData : public vtkDataObjectAlgorithm
39 {
40 public:
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
49 
51 
56  vtkSetMacro(HandleCompositeDataBlocksIndividually, bool);
57  vtkGetMacro(HandleCompositeDataBlocksIndividually, bool);
58  vtkBooleanMacro(HandleCompositeDataBlocksIndividually, bool);
60 
61 protected:
64 
67  vtkInformationVector* outputVector) override;
68  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
69  vtkInformationVector* outputVector) override;
71 
77  bool CopyDataToOutput(vtkDataSet* input, vtkTable* output);
78 
80 
81 private:
83  void operator=(const vtkExtractTemporalFieldData&) = delete;
84 
85  class vtkInternals;
86  vtkInternals* Internals;
87 };
88 
89 #endif
Superclass for algorithms that produce only data object as output.
represent and manipulate attribute data in a dataset
abstract class to specify dataset behavior
Definition: vtkDataSet.h:57
Extract temporal arrays from input field data.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkExtractTemporalFieldData * New()
~vtkExtractTemporalFieldData() override
bool CopyDataToOutput(vtkDataSet *input, vtkTable *output)
This looks at the arrays in the vtkFieldData of input and copies them to the output point data.
int GetNumberOfTimeSteps()
Get the number of time steps.
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:63
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
#define VTK_DEPRECATED_IN_9_0_0(reason)