 |
VTK
9.1.0
|
Go to the documentation of this file.
47 #ifndef vtkOpenFOAMReader_h
48 #define vtkOpenFOAMReader_h
50 #include "vtkIOGeometryModule.h"
60 class vtkOpenFOAMReaderPrivate;
66 friend class vtkOpenFOAMReaderPrivate;
90 return this->GetNumberOfSelectionArrays(this->CellDataArraySelection);
99 return this->GetSelectionArrayStatus(this->CellDataArraySelection,
name);
103 this->SetSelectionArrayStatus(this->CellDataArraySelection,
name, status);
112 return this->GetSelectionArrayName(this->CellDataArraySelection,
index);
126 return this->GetNumberOfSelectionArrays(this->PointDataArraySelection);
135 return this->GetSelectionArrayStatus(this->PointDataArraySelection,
name);
139 this->SetSelectionArrayStatus(this->PointDataArraySelection,
name, status);
148 return this->GetSelectionArrayName(this->PointDataArraySelection,
index);
162 return this->GetNumberOfSelectionArrays(this->LagrangianDataArraySelection);
171 return this->GetSelectionArrayStatus(this->LagrangianDataArraySelection,
name);
175 this->SetSelectionArrayStatus(this->LagrangianDataArraySelection,
name, status);
184 return this->GetSelectionArrayName(this->LagrangianDataArraySelection,
index);
192 this->DisableAllSelectionArrays(this->LagrangianDataArraySelection);
196 this->EnableAllSelectionArrays(this->LagrangianDataArraySelection);
204 return this->GetNumberOfSelectionArrays(this->PatchDataArraySelection);
213 return this->GetSelectionArrayStatus(this->PatchDataArraySelection,
name);
217 this->SetSelectionArrayStatus(this->PatchDataArraySelection,
name, status);
226 return this->GetSelectionArrayName(this->PatchDataArraySelection,
index);
280 vtkSetMacro(SkipZeroTime,
bool);
281 vtkGetMacro(SkipZeroTime,
bool);
282 vtkBooleanMacro(SkipZeroTime,
bool);
317 vtkGetMacro(Use64BitLabels,
bool);
318 vtkBooleanMacro(Use64BitLabels,
bool);
326 vtkGetMacro(CopyDataToCellZones,
bool);
327 vtkSetMacro(CopyDataToCellZones,
bool);
328 vtkBooleanMacro(CopyDataToCellZones,
bool);
338 vtkGetMacro(Use64BitFloats,
bool);
339 vtkBooleanMacro(Use64BitFloats,
bool);
344 this->Refresh =
true;
462 void PrintTimes(std::ostream& os,
vtkIndent indent =
vtkIndent(),
bool full =
false)
const;
vtkStringArray * LagrangianPaths
int MakeMetaDataAtTimeStep(const bool)
vtkSetFilePathMacro(FileName)
Set/Get the filename.
const char * GetPatchArrayName(int index)
Get the name of the Patch with the given index in the input.
int GetCellArrayStatus(const char *name)
Get/Set whether the cell array with the given name is to be read.
void SetCellArrayStatus(const char *name, int status)
int GetNumberOfLagrangianArrays(void)
Get the number of Lagrangian arrays available in the input.
virtual void Modified()
Update the modification time for this object.
vtkTypeBool CreateCellToPoint
void SetParent(vtkOpenFOAMReader *parent)
void EnableAllPatchArrays()
vtkStdString * FileNameOld
void CreateCasePath(vtkStdString &, vtkStdString &)
vtkMTimeType LagrangianSelectionMTimeOld
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 CreateCharArrayFromString(vtkCharArray *, const char *, vtkStdString &)
Store on/off settings for data arrays for a vtkSource.
void EnableAllPointArrays()
dynamic, self-adjusting array of char
vtkMTimeType PatchSelectionMTimeOld
int GetPointArrayStatus(const char *name)
Get/Set whether the point array with the given name is to be read.
vtkDataArraySelection * PointDataArraySelection
vtkMTimeType CellSelectionMTimeOld
create and manipulate ordered lists of objects
int CanReadFile(VTK_FILEPATH const char *)
Determine if the file can be read with this reader.
void EnableAllCellArrays()
vtkTypeBool ListTimeStepsByControlDict
const char * GetPointArrayName(int index)
Get the name of the point array with the given index in the input.
double GetTimeValue() const
int PositionsIsIn13FormatOld
vtkDataArraySelection * CellDataArraySelection
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkTypeBool PositionsIsIn13Format
virtual void SetUse64BitFloats(bool val)
If true, floats are expected to be 64-bit, rather than 32.
void SetPatchArrayStatus(const char *name, int status)
~vtkOpenFOAMReader() override
a simple class to control print indentation
static vtkOpenFOAMReader * New()
void DisableAllCellArrays()
Turn on/off all cell arrays.
vtkMTimeType PointSelectionMTimeOld
vtkTypeBool AddDimensionsToArrayNames
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
const char * GetLagrangianArrayName(int index)
Get the name of the Lagrangian array with the given index in the input.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void EnableAllLagrangianArrays()
reads a dataset in OpenFOAM format
vtkDoubleArray * GetTimeValues()
int GetNumberOfPatchArrays(void)
Get the number of Patches (including Internal Mesh) available in the input.
vtkTypeBool DecomposePolyhedra
vtkStringArray * GetTimeNames()
vtkDataArraySelection * PatchDataArraySelection
int ListTimeStepsByControlDictOld
vtkGetFilePathMacro(FileName)
Set/Get the filename.
void UpdateProgress(double)
virtual void SetUse64BitLabels(bool val)
If true, labels are expected to be 64-bit, rather than 32.
a vtkAbstractArray subclass for strings
dynamic, self-adjusting array of double
void SetPointArrayStatus(const char *name, int status)
int DecomposePolyhedraOld
Wrapper around std::string to keep symbols short.
int GetNumberOfPointArrays(void)
Get the number of point arrays available in the input.
int MakeInformationVector(vtkInformationVector *, const vtkStdString &procDirName, vtkStringArray *timeNames=nullptr, vtkDoubleArray *timeValues=nullptr)
int GetNumberOfCellArrays(void)
Get the number of cell arrays available in the input.
vtkDataArraySelection * LagrangianDataArraySelection
bool SetTimeValue(const double)
void SetTimeInformation(vtkInformationVector *, vtkDoubleArray *)
void DisableAllPointArrays()
Turn on/off all point arrays.
int AddDimensionsToArrayNamesOld
const char * GetCellArrayName(int index)
Get the name of the cell array with the given index in the input.
void DisableAllPatchArrays()
Turn on/off all Patches including the Internal Mesh.
int GetLagrangianArrayStatus(const char *name)
Get/Set whether the Lagrangian array with the given name is to be read.
void DisableAllLagrangianArrays()
Turn on/off all Lagrangian arrays.
vtkTypeUInt32 vtkMTimeType
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.