VTK  9.4.20241016
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
27VTK_ABI_NAMESPACE_BEGIN
29class vtkIdTypeArray;
32class vtkStringArray;
33
34class VTKIOENSIGHT_EXPORT vtkEnSightGoldCombinedReader
36{
37public:
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
43
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
102
108
114
120
125
131
150
151protected:
154
157
159
161 char* FilePath;
162
164 double TimeValue;
165
167
168private:
170 void operator=(const vtkEnSightGoldCombinedReader&) = delete;
171
172 struct ReaderImpl;
173 ReaderImpl* Impl;
174};
175
176VTK_ABI_NAMESPACE_END
177#endif // vtkEnSightGoldCombinedReader_h
Store on/off settings for data arrays, etc.
dynamic, self-adjusting array of double
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Methods for subclasses to override to handle different pipeline requests.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Methods for subclasses to override to handle different pipeline requests.
int CanReadFile(VTK_FILEPATH const char *casefilename)
Checks version information in the case file to determine if the file can be read by this reader.
vtkDataArraySelection * GetPointArraySelection()
Point array selection, to determine which point arrays are loaded.
void SetPDCInfoForLoadedParts(vtkSmartPointer< vtkIdTypeArray > indices, vtkSmartPointer< vtkStringArray > names)
Sets information about parts to be loaded.
vtkDataArraySelection * GetFieldArraySelection()
Field data array selection, to determine which arrays are loaded.
vtkSmartPointer< vtkMultiProcessController > Controller
vtkMTimeType GetMTime() override
Overridden to take into account mtimes for vtkDataArraySelection instances.
vtkSmartPointer< vtkDoubleArray > AllTimeSteps
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkEnSightGoldCombinedReader() override
void SetController(vtkMultiProcessController *controller)
Get/Set the controller.
vtkSmartPointer< vtkStringArray > GetPartNames()
Get the names of all parts that are found in this casefile during EnSightDataSet::GetPartInfo().
vtkDataArraySelection * GetCellArraySelection()
Cell array selection, to determine which cell arrays are loaded.
vtkDataArraySelection * GetPartSelection()
Part selection, to determine which blocks/parts are loaded.
vtkMultiProcessController * GetController()
Get/Set the controller.
static vtkEnSightGoldCombinedReader * New()
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
Superclass for algorithms that produce vtkPartitionedDataSetCollectionAlgorithm.
Composite dataset that groups datasets as a collection.
Hold a reference to a vtkObjectBase instance.
a vtkAbstractArray subclass for strings
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:270
#define VTK_FILEPATH