VTK  9.7.1
vtkEnSightGoldCombinedReader.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
3 
19 #ifndef vtkEnSightGoldCombinedReader_h
20 #define vtkEnSightGoldCombinedReader_h
21 
22 #include "vtkDoubleArray.h"
23 #include "vtkIOEnSightModule.h" // For export macro
25 #include "vtkSmartPointer.h" // for vtkSmartPointer
26 
27 VTK_ABI_NAMESPACE_BEGIN
29 class vtkIdTypeArray;
32 class vtkStringArray;
33 
34 class VTKIOENSIGHT_EXPORT vtkEnSightGoldCombinedReader
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
43 
46  vtkMultiProcessController* GetController();
47  void SetController(vtkMultiProcessController* controller);
49 
51 
54  vtkSetStringMacro(CaseFileName);
55  vtkGetStringMacro(CaseFileName);
57 
59 
62  vtkSetStringMacro(FilePath);
63  vtkGetStringMacro(FilePath);
65 
67 
70  vtkGetObjectMacro(AllTimeSteps, vtkDoubleArray);
72 
74 
77  vtkSetMacro(TimeValue, double);
78  vtkGetMacro(TimeValue, double);
80 
82 
87  vtkSetMacro(PartOfSOSFile, bool);
88  vtkGetMacro(PartOfSOSFile, bool);
90 
95  int CanReadFile(VTK_FILEPATH const char* casefilename);
96 
101  vtkDataArraySelection* GetPartSelection();
102 
107  vtkDataArraySelection* GetPointArraySelection();
108 
113  vtkDataArraySelection* GetCellArraySelection();
114 
119  vtkDataArraySelection* GetFieldArraySelection();
120 
124  vtkMTimeType GetMTime() override;
125 
130  vtkSmartPointer<vtkStringArray> GetPartNames();
131 
148  void SetPDCInfoForLoadedParts(
150 
151 protected:
153  ~vtkEnSightGoldCombinedReader() override;
154 
157 
159 
161  char* FilePath;
162 
164  double TimeValue;
165 
167 
168 private:
170  void operator=(const vtkEnSightGoldCombinedReader&) = delete;
171 
172  struct ReaderImpl;
173  ReaderImpl* Impl;
174 };
175 
176 VTK_ABI_NAMESPACE_END
177 #endif // vtkEnSightGoldCombinedReader_h
vtkSmartPointer< vtkMultiProcessController > Controller
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:318
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Methods for subclasses to override to handle different pipeline requests.
vtkSmartPointer< vtkDoubleArray > AllTimeSteps
a vtkAbstractArray subclass for strings
dynamic, self-adjusting array of vtkIdType
dynamic, self-adjusting array of double
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Methods for subclasses to override to handle different pipeline requests.
a simple class to control print indentation
Definition: vtkIndent.h:28
Store on/off settings for data arrays, etc.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
Superclass for algorithms that produce vtkPartitionedDataSetCollectionAlgorithm.
#define VTK_FILEPATH
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
Composite dataset that groups datasets as a collection.
Multiprocessing communication superclass.