ParaView
|
A custom test driver code that uses ParaView and python. More...
#include <vtkPVCustomTestDriver.h>
Public Types | |
typedef vtkCPTestDriver | Superclass |
![]() | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | Run () |
Run the test driver with the coprocessor. More... | |
virtual int | Initialize (const char *fileName) |
Initialize the driver with the coprocessor. More... | |
virtual int | Finalize () |
Finalize the driver with the coprocessor. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual double | GetTime (unsigned long timeStep) |
Given a TimeStep, return the simulation time corresponding to that time step. More... | |
virtual void | SetNumberOfTimeSteps (unsigned long) |
Set/get NumberOfTimeSteps. More... | |
virtual unsigned long | GetNumberOfTimeSteps () |
Set/get NumberOfTimeSteps. More... | |
void | SetGridBuilder (vtkCPBaseGridBuilder *gridBuilder) |
Set/get GridBuilder. More... | |
vtkCPBaseGridBuilder * | GetGridBuilder () |
Set/get GridBuilder. More... | |
virtual void | SetStartTime (double) |
Set/get the start and end times of the simulation. More... | |
virtual double | GetStartTime () |
Set/get the start and end times of the simulation. More... | |
virtual void | SetEndTime (double) |
Set/get the start and end times of the simulation. More... | |
virtual double | GetEndTime () |
Set/get the start and end times of the simulation. More... | |
Static Public Member Functions | |
static vtkPVCustomTestDriver * | New () |
static int | IsTypeOf (const char *type) |
static vtkPVCustomTestDriver * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkCPTestDriver * | New () |
static int | IsTypeOf (const char *type) |
static vtkCPTestDriver * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPVCustomTestDriver () | |
~vtkPVCustomTestDriver () | |
![]() | |
vtkCPTestDriver () | |
~vtkCPTestDriver () | |
A custom test driver code that uses ParaView and python.
A custom test driver that creates a vtkUniformGrid with a single scalar point field named "Pressure". It runs a python script using ParaView.
Definition at line 31 of file vtkPVCustomTestDriver.h.
Definition at line 35 of file vtkPVCustomTestDriver.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkCPTestDriver.
|
static |
|
virtual |
Reimplemented from vtkCPTestDriver.
|
static |
void vtkPVCustomTestDriver::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Run the test driver with the coprocessor.
Returns 0 if there were no errors.
Reimplemented from vtkCPTestDriver.
|
virtual |
Initialize the driver with the coprocessor.
fileName is the name of the python script. Returns 0 on failure.
|
virtual |
Finalize the driver with the coprocessor.