The backend for the vtkPVFoamReader reader module - providing a paraview reader interface for OpenFOAM meshes and fields. More...
Public Member Functions | |
ClassName ("vtkPVFoam") | |
Static data members. More... | |
vtkPVFoam (const char *const FileName, vtkPVFoamReader *reader) | |
Construct from components. More... | |
~vtkPVFoam () | |
Destructor. More... | |
void | updateInfo () |
Update. More... | |
void | Update (vtkMultiBlockDataSet *output, vtkMultiBlockDataSet *outputLagrangian) |
void | UpdateFinalize () |
Final part of Update(), after any last minute rendering. More... | |
void | renderPatchNames (vtkRenderer *renderer, const bool show) |
Add/remove patch names to/from the view. More... | |
std::vector< double > | findTimes (const bool skipZero=false) const |
Return a list of selected times. More... | |
int | setTime (const std::vector< double > &requestTimes) |
Set the runTime to the first plausible request time,. More... | |
int | timeIndex () const |
The current time index. More... | |
void | PrintSelf (ostream &, vtkIndent) const |
Debug information. More... | |
void | printInfo () const |
The backend for the vtkPVFoamReader reader module - providing a paraview reader interface for OpenFOAM meshes and fields.
Similar, and sometimes better, functionality may be provided by the native VTK OpenFOAM reader. OpenCFD has recently (2017) been working on improving the native VTK OpenFOAM reader for the benefit of everyone.
In some areas the reader module lacks compared to the native reader (notably the ability to work on decomosed datasets), but provides additional handling of sets,zones,groups. Some features have also since been adapted to the native reader. Additionally, the reader module provides a useful platform for testing new ideas.
Definition at line 112 of file vtkPVFoam.H.
vtkPVFoam | ( | const char *const | FileName, |
vtkPVFoamReader * | reader | ||
) |
Construct from components.
~vtkPVFoam | ( | ) |
Destructor.
ClassName | ( | "vtkPVFoam" | ) |
Static data members.
void updateInfo | ( | ) |
Update.
void Update | ( | vtkMultiBlockDataSet * | output, |
vtkMultiBlockDataSet * | outputLagrangian | ||
) |
void UpdateFinalize | ( | ) |
Final part of Update(), after any last minute rendering.
void renderPatchNames | ( | vtkRenderer * | renderer, |
const bool | show | ||
) |
Add/remove patch names to/from the view.
std::vector<double> findTimes | ( | const bool | skipZero = false | ) | const |
Return a list of selected times.
Use STL container since these values are used by the plugin
int setTime | ( | const std::vector< double > & | requestTimes | ) |
Set the runTime to the first plausible request time,.
returns the timeIndex sets to "constant" on error
|
inline |
The current time index.
Definition at line 479 of file vtkPVFoam.H.
void PrintSelf | ( | ostream & | , |
vtkIndent | |||
) | const |
Debug information.
void printInfo | ( | ) | const |