VTK  9.3.0
vtkExtractExodusGlobalTemporalVariables.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
37 #ifndef vtkExtractExodusGlobalTemporalVariables_h
38 #define vtkExtractExodusGlobalTemporalVariables_h
39 
40 #include "vtkFiltersExtractionModule.h" // For export macro
41 #include "vtkTableAlgorithm.h"
42 
43 #include <memory> // for std::unique_ptr
44 
45 VTK_ABI_NAMESPACE_BEGIN
46 class VTKFILTERSEXTRACTION_EXPORT vtkExtractExodusGlobalTemporalVariables : public vtkTableAlgorithm
47 {
48 public:
51  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
54 
63  vtkSetMacro(AutoDetectGlobalTemporalDataArrays, bool);
64  vtkGetMacro(AutoDetectGlobalTemporalDataArrays, bool);
65  vtkBooleanMacro(AutoDetectGlobalTemporalDataArrays, bool);
67 
68 protected:
71 
74  vtkInformationVector* outputVector) override;
76  vtkInformationVector* outputVector) override;
77  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
78  vtkInformationVector* outputVector) override;
79 
81 
85  void GetContinuationState(bool& continue_executing_flag, size_t& offset) const;
86  void SetContinuationState(bool continue_executing_flag, size_t offset);
88 
89 private:
91  void operator=(const vtkExtractExodusGlobalTemporalVariables&) = delete;
92 
93  class vtkInternals;
94  std::unique_ptr<vtkInternals> Internals;
95  bool AutoDetectGlobalTemporalDataArrays;
96 };
97 
98 VTK_ABI_NAMESPACE_END
99 #endif
extract global temporal arrays or suitable field data arrays
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
void GetContinuationState(bool &continue_executing_flag, size_t &offset) const
These methods are used by vtkPExtractExodusGlobalTemporalVariables to synchronize internal state betw...
static vtkExtractExodusGlobalTemporalVariables * New()
void SetContinuationState(bool continue_executing_flag, size_t offset)
These methods are used by vtkPExtractExodusGlobalTemporalVariables to synchronize internal state betw...
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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 vtkTables as output.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
@ offset
Definition: vtkX3D.h:438