Provides a reader interface for OpenFOAM to VTK interaction. More...
Public Member Functions | |
ClassName ("vtkPV3Foam") | |
Static data members. More... | |
vtkPV3Foam (const char *const FileName, vtkPV3FoamReader *reader) | |
Construct from components. More... | |
~vtkPV3Foam () | |
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 vtkPV3Foam.H.
vtkPV3Foam | ( | const char *const | FileName, |
vtkPV3FoamReader * | reader | ||
) |
Construct from components.
~vtkPV3Foam | ( | ) |
Destructor.
ClassName | ( | "vtkPV3Foam" | ) |
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 vtkPV3Foam.H.
References vtkPV3Foam::printMemory(), and vtkPV3Foam::PrintSelf().
void PrintSelf | ( | ostream & | , |
vtkIndent | |||
) | const |
Debug information.
Referenced by vtkPV3Foam::timeIndex().
|
static |
Simple memory used debugging information.
Definition at line 330 of file vtkPV3FoamUtils.C.
References Foam::Info, and memInfo::valid().
Referenced by vtkPV3Foam::timeIndex().
Foam::label addToSelection | ( | vtkDataArraySelection * | select, |
const IOobjectList & | objectLst, | ||
const string & | suffix | ||
) |
Definition at line 40 of file vtkPV3FoamAddToSelection.H.
References forAll, and IOobjectList::names().