VTK
|
reads a dataset in OpenFOAM format More...
#include <vtkOpenFOAMReader.h>
reads a dataset in OpenFOAM format
vtkOpenFOAMReader creates a multiblock dataset. It reads mesh information and time dependent data. The polyMesh folders contain mesh information. The time folders contain transient data for the cells. Each folder can contain any number of data files.
Definition at line 55 of file vtkOpenFOAMReader.h.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkPOpenFOAMReader.
Definition at line 59 of file vtkOpenFOAMReader.h.
vtkOpenFOAMReader::vtkOpenFOAMReader | ( | ) | [protected] |
vtkOpenFOAMReader::~vtkOpenFOAMReader | ( | ) | [protected] |
static vtkOpenFOAMReader* vtkOpenFOAMReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkPOpenFOAMReader.
static int vtkOpenFOAMReader::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkPOpenFOAMReader.
virtual int vtkOpenFOAMReader::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkPOpenFOAMReader.
static vtkOpenFOAMReader* vtkOpenFOAMReader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkPOpenFOAMReader.
virtual vtkObjectBase* vtkOpenFOAMReader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkPOpenFOAMReader.
vtkOpenFOAMReader* vtkOpenFOAMReader::NewInstance | ( | ) | const |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkPOpenFOAMReader.
void vtkOpenFOAMReader::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkPOpenFOAMReader.
int vtkOpenFOAMReader::CanReadFile | ( | const char * | ) |
Determine if the file can be readed with this reader.
virtual void vtkOpenFOAMReader::SetFileName | ( | const char * | ) | [virtual] |
Set/Get the filename.
virtual char* vtkOpenFOAMReader::GetFileName | ( | ) | [virtual] |
Set/Get the filename.
int vtkOpenFOAMReader::GetNumberOfCellArrays | ( | void | ) | [inline] |
Get the number of cell arrays available in the input.
Definition at line 73 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::GetCellArrayStatus | ( | const char * | name | ) | [inline] |
Get/Set whether the cell array with the given name is to be read.
Definition at line 79 of file vtkOpenFOAMReader.h.
void vtkOpenFOAMReader::SetCellArrayStatus | ( | const char * | name, |
int | status | ||
) | [inline] |
Get/Set whether the cell array with the given name is to be read.
Definition at line 81 of file vtkOpenFOAMReader.h.
const char* vtkOpenFOAMReader::GetCellArrayName | ( | int | index | ) | [inline] |
Get the name of the cell array with the given index in the input.
Definition at line 87 of file vtkOpenFOAMReader.h.
void vtkOpenFOAMReader::DisableAllCellArrays | ( | ) | [inline] |
Turn on/off all cell arrays.
Definition at line 93 of file vtkOpenFOAMReader.h.
void vtkOpenFOAMReader::EnableAllCellArrays | ( | ) | [inline] |
Turn on/off all cell arrays.
Definition at line 95 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::GetNumberOfPointArrays | ( | void | ) | [inline] |
Get the number of point arrays available in the input.
Definition at line 101 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::GetPointArrayStatus | ( | const char * | name | ) | [inline] |
Get/Set whether the point array with the given name is to be read.
Definition at line 107 of file vtkOpenFOAMReader.h.
void vtkOpenFOAMReader::SetPointArrayStatus | ( | const char * | name, |
int | status | ||
) | [inline] |
Get/Set whether the point array with the given name is to be read.
Definition at line 109 of file vtkOpenFOAMReader.h.
const char* vtkOpenFOAMReader::GetPointArrayName | ( | int | index | ) | [inline] |
Get the name of the point array with the given index in the input.
Definition at line 116 of file vtkOpenFOAMReader.h.
void vtkOpenFOAMReader::DisableAllPointArrays | ( | ) | [inline] |
Turn on/off all point arrays.
Definition at line 122 of file vtkOpenFOAMReader.h.
void vtkOpenFOAMReader::EnableAllPointArrays | ( | ) | [inline] |
Turn on/off all point arrays.
Definition at line 124 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::GetNumberOfLagrangianArrays | ( | void | ) | [inline] |
Get the number of Lagrangian arrays available in the input.
Definition at line 130 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::GetLagrangianArrayStatus | ( | const char * | name | ) | [inline] |
Get/Set whether the Lagrangian array with the given name is to be read.
Definition at line 138 of file vtkOpenFOAMReader.h.
void vtkOpenFOAMReader::SetLagrangianArrayStatus | ( | const char * | name, |
int | status | ||
) | [inline] |
Get/Set whether the Lagrangian array with the given name is to be read.
Definition at line 141 of file vtkOpenFOAMReader.h.
const char* vtkOpenFOAMReader::GetLagrangianArrayName | ( | int | index | ) | [inline] |
Get the name of the Lagrangian array with the given index in the input.
Definition at line 149 of file vtkOpenFOAMReader.h.
void vtkOpenFOAMReader::DisableAllLagrangianArrays | ( | ) | [inline] |
Turn on/off all Lagrangian arrays.
Definition at line 156 of file vtkOpenFOAMReader.h.
void vtkOpenFOAMReader::EnableAllLagrangianArrays | ( | ) | [inline] |
Turn on/off all Lagrangian arrays.
Definition at line 158 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::GetNumberOfPatchArrays | ( | void | ) | [inline] |
Get the number of Patches (including Internal Mesh) available in the input.
Definition at line 165 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::GetPatchArrayStatus | ( | const char * | name | ) | [inline] |
Get/Set whether the Patch with the given name is to be read.
Definition at line 171 of file vtkOpenFOAMReader.h.
void vtkOpenFOAMReader::SetPatchArrayStatus | ( | const char * | name, |
int | status | ||
) | [inline] |
Get/Set whether the Patch with the given name is to be read.
Definition at line 173 of file vtkOpenFOAMReader.h.
const char* vtkOpenFOAMReader::GetPatchArrayName | ( | int | index | ) | [inline] |
Get the name of the Patch with the given index in the input.
Definition at line 180 of file vtkOpenFOAMReader.h.
void vtkOpenFOAMReader::DisableAllPatchArrays | ( | ) | [inline] |
Turn on/off all Patches including the Internal Mesh.
Definition at line 186 of file vtkOpenFOAMReader.h.
void vtkOpenFOAMReader::EnableAllPatchArrays | ( | ) | [inline] |
Turn on/off all Patches including the Internal Mesh.
Definition at line 188 of file vtkOpenFOAMReader.h.
virtual void vtkOpenFOAMReader::SetCreateCellToPoint | ( | int | ) | [virtual] |
Set/Get whether to create cell-to-point translated data for cell-type data
virtual int vtkOpenFOAMReader::GetCreateCellToPoint | ( | ) | [virtual] |
Set/Get whether to create cell-to-point translated data for cell-type data
virtual void vtkOpenFOAMReader::CreateCellToPointOn | ( | ) | [virtual] |
Set/Get whether to create cell-to-point translated data for cell-type data
virtual void vtkOpenFOAMReader::CreateCellToPointOff | ( | ) | [virtual] |
Set/Get whether to create cell-to-point translated data for cell-type data
virtual void vtkOpenFOAMReader::SetCacheMesh | ( | int | ) | [virtual] |
Set/Get whether mesh is to be cached.
virtual int vtkOpenFOAMReader::GetCacheMesh | ( | ) | [virtual] |
Set/Get whether mesh is to be cached.
virtual void vtkOpenFOAMReader::CacheMeshOn | ( | ) | [virtual] |
Set/Get whether mesh is to be cached.
virtual void vtkOpenFOAMReader::CacheMeshOff | ( | ) | [virtual] |
Set/Get whether mesh is to be cached.
virtual void vtkOpenFOAMReader::SetDecomposePolyhedra | ( | int | ) | [virtual] |
Set/Get whether polyhedra are to be decomposed.
virtual int vtkOpenFOAMReader::GetDecomposePolyhedra | ( | ) | [virtual] |
Set/Get whether polyhedra are to be decomposed.
virtual void vtkOpenFOAMReader::DecomposePolyhedraOn | ( | ) | [virtual] |
Set/Get whether polyhedra are to be decomposed.
virtual void vtkOpenFOAMReader::DecomposePolyhedraOff | ( | ) | [virtual] |
Set/Get whether polyhedra are to be decomposed.
virtual void vtkOpenFOAMReader::SetPositionsIsIn13Format | ( | int | ) | [virtual] |
Set/Get whether the lagrangian/positions is in OF 1.3 format
virtual int vtkOpenFOAMReader::GetPositionsIsIn13Format | ( | ) | [virtual] |
Set/Get whether the lagrangian/positions is in OF 1.3 format
virtual void vtkOpenFOAMReader::PositionsIsIn13FormatOn | ( | ) | [virtual] |
Set/Get whether the lagrangian/positions is in OF 1.3 format
virtual void vtkOpenFOAMReader::PositionsIsIn13FormatOff | ( | ) | [virtual] |
Set/Get whether the lagrangian/positions is in OF 1.3 format
virtual void vtkOpenFOAMReader::SetListTimeStepsByControlDict | ( | int | ) | [virtual] |
Determine if time directories are to be listed according to controlDict
virtual int vtkOpenFOAMReader::GetListTimeStepsByControlDict | ( | ) | [virtual] |
Determine if time directories are to be listed according to controlDict
virtual void vtkOpenFOAMReader::ListTimeStepsByControlDictOn | ( | ) | [virtual] |
Determine if time directories are to be listed according to controlDict
virtual void vtkOpenFOAMReader::ListTimeStepsByControlDictOff | ( | ) | [virtual] |
Determine if time directories are to be listed according to controlDict
virtual void vtkOpenFOAMReader::SetAddDimensionsToArrayNames | ( | int | ) | [virtual] |
Add dimensions to array names
virtual int vtkOpenFOAMReader::GetAddDimensionsToArrayNames | ( | ) | [virtual] |
Add dimensions to array names
virtual void vtkOpenFOAMReader::AddDimensionsToArrayNamesOn | ( | ) | [virtual] |
Add dimensions to array names
virtual void vtkOpenFOAMReader::AddDimensionsToArrayNamesOff | ( | ) | [virtual] |
Add dimensions to array names
virtual void vtkOpenFOAMReader::SetReadZones | ( | int | ) | [virtual] |
Set/Get whether zones will be read.
virtual int vtkOpenFOAMReader::GetReadZones | ( | ) | [virtual] |
Set/Get whether zones will be read.
virtual void vtkOpenFOAMReader::ReadZonesOn | ( | ) | [virtual] |
Set/Get whether zones will be read.
virtual void vtkOpenFOAMReader::ReadZonesOff | ( | ) | [virtual] |
Set/Get whether zones will be read.
void vtkOpenFOAMReader::SetRefresh | ( | ) | [inline] |
Definition at line 244 of file vtkOpenFOAMReader.h.
void vtkOpenFOAMReader::SetParent | ( | vtkOpenFOAMReader * | parent | ) | [inline] |
Definition at line 246 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::MakeInformationVector | ( | vtkInformationVector * | , |
const vtkStdString & | |||
) |
bool vtkOpenFOAMReader::SetTimeValue | ( | const double | ) |
int vtkOpenFOAMReader::MakeMetaDataAtTimeStep | ( | const bool | ) |
int vtkOpenFOAMReader::RequestInformation | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkPOpenFOAMReader.
int vtkOpenFOAMReader::RequestData | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Reimplemented in vtkPOpenFOAMReader.
void vtkOpenFOAMReader::CreateCasePath | ( | vtkStdString & | , |
vtkStdString & | |||
) | [protected] |
void vtkOpenFOAMReader::SetTimeInformation | ( | vtkInformationVector * | , |
vtkDoubleArray * | |||
) | [protected] |
void vtkOpenFOAMReader::CreateCharArrayFromString | ( | vtkCharArray * | , |
const char * | , | ||
vtkStdString & | |||
) | [protected] |
void vtkOpenFOAMReader::UpdateStatus | ( | ) | [protected] |
void vtkOpenFOAMReader::UpdateProgress | ( | double | amount | ) | [protected] |
Update the progress of the process object. If a ProgressMethod exists, executes it. Then set the Progress ivar to amount. The parameter amount should range between (0,1).
Reimplemented from vtkAlgorithm.
friend class vtkOpenFOAMReaderPrivate [friend] |
Definition at line 253 of file vtkOpenFOAMReader.h.
bool vtkOpenFOAMReader::Refresh [protected] |
Definition at line 258 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::CreateCellToPoint [protected] |
Definition at line 261 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::CacheMesh [protected] |
Definition at line 264 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::DecomposePolyhedra [protected] |
Definition at line 267 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::PositionsIsIn13Format [protected] |
Definition at line 270 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::ReadZones [protected] |
Definition at line 273 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::ListTimeStepsByControlDict [protected] |
Definition at line 276 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::AddDimensionsToArrayNames [protected] |
Definition at line 279 of file vtkOpenFOAMReader.h.
char* vtkOpenFOAMReader::FileName [protected] |
Definition at line 281 of file vtkOpenFOAMReader.h.
vtkCharArray* vtkOpenFOAMReader::CasePath [protected] |
Definition at line 282 of file vtkOpenFOAMReader.h.
vtkCollection* vtkOpenFOAMReader::Readers [protected] |
Definition at line 283 of file vtkOpenFOAMReader.h.
Definition at line 286 of file vtkOpenFOAMReader.h.
Definition at line 287 of file vtkOpenFOAMReader.h.
Definition at line 288 of file vtkOpenFOAMReader.h.
Definition at line 289 of file vtkOpenFOAMReader.h.
unsigned long int vtkOpenFOAMReader::PatchSelectionMTimeOld [protected] |
Definition at line 292 of file vtkOpenFOAMReader.h.
unsigned long int vtkOpenFOAMReader::CellSelectionMTimeOld [protected] |
Definition at line 293 of file vtkOpenFOAMReader.h.
unsigned long int vtkOpenFOAMReader::PointSelectionMTimeOld [protected] |
Definition at line 294 of file vtkOpenFOAMReader.h.
unsigned long int vtkOpenFOAMReader::LagrangianSelectionMTimeOld [protected] |
Definition at line 295 of file vtkOpenFOAMReader.h.
vtkStdString* vtkOpenFOAMReader::FileNameOld [protected] |
Definition at line 298 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::ListTimeStepsByControlDictOld [protected] |
Definition at line 299 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::CreateCellToPointOld [protected] |
Definition at line 300 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::DecomposePolyhedraOld [protected] |
Definition at line 301 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::PositionsIsIn13FormatOld [protected] |
Definition at line 302 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::AddDimensionsToArrayNamesOld [protected] |
Definition at line 303 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::ReadZonesOld [protected] |
Definition at line 304 of file vtkOpenFOAMReader.h.
vtkStringArray* vtkOpenFOAMReader::LagrangianPaths [protected] |
Definition at line 307 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::NumberOfReaders [protected] |
Definition at line 310 of file vtkOpenFOAMReader.h.
int vtkOpenFOAMReader::CurrentReaderIndex [protected] |
Definition at line 312 of file vtkOpenFOAMReader.h.