ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkPVCustomTestDriver Class Reference

A custom test driver code that uses ParaView and python. More...

#include <vtkPVCustomTestDriver.h>

Inheritance diagram for vtkPVCustomTestDriver:
Inheritance graph
[legend]
Collaboration diagram for vtkPVCustomTestDriver:
Collaboration graph
[legend]

Public Types

typedef vtkCPTestDriver Superclass
 
- Public Types inherited from vtkCPTestDriver
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...
 
- Public Member Functions inherited from vtkCPTestDriver
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...
 
vtkCPBaseGridBuilderGetGridBuilder ()
 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 vtkPVCustomTestDriverNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVCustomTestDriverSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkCPTestDriver
static vtkCPTestDriverNew ()
 
static int IsTypeOf (const char *type)
 
static vtkCPTestDriverSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkPVCustomTestDriver ()
 
 ~vtkPVCustomTestDriver ()
 
- Protected Member Functions inherited from vtkCPTestDriver
 vtkCPTestDriver ()
 
 ~vtkCPTestDriver ()
 

Detailed Description

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.

Member Typedef Documentation

§ Superclass

Definition at line 35 of file vtkPVCustomTestDriver.h.

Constructor & Destructor Documentation

§ vtkPVCustomTestDriver()

vtkPVCustomTestDriver::vtkPVCustomTestDriver ( )
protected

§ ~vtkPVCustomTestDriver()

vtkPVCustomTestDriver::~vtkPVCustomTestDriver ( )
protected

Member Function Documentation

§ New()

static vtkPVCustomTestDriver* vtkPVCustomTestDriver::New ( )
static

§ GetClassName()

virtual const char* vtkPVCustomTestDriver::GetClassName ( )
virtual

Reimplemented from vtkCPTestDriver.

§ IsTypeOf()

static int vtkPVCustomTestDriver::IsTypeOf ( const char *  type)
static

§ IsA()

virtual int vtkPVCustomTestDriver::IsA ( const char *  type)
virtual

Reimplemented from vtkCPTestDriver.

§ SafeDownCast()

static vtkPVCustomTestDriver* vtkPVCustomTestDriver::SafeDownCast ( vtkObject *  o)
static

§ PrintSelf()

void vtkPVCustomTestDriver::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

§ Run()

virtual int vtkPVCustomTestDriver::Run ( )
virtual

Run the test driver with the coprocessor.

Returns 0 if there were no errors.

Reimplemented from vtkCPTestDriver.

§ Initialize()

virtual int vtkPVCustomTestDriver::Initialize ( const char *  fileName)
virtual

Initialize the driver with the coprocessor.

fileName is the name of the python script. Returns 0 on failure.

§ Finalize()

virtual int vtkPVCustomTestDriver::Finalize ( )
virtual

Finalize the driver with the coprocessor.


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