19 #ifndef vtkCGNSReader_h
20 #define vtkCGNSReader_h
22 #include "vtkIOCGNSReaderModule.h"
30 VTK_ABI_NAMESPACE_BEGIN
31 class vtkCGNSMetaData;
35 VTK_ABI_NAMESPACE_BEGIN
65 vtkGetMacro(DataLocation,
int);
72 vtkSetStdStringFromCharMacro(FileName);
73 vtkGetCharFromStdStringMacro(FileName);
98 int GetBaseArrayStatus(
const char*
name);
99 void SetBaseArrayStatus(
const char*
name,
int status);
100 void DisableAllBases();
101 void EnableAllBases();
102 int GetNumberOfBaseArrays();
103 const char* GetBaseArrayName(
int index);
111 int GetNumberOfFamilyArrays();
112 const char* GetFamilyArrayName(
int index);
113 void SetFamilyArrayStatus(
const char*
name,
int status);
114 int GetFamilyArrayStatus(
const char*
name);
115 void EnableAllFamilies();
116 void DisableAllFamilies();
124 int GetNumberOfPointArrays();
125 const char* GetPointArrayName(
int index);
126 int GetPointArrayStatus(
const char*
name);
127 void SetPointArrayStatus(
const char*
name,
int status);
128 void DisableAllPointArrays();
129 void EnableAllPointArrays();
137 int GetNumberOfCellArrays();
138 const char* GetCellArrayName(
int index);
139 int GetCellArrayStatus(
const char*
name);
140 void SetCellArrayStatus(
const char*
name,
int status);
141 void DisableAllCellArrays();
142 void EnableAllCellArrays();
150 int GetNumberOfFaceArrays();
151 const char* GetFaceArrayName(
int index);
152 int GetFaceArrayStatus(
const char*
name);
153 void SetFaceArrayStatus(
const char*
name,
int status);
154 void DisableAllFaceArrays();
155 void EnableAllFaceArrays();
163 vtkSetMacro(DoublePrecisionMesh,
int);
164 vtkGetMacro(DoublePrecisionMesh,
int);
165 vtkBooleanMacro(DoublePrecisionMesh,
int);
173 vtkSetMacro(LoadBndPatch,
bool);
174 vtkGetMacro(LoadBndPatch,
bool);
175 vtkBooleanMacro(LoadBndPatch,
bool);
183 vtkSetMacro(LoadMesh,
bool);
184 vtkGetMacro(LoadMesh,
bool);
185 vtkBooleanMacro(LoadMesh,
bool);
193 vtkSetMacro(Use3DVector,
bool);
194 vtkGetMacro(Use3DVector,
bool);
195 vtkBooleanMacro(Use3DVector,
bool);
207 vtkSetMacro(CreateEachSolutionAsBlock,
int);
208 vtkGetMacro(CreateEachSolutionAsBlock,
int);
209 vtkBooleanMacro(CreateEachSolutionAsBlock,
int);
226 vtkSetMacro(IgnoreFlowSolutionPointers,
bool);
227 vtkGetMacro(IgnoreFlowSolutionPointers,
bool);
228 vtkBooleanMacro(IgnoreFlowSolutionPointers,
bool);
238 vtkSetMacro(UseUnsteadyPattern,
bool);
239 vtkGetMacro(UseUnsteadyPattern,
bool);
240 vtkBooleanMacro(UseUnsteadyPattern,
bool);
249 vtkSetMacro(UnsteadySolutionStartTimestep,
int);
250 vtkGetMacro(UnsteadySolutionStartTimestep,
int);
259 vtkSetMacro(DistributeBlocks,
bool);
260 vtkGetMacro(DistributeBlocks,
bool);
261 vtkBooleanMacro(DistributeBlocks,
bool);
271 void SetCacheMesh(
bool enable);
272 vtkGetMacro(CacheMesh,
bool);
273 vtkBooleanMacro(CacheMesh,
bool);
283 void SetCacheConnectivity(
bool enable);
284 vtkGetMacro(CacheConnectivity,
bool);
285 vtkBooleanMacro(CacheConnectivity,
bool);
317 int GetCurvilinearZone(
320 int GetUnstructuredZone(
346 bool LoadBndPatch =
false;
347 bool LoadMesh =
true;
348 int DoublePrecisionMesh = 1;
349 int CreateEachSolutionAsBlock = 0;
350 bool IgnoreFlowSolutionPointers =
false;
351 bool UseUnsteadyPattern =
false;
352 bool DistributeBlocks =
true;
353 bool CacheMesh =
false;
354 bool CacheConnectivity =
false;
355 bool Use3DVector =
true;
356 int UnsteadySolutionStartTimestep = 0;
361 double currentZoneId;
363 unsigned int NumberOfBases = 0;
364 int ActualTimeStep = 0;
367 vtkPrivate* Internals;
368 friend class vtkPrivate;
371 VTK_ABI_NAMESPACE_END
372 #endif // vtkCGNSReader_h
vtkNew< vtkDataArraySelection > PointDataArraySelection
vtkNew< vtkDataArraySelection > FaceDataArraySelection
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
vtkNew< vtkDataArraySelection > BaseSelection
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkNew< vtkDataArraySelection > FamilySelection
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
static vtkMultiBlockDataSetAlgorithm * New()
a simple class to control print indentation
Store on/off settings for data arrays, etc.
This file defines functions used by vtkCGNSReader and vtkCGNSReaderInternal.
vtkCGNSReader creates a multi-block dataset and reads unstructured grids and structured meshes from b...
vtkNew< vtkDataArraySelection > CellDataArraySelection
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Composite dataset that organizes datasets into blocks.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Multiprocessing communication superclass.