Classes | Public Member Functions | Static Public Member Functions | List of all members
vtkPVFoam Class Reference

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...
 

Detailed Description

Provides a reader interface for OpenFOAM to VTK interaction.

Source files
Needed by VTK: vtkDataArrayTemplateImplicit.txx

Definition at line 107 of file vtkPVFoam.H.

Constructor & Destructor Documentation

vtkPVFoam ( const char *const  FileName,
vtkPVFoamReader *  reader 
)

Construct from components.

~vtkPVFoam ( )

Destructor.

Member Function Documentation

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

int timeIndex ( ) const
inline

The current time index.

Definition at line 709 of file vtkPVFoam.H.

References vtkPVFoam::printMemory(), and vtkPVFoam::PrintSelf().

Here is the call graph for this function:

void PrintSelf ( ostream &  ,
vtkIndent   
) const

Debug information.

Referenced by vtkPVFoam::timeIndex().

Here is the caller graph for this function:

void printMemory ( )
static

Simple memory used debugging information.

Definition at line 330 of file vtkPVFoamUtils.C.

References Foam::Info, and memInfo::valid().

Referenced by vtkPVFoam::timeIndex().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::label addToSelection ( vtkDataArraySelection *  select,
const IOobjectList objectLst,
const string suffix 
)

Definition at line 40 of file vtkPVFoamAddToSelection.H.

References forAll, and IOobjectList::names().

Here is the call graph for this function:


The documentation for this class was generated from the following files: