38 #ifndef vtkOpenFOAMReader_h
39 #define vtkOpenFOAMReader_h
42 #include "vtkIOGeometryModule.h"
45 VTK_ABI_NAMESPACE_BEGIN
53 class vtkOpenFOAMReaderPrivate;
59 friend class vtkOpenFOAMReaderPrivate;
74 vtkSetFilePathMacro(FileName);
75 vtkGetFilePathMacro(FileName);
83 return this->GetNumberOfSelectionArrays(this->CellDataArraySelection);
92 return this->GetSelectionArrayStatus(this->CellDataArraySelection, name);
96 this->SetSelectionArrayStatus(this->CellDataArraySelection, name, status);
105 return this->GetSelectionArrayName(this->CellDataArraySelection, index);
119 return this->GetNumberOfSelectionArrays(this->PointDataArraySelection);
128 return this->GetSelectionArrayStatus(this->PointDataArraySelection, name);
132 this->SetSelectionArrayStatus(this->PointDataArraySelection, name, status);
141 return this->GetSelectionArrayName(this->PointDataArraySelection, index);
155 return this->GetNumberOfSelectionArrays(this->LagrangianDataArraySelection);
164 return this->GetSelectionArrayStatus(this->LagrangianDataArraySelection, name);
168 this->SetSelectionArrayStatus(this->LagrangianDataArraySelection, name, status);
177 return this->GetSelectionArrayName(this->LagrangianDataArraySelection, index);
185 this->DisableAllSelectionArrays(this->LagrangianDataArraySelection);
189 this->EnableAllSelectionArrays(this->LagrangianDataArraySelection);
197 return this->GetNumberOfSelectionArrays(this->PatchDataArraySelection);
206 return this->GetSelectionArrayStatus(this->PatchDataArraySelection, name);
210 this->SetSelectionArrayStatus(this->PatchDataArraySelection, name, status);
219 return this->GetSelectionArrayName(this->PatchDataArraySelection, index);
247 vtkBooleanMacro(SizeAverageCellToPoint,
vtkTypeBool);
264 virtual
void SetDecomposePolyhedra(
vtkTypeBool _arg);
266 vtkBooleanMacro(DecomposePolyhedra, vtkTypeBool);
277 vtkSetMacro(PositionsIsIn13Format, vtkTypeBool);
278 vtkGetMacro(PositionsIsIn13Format, vtkTypeBool);
279 vtkBooleanMacro(PositionsIsIn13Format, vtkTypeBool);
287 vtkSetMacro(SkipZeroTime,
bool);
288 vtkGetMacro(SkipZeroTime,
bool);
289 vtkBooleanMacro(SkipZeroTime,
bool);
296 vtkSetMacro(ListTimeStepsByControlDict, vtkTypeBool);
297 vtkGetMacro(ListTimeStepsByControlDict, vtkTypeBool);
298 vtkBooleanMacro(ListTimeStepsByControlDict, vtkTypeBool);
305 vtkSetMacro(AddDimensionsToArrayNames, vtkTypeBool);
306 vtkGetMacro(AddDimensionsToArrayNames, vtkTypeBool);
307 vtkBooleanMacro(AddDimensionsToArrayNames, vtkTypeBool);
314 vtkSetMacro(ReadZones, vtkTypeBool);
315 vtkGetMacro(ReadZones, vtkTypeBool);
316 vtkBooleanMacro(ReadZones, vtkTypeBool);
323 virtual
void SetUse64BitLabels(
bool val);
324 vtkGetMacro(Use64BitLabels,
bool);
325 vtkBooleanMacro(Use64BitLabels,
bool);
333 vtkGetMacro(CopyDataToCellZones,
bool);
334 vtkSetMacro(CopyDataToCellZones,
bool);
335 vtkBooleanMacro(CopyDataToCellZones,
bool);
344 virtual
void SetUse64BitFloats(
bool val);
345 vtkGetMacro(Use64BitFloats,
bool);
346 vtkBooleanMacro(Use64BitFloats,
bool);
351 this->Refresh =
true;
360 double GetTimeValue()
const;
361 bool SetTimeValue(
double);
365 int MakeMetaDataAtTimeStep(
bool);
472 void PrintTimes(std::ostream& os,
vtkIndent indent =
vtkIndent(),
bool full =
false)
const;
475 VTK_ABI_NAMESPACE_END
int GetCellArrayStatus(const char *name)
Get/Set whether the cell array with the given name is to be read.
Wrapper around std::string to keep symbols short.
#define VTK_DEPRECATED_IN_9_1_0(reason)
void EnableAllPatchArrays()
void SetParent(vtkOpenFOAMReader *parent)
void SetLagrangianArrayStatus(const char *name, int status)
int GetPatchArrayStatus(const char *name)
Get/Set whether the Patch with the given name is to be read.
void SetPointArrayStatus(const char *name, int status)
vtkMTimeType LagrangianSelectionMTimeOld
vtkTypeUInt32 vtkMTimeType
vtkDataArraySelection * LagrangianDataArraySelection
int GetPointArrayStatus(const char *name)
Get/Set whether the point array with the given name is to be read.
vtkMTimeType CellSelectionMTimeOld
const char * GetCellArrayName(int index)
Get the name of the cell array with the given index in the input.
vtkStringArray * LagrangianPaths
vtkDataArraySelection * CellDataArraySelection
a vtkAbstractArray subclass for strings
vtkTypeBool ListTimeStepsByControlDict
const char * GetPatchArrayName(int index)
Get the name of the Patch with the given index in the input.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
const char * GetLagrangianArrayName(int index)
Get the name of the Lagrangian array with the given index in the input.
dynamic, self-adjusting array of double
vtkTypeBool CreateCellToPoint
static vtkMultiBlockDataSetAlgorithm * New()
vtkStdString * FileNameOld
void DisableAllCellArrays()
Turn on/off all cell arrays.
void EnableAllLagrangianArrays()
dynamic, self-adjusting array of char
vtkTypeBool AddDimensionsToArrayNames
a simple class to control print indentation
int ListTimeStepsByControlDictOld
int GetNumberOfCellArrays()
Get the number of cell arrays available in the input.
Store on/off settings for data arrays, etc.
int GetNumberOfPatchArrays()
Get the number of Patches (including Internal Mesh) available in the input.
void EnableAllPointArrays()
vtkDataArraySelection * PointDataArraySelection
reads a dataset in OpenFOAM format
virtual void Modified()
Update the modification time for this object.
int GetNumberOfLagrangianArrays()
Get the number of Lagrangian arrays available in the input.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMTimeType PatchSelectionMTimeOld
int AddDimensionsToArrayNamesOld
void DisableAllPatchArrays()
Turn on/off all Patches including the Internal Mesh.
int DecomposePolyhedraOld
int GetNumberOfPointArrays()
Get the number of point arrays available in the input.
void DisableAllLagrangianArrays()
Turn on/off all Lagrangian arrays.
void EnableAllCellArrays()
const char * GetPointArrayName(int index)
Get the name of the point array with the given index in the input.
void UpdateProgress(double amount)
Update the progress of the process object.
create and manipulate ordered lists of objects
int PositionsIsIn13FormatOld
vtkTypeBool PositionsIsIn13Format
void SetPatchArrayStatus(const char *name, int status)
void DisableAllPointArrays()
Turn on/off all point arrays.
int GetLagrangianArrayStatus(const char *name)
Get/Set whether the Lagrangian array with the given name is to be read.
vtkMTimeType PointSelectionMTimeOld
void SetCellArrayStatus(const char *name, int status)
vtkTypeBool DecomposePolyhedra
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkDataArraySelection * PatchDataArraySelection