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 (const vtkPVFoam &)=delete | |
Disallow default bitwise copy construction. More... | |
~vtkPVFoam () | |
Destructor. More... | |
void | updateInfo () |
Update information for selection dialogs. More... | |
void | Update (vtkMultiBlockDataSet *output, vtkMultiBlockDataSet *lagrangianOutput) |
Update. More... | |
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... | |
void | operator= (const vtkPVFoam &)=delete |
Disallow default bitwise assignment. More... | |
template<class Type > | |
Foam::label | addToSelection (vtkDataArraySelection *select, const IOobjectList &objectLst, const string &suffix) |
template<class Type > | |
void | convertVolInternalFieldBlock (const VolInternalField< Type > &tf, vtkMultiBlockDataSet *output, const arrayRange &range, const List< polyDecomp > &decompLst) |
template<class Type > | |
void | convertVolInternalField (const VolInternalField< Type > &tf, vtkMultiBlockDataSet *output, const arrayRange &range, const label datasetNo, const polyDecomp &decompInfo) |
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 103 of file vtkPVFoam.H.
vtkPVFoam | ( | const char *const | FileName, |
vtkPVFoamReader * | reader | ||
) |
Construct from components.
~vtkPVFoam | ( | ) |
Destructor.
ClassName | ( | "vtkPVFoam" | ) |
Static data members.
void updateInfo | ( | ) |
Update information for selection dialogs.
void Update | ( | vtkMultiBlockDataSet * | output, |
vtkMultiBlockDataSet * | lagrangianOutput | ||
) |
Update.
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 774 of file vtkPVFoam.H.
void PrintSelf | ( | ostream & | , |
vtkIndent | |||
) | const |
Debug information.
|
static |
Simple memory used debugging information.
|
delete |
Disallow default bitwise assignment.
Foam::label addToSelection | ( | vtkDataArraySelection * | select, |
const IOobjectList & | objectLst, | ||
const string & | suffix | ||
) |
Definition at line 40 of file vtkPVFoamAddToSelection.H.
References forAll, IOobjectList::names(), and List< T >::size().
void convertVolInternalFieldBlock | ( | const VolInternalField< Type > & | tf, |
vtkMultiBlockDataSet * | output, | ||
const arrayRange & | range, | ||
const List< polyDecomp > & | decompLst | ||
) |
Definition at line 371 of file vtkPVFoamVolFields.H.
void convertVolInternalField | ( | const VolInternalField< Type > & | tf, |
vtkMultiBlockDataSet * | output, | ||
const arrayRange & | range, | ||
const label | datasetNo, | ||
const polyDecomp & | decompInfo | ||
) |
Definition at line 399 of file vtkPVFoamVolFields.H.
References Foam::component(), Foam::endl(), forAll, InfoInFunction, Foam::compressible::New(), range, List< T >::size(), and tf.