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

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

Detailed Description

Provides a reader interface for OpenFOAM to VTK interaction.

Source files
Needed by VTK: vtkDataArrayTemplateImplicit.txx

Definition at line 107 of file vtkPV3Foam.H.

Constructor & Destructor Documentation

vtkPV3Foam ( const char *const  FileName,
vtkPV3FoamReader *  reader 
)

Construct from components.

~vtkPV3Foam ( )

Destructor.

Member Function Documentation

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

int timeIndex ( ) const
inline

The current time index.

Definition at line 709 of file vtkPV3Foam.H.

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

Here is the call graph for this function:

void PrintSelf ( ostream &  ,
vtkIndent   
) const

Debug information.

Referenced by vtkPV3Foam::timeIndex().

Here is the caller graph for this function:

void printMemory ( )
static

Simple memory used debugging information.

Definition at line 330 of file vtkPV3FoamUtils.C.

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

Referenced by vtkPV3Foam::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 vtkPV3FoamAddToSelection.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: