19 #ifndef vtkCGNSReader_h
20 #define vtkCGNSReader_h
22 #include "vtkIOCGNSReaderModule.h"
32 VTK_ABI_NAMESPACE_BEGIN
33 class vtkCGNSMetaData;
37 VTK_ABI_NAMESPACE_BEGIN
67 vtkGetMacro(DataLocation,
int);
74 vtkSetStdStringFromCharMacro(FileName);
75 vtkGetCharFromStdStringMacro(FileName);
115 int GetBaseArrayStatus(
const char*
name);
116 void SetBaseArrayStatus(
const char*
name,
int status);
117 void DisableAllBases();
118 void EnableAllBases();
119 int GetNumberOfBaseArrays();
120 const char* GetBaseArrayName(
int index);
128 int GetNumberOfFamilyArrays();
129 const char* GetFamilyArrayName(
int index);
130 void SetFamilyArrayStatus(
const char*
name,
int status);
131 int GetFamilyArrayStatus(
const char*
name);
132 void EnableAllFamilies();
133 void DisableAllFamilies();
141 int GetNumberOfPointArrays();
142 const char* GetPointArrayName(
int index);
143 int GetPointArrayStatus(
const char*
name);
144 void SetPointArrayStatus(
const char*
name,
int status);
145 void DisableAllPointArrays();
146 void EnableAllPointArrays();
154 int GetNumberOfCellArrays();
155 const char* GetCellArrayName(
int index);
156 int GetCellArrayStatus(
const char*
name);
157 void SetCellArrayStatus(
const char*
name,
int status);
158 void DisableAllCellArrays();
159 void EnableAllCellArrays();
167 int GetNumberOfFaceArrays();
168 const char* GetFaceArrayName(
int index);
169 int GetFaceArrayStatus(
const char*
name);
170 void SetFaceArrayStatus(
const char*
name,
int status);
171 void DisableAllFaceArrays();
172 void EnableAllFaceArrays();
180 vtkSetMacro(DoublePrecisionMesh,
int);
181 vtkGetMacro(DoublePrecisionMesh,
int);
182 vtkBooleanMacro(DoublePrecisionMesh,
int);
190 vtkSetMacro(LoadBndPatch,
bool);
191 vtkGetMacro(LoadBndPatch,
bool);
192 vtkBooleanMacro(LoadBndPatch,
bool);
200 vtkSetMacro(LoadSurfacePatch,
bool);
201 vtkGetMacro(LoadSurfacePatch,
bool);
202 vtkBooleanMacro(LoadSurfacePatch,
bool);
210 vtkSetMacro(LoadMesh,
bool);
211 vtkGetMacro(LoadMesh,
bool);
212 vtkBooleanMacro(LoadMesh,
bool);
220 vtkSetMacro(Use3DVector,
bool);
221 vtkGetMacro(Use3DVector,
bool);
222 vtkBooleanMacro(Use3DVector,
bool);
232 vtkSetMacro(FlipFaceNormals,
bool);
233 vtkGetMacro(FlipFaceNormals,
bool);
234 vtkBooleanMacro(FlipFaceNormals,
bool);
246 vtkSetMacro(CreateEachSolutionAsBlock,
int);
247 vtkGetMacro(CreateEachSolutionAsBlock,
int);
248 vtkBooleanMacro(CreateEachSolutionAsBlock,
int);
265 vtkSetMacro(IgnoreFlowSolutionPointers,
bool);
266 vtkGetMacro(IgnoreFlowSolutionPointers,
bool);
267 vtkBooleanMacro(IgnoreFlowSolutionPointers,
bool);
277 vtkSetMacro(UseUnsteadyPattern,
bool);
278 vtkGetMacro(UseUnsteadyPattern,
bool);
279 vtkBooleanMacro(UseUnsteadyPattern,
bool);
288 vtkSetMacro(UnsteadySolutionStartTimestep,
int);
289 vtkGetMacro(UnsteadySolutionStartTimestep,
int);
298 vtkSetMacro(DistributeBlocks,
bool);
299 vtkGetMacro(DistributeBlocks,
bool);
300 vtkBooleanMacro(DistributeBlocks,
bool);
310 void SetCacheMesh(
bool enable);
311 vtkGetMacro(CacheMesh,
bool);
312 vtkBooleanMacro(CacheMesh,
bool);
322 void SetCacheConnectivity(
bool enable);
323 vtkGetMacro(CacheConnectivity,
bool);
324 vtkBooleanMacro(CacheConnectivity,
bool);
356 int GetCurvilinearZone(
359 int GetUnstructuredZone(
385 bool LoadBndPatch =
false;
386 bool LoadSurfacePatch =
false;
387 bool LoadMesh =
true;
388 int DoublePrecisionMesh = 1;
389 int CreateEachSolutionAsBlock = 0;
390 bool IgnoreFlowSolutionPointers =
false;
391 bool UseUnsteadyPattern =
false;
392 bool DistributeBlocks =
true;
393 bool CacheMesh =
false;
394 bool CacheConnectivity =
false;
395 bool Use3DVector =
true;
396 bool FlipFaceNormals =
false;
397 int UnsteadySolutionStartTimestep = 0;
402 double currentZoneId;
404 unsigned int NumberOfBases = 0;
405 int ActualTimeStep = 0;
408 vtkPrivate* Internals;
409 friend class vtkPrivate;
412 VTK_ABI_NAMESPACE_END
413 #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.