44 #ifndef vtkOpenFOAMReader_h 
   45 #define vtkOpenFOAMReader_h 
   47 #include "vtkIOGeometryModule.h"  
   57 class vtkOpenFOAMReaderPrivate;
 
   69   int CanReadFile(
const char *);
 
   75   vtkSetStringMacro(FileName);
 
   83   { 
return this->GetNumberOfSelectionArrays(this->CellDataArraySelection); }
 
   90   { 
return this->GetSelectionArrayStatus(this->CellDataArraySelection, name); }
 
   92   { this->SetSelectionArrayStatus(this->CellDataArraySelection, name, status); }
 
   99   { 
return this->GetSelectionArrayName(this->CellDataArraySelection, index); }
 
  105   { this->DisableAllSelectionArrays(this->CellDataArraySelection); }
 
  107   { this->EnableAllSelectionArrays(this->CellDataArraySelection); }
 
  113   { 
return this->GetNumberOfSelectionArrays(this->PointDataArraySelection); }
 
  120   { 
return this->GetSelectionArrayStatus(this->PointDataArraySelection, name); }
 
  122   { this->SetSelectionArrayStatus(this->PointDataArraySelection,
 
  130   { 
return this->GetSelectionArrayName(this->PointDataArraySelection, index); }
 
  136   { this->DisableAllSelectionArrays(this->PointDataArraySelection); }
 
  138   { this->EnableAllSelectionArrays(this->PointDataArraySelection); }
 
  144   { 
return this->GetNumberOfSelectionArrays(
 
  145     this->LagrangianDataArraySelection); }
 
  152   { 
return this->GetSelectionArrayStatus(this->LagrangianDataArraySelection,
 
  155   { this->SetSelectionArrayStatus(this->LagrangianDataArraySelection, name,
 
  163   { 
return this->GetSelectionArrayName(this->LagrangianDataArraySelection,
 
  170   { this->DisableAllSelectionArrays(this->LagrangianDataArraySelection); }
 
  172   { this->EnableAllSelectionArrays(this->LagrangianDataArraySelection); }
 
  178   { 
return this->GetNumberOfSelectionArrays(this->PatchDataArraySelection); }
 
  185   { 
return this->GetSelectionArrayStatus(this->PatchDataArraySelection, name); }
 
  187   { this->SetSelectionArrayStatus(this->PatchDataArraySelection, name,
 
  195   { 
return this->GetSelectionArrayName(this->PatchDataArraySelection, index); }
 
  201   { this->DisableAllSelectionArrays(this->PatchDataArraySelection); }
 
  203   { this->EnableAllSelectionArrays(this->PatchDataArraySelection); }
 
  210   vtkGetMacro(CreateCellToPoint,
int);
 
  219   vtkGetMacro(CacheMesh, 
int);
 
  228   vtkGetMacro(DecomposePolyhedra, 
int);
 
  238   vtkGetMacro(PositionsIsIn13Format, 
int);
 
  247   vtkGetMacro(ListTimeStepsByControlDict, 
int);
 
  256   vtkGetMacro(AddDimensionsToArrayNames, 
int);
 
  265   vtkGetMacro(ReadZones, 
int);
 
  274   vtkGetMacro(Use64BitLabels, 
bool)
 
  278   void SetRefresh() { this->Refresh = 
true; this->
Modified(); }
 
  282   bool SetTimeValue(
const double);
 
  284   int MakeMetaDataAtTimeStep(
const bool);
 
  286   friend class vtkOpenFOAMReaderPrivate;
 
  369   int GetSelectionArrayStatus(vtkDataArraySelection *, const 
char *);
 
  370   void SetSelectionArrayStatus(vtkDataArraySelection *, const 
char *, 
int);
 
  371   const 
char *GetSelectionArrayName(vtkDataArraySelection *, 
int);
 
  372   void DisableAllSelectionArrays(vtkDataArraySelection *);
 
  373   void EnableAllSelectionArrays(vtkDataArraySelection *);
 
  375   void AddSelectionNames(vtkDataArraySelection *, 
vtkStringArray *);
 
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. 
 
int AddDimensionsToArrayNames
 
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
 
int ListTimeStepsByControlDict
 
int GetNumberOfCellArrays(void)
Get the number of cell arrays available in the input. 
 
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 
 
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. 
 
vtkTypeUInt64 vtkMTimeType
 
int GetNumberOfLagrangianArrays(void)
Get the number of Lagrangian arrays available in the input. 
 
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 
 
static vtkMultiBlockDataSetAlgorithm * New()
 
vtkStdString * FileNameOld
 
void DisableAllCellArrays()
Turn on/off all cell arrays. 
 
void EnableAllLagrangianArrays()
 
dynamic, self-adjusting array of char 
 
int GetNumberOfPatchArrays(void)
Get the number of Patches (including Internal Mesh) available in the input. 
 
a simple class to control print indentation 
 
int ListTimeStepsByControlDictOld
 
Store on/off settings for data arrays for a vtkSource. 
 
void EnableAllPointArrays()
 
vtkDataArraySelection * PointDataArraySelection
 
reads a dataset in OpenFOAM format 
 
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions. 
 
virtual void Modified()
Update the modification time for this object. 
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses. 
 
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection. 
 
vtkMTimeType PatchSelectionMTimeOld
 
int AddDimensionsToArrayNamesOld
 
void DisableAllPatchArrays()
Turn on/off all Patches including the Internal Mesh. 
 
int DecomposePolyhedraOld
 
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. 
 
int GetNumberOfPointArrays(void)
Get the number of point arrays available in the input. 
 
create and manipulate unsorted lists of objects 
 
int PositionsIsIn13FormatOld
 
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
 
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection. 
 
int PositionsIsIn13Format
 
void SetCellArrayStatus(const char *name, int status)
 
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass. 
 
vtkDataArraySelection * PatchDataArraySelection