VTK  9.1.0
vtkExtractExodusGlobalTemporalVariables.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractExodusGlobalTemporalVariables.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 =========================================================================*/
46 #ifndef vtkExtractExodusGlobalTemporalVariables_h
47 #define vtkExtractExodusGlobalTemporalVariables_h
48 
49 #include "vtkFiltersExtractionModule.h" // For export macro
50 #include "vtkTableAlgorithm.h"
51 
52 #include <memory> // for std::unique_ptr
53 
54 class VTKFILTERSEXTRACTION_EXPORT vtkExtractExodusGlobalTemporalVariables : public vtkTableAlgorithm
55 {
56 public:
59  void PrintSelf(ostream& os, vtkIndent indent) override;
60 
62 
71  vtkSetMacro(AutoDetectGlobalTemporalDataArrays, bool);
72  vtkGetMacro(AutoDetectGlobalTemporalDataArrays, bool);
73  vtkBooleanMacro(AutoDetectGlobalTemporalDataArrays, bool);
75 
76 protected:
79 
82  vtkInformationVector* outputVector) override;
84  vtkInformationVector* outputVector) override;
85  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
86  vtkInformationVector* outputVector) override;
87 
89 
93  void GetContinuationState(bool& continue_executing_flag, size_t& offset) const;
94  void SetContinuationState(bool continue_executing_flag, size_t offset);
96 
97 private:
99  void operator=(const vtkExtractExodusGlobalTemporalVariables&) = delete;
100 
101  class vtkInternals;
102  std::unique_ptr<vtkInternals> Internals;
103  bool AutoDetectGlobalTemporalDataArrays;
104 };
105 
106 #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:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkTables as output.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
@ offset
Definition: vtkX3D.h:444