Provides a reader interface for OpenFOAM to VTK interaction. 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 *lagrangianOutput) |
void | CleanUp () |
Clean any storage. More... | |
double * | findTimes (int &nTimeSteps) |
Allocate and return a list of selected times. More... | |
void | renderPatchNames (vtkRenderer *, const bool show) |
Add/remove patch names to/from the view. More... | |
int | setTime (int count, const 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... | |
template<class Type > | |
Foam::label | addToSelection (vtkDataArraySelection *select, const IOobjectList &objectLst, const string &suffix) |
Static Public Member Functions | |
static void | printMemory () |
Simple memory used debugging information. More... | |
Provides a reader interface for OpenFOAM to VTK interaction.
Definition at line 107 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 * | lagrangianOutput | ||
) |
void CleanUp | ( | ) |
Clean any storage.
double* findTimes | ( | int & | nTimeSteps | ) |
Allocate and return a list of selected times.
returns the count via the parameter
void renderPatchNames | ( | vtkRenderer * | , |
const bool | show | ||
) |
Add/remove patch names to/from the view.
int setTime | ( | int | count, |
const 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 709 of file vtkPVFoam.H.
References vtkPVFoam::printMemory(), and vtkPVFoam::PrintSelf().
void PrintSelf | ( | ostream & | , |
vtkIndent | |||
) | const |
Debug information.
Referenced by vtkPVFoam::timeIndex().
|
static |
Simple memory used debugging information.
Definition at line 330 of file vtkPVFoamUtils.C.
References Foam::Info, and memInfo::valid().
Referenced by vtkPVFoam::timeIndex().
Foam::label addToSelection | ( | vtkDataArraySelection * | select, |
const IOobjectList & | objectLst, | ||
const string & | suffix | ||
) |
Definition at line 40 of file vtkPVFoamAddToSelection.H.
References forAll, and IOobjectList::names().