32 #ifndef vtkCGNSReader_h
33 #define vtkCGNSReader_h
35 #include "vtkIOCGNSReaderModule.h"
46 class vtkCGNSMetaData;
75 vtkGetMacro(DataLocation,
int);
82 vtkSetStdStringFromCharMacro(FileName);
83 vtkGetCharFromStdStringMacro(FileName);
108 int GetBaseArrayStatus(
const char*
name);
109 void SetBaseArrayStatus(
const char*
name,
int status);
110 void DisableAllBases();
111 void EnableAllBases();
112 int GetNumberOfBaseArrays();
113 const char* GetBaseArrayName(
int index);
121 int GetNumberOfFamilyArrays();
122 const char* GetFamilyArrayName(
int index);
123 void SetFamilyArrayStatus(
const char*
name,
int status);
124 int GetFamilyArrayStatus(
const char*
name);
125 void EnableAllFamilies();
126 void DisableAllFamilies();
134 int GetNumberOfPointArrays();
135 const char* GetPointArrayName(
int index);
136 int GetPointArrayStatus(
const char*
name);
137 void SetPointArrayStatus(
const char*
name,
int status);
138 void DisableAllPointArrays();
139 void EnableAllPointArrays();
147 int GetNumberOfCellArrays();
148 const char* GetCellArrayName(
int index);
149 int GetCellArrayStatus(
const char*
name);
150 void SetCellArrayStatus(
const char*
name,
int status);
151 void DisableAllCellArrays();
152 void EnableAllCellArrays();
160 int GetNumberOfFaceArrays();
161 const char* GetFaceArrayName(
int index);
162 int GetFaceArrayStatus(
const char*
name);
163 void SetFaceArrayStatus(
const char*
name,
int status);
164 void DisableAllFaceArrays();
165 void EnableAllFaceArrays();
168 vtkSetMacro(DoublePrecisionMesh,
int);
169 vtkGetMacro(DoublePrecisionMesh,
int);
170 vtkBooleanMacro(DoublePrecisionMesh,
int);
177 vtkSetMacro(LoadBndPatch,
bool);
178 vtkGetMacro(LoadBndPatch,
bool);
179 vtkBooleanMacro(LoadBndPatch,
bool);
187 vtkSetMacro(LoadMesh,
bool);
188 vtkGetMacro(LoadMesh,
bool);
189 vtkBooleanMacro(LoadMesh,
bool);
196 vtkSetMacro(Use3DVector,
bool);
197 vtkGetMacro(Use3DVector,
bool);
198 vtkBooleanMacro(Use3DVector,
bool);
208 vtkSetMacro(CreateEachSolutionAsBlock,
int);
209 vtkGetMacro(CreateEachSolutionAsBlock,
int);
210 vtkBooleanMacro(CreateEachSolutionAsBlock,
int);
225 vtkSetMacro(IgnoreFlowSolutionPointers,
bool);
226 vtkGetMacro(IgnoreFlowSolutionPointers,
bool);
227 vtkBooleanMacro(IgnoreFlowSolutionPointers,
bool);
235 vtkSetMacro(UseUnsteadyPattern,
bool);
236 vtkGetMacro(UseUnsteadyPattern,
bool);
237 vtkBooleanMacro(UseUnsteadyPattern,
bool);
244 vtkSetMacro(DistributeBlocks,
bool);
245 vtkGetMacro(DistributeBlocks,
bool);
246 vtkBooleanMacro(DistributeBlocks,
bool);
254 void SetCacheMesh(
bool enable);
255 vtkGetMacro(CacheMesh,
bool);
256 vtkBooleanMacro(CacheMesh,
bool);
264 void SetCacheConnectivity(
bool enable);
265 vtkGetMacro(CacheConnectivity,
bool);
266 vtkBooleanMacro(CacheConnectivity,
bool);
297 int GetCurvilinearZone(
300 int GetUnstructuredZone(
320 bool LoadBndPatch =
false;
321 bool LoadMesh =
true;
322 int DoublePrecisionMesh = 1;
323 int CreateEachSolutionAsBlock = 0;
324 bool IgnoreFlowSolutionPointers =
false;
325 bool UseUnsteadyPattern =
false;
326 bool DistributeBlocks =
true;
327 bool CacheMesh =
false;
328 bool CacheConnectivity =
false;
329 bool Use3DVector =
true;
336 unsigned int NumberOfBases = 0;
337 int ActualTimeStep = 0;
340 vtkPrivate* Internals;
341 friend class vtkPrivate;
344 #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.
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.