VTK  9.2.6
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 =========================================================================*/
49 #ifndef vtkExtractExodusGlobalTemporalVariables_h
50 #define vtkExtractExodusGlobalTemporalVariables_h
51 
52 #include "vtkFiltersExtractionModule.h" // For export macro
53 #include "vtkTableAlgorithm.h"
54 
55 #include <memory> // for std::unique_ptr
56 
57 class VTKFILTERSEXTRACTION_EXPORT vtkExtractExodusGlobalTemporalVariables : public vtkTableAlgorithm
58 {
59 public:
62  void PrintSelf(ostream& os, vtkIndent indent) override;
63 
65 
74  vtkSetMacro(AutoDetectGlobalTemporalDataArrays, bool);
75  vtkGetMacro(AutoDetectGlobalTemporalDataArrays, bool);
76  vtkBooleanMacro(AutoDetectGlobalTemporalDataArrays, bool);
78 
79 protected:
82 
85  vtkInformationVector* outputVector) override;
87  vtkInformationVector* outputVector) override;
88  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
89  vtkInformationVector* outputVector) override;
90 
92 
96  void GetContinuationState(bool& continue_executing_flag, size_t& offset) const;
97  void SetContinuationState(bool continue_executing_flag, size_t offset);
99 
100 private:
102  void operator=(const vtkExtractExodusGlobalTemporalVariables&) = delete;
103 
104  class vtkInternals;
105  std::unique_ptr<vtkInternals> Internals;
106  bool AutoDetectGlobalTemporalDataArrays;
107 };
108 
109 #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:119
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