Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkTesting Class Reference

#include <vtkTesting.h>

Inheritance diagram for vtkTesting:

Inheritance graph
[legend]
Collaboration diagram for vtkTesting:

Collaboration graph
[legend]
List of all members.

Detailed Description

a unified VTK regression testing framework

Definition at line 75 of file vtkTesting.h.

Public Types

typedef vtkObject Superclass
enum  ReturnValue { FAILED = 0, PASSED = 1, NOT_RUN = 2, DO_INTERACTOR = 3 }

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetFrontBuffer (int)
virtual void FrontBufferOn ()
virtual void FrontBufferOff ()
virtual int GetFrontBuffer ()
virtual int RegressionTest (double thresh)
virtual void SetRenderWindow (vtkRenderWindow *rw)
virtual vtkRenderWindow * GetRenderWindow ()
*virtual void SetDataFileName (const char *)
virtual char * GetDataFileName ()

Static Public Member Functions

static vtkTesting * New ()
static int IsTypeOf (const char *type)
static vtkTesting * SafeDownCast (vtkObject *o)
static int Test (int argc, char *argv[], vtkRenderWindow *rw, double thresh)

Protected Member Functions

 vtkTesting ()
 ~vtkTesting ()

Static Protected Member Functions

static char * IncrementFileName (const char *fname, int count)
static int LookForFile (const char *newFileName)

Protected Attributes

int FrontBuffer
vtkRenderWindow * RenderWindow
char * DataFileName


Member Typedef Documentation

typedef vtkObject vtkTesting::Superclass
 

Reimplemented from vtkObject.

Definition at line 79 of file vtkTesting.h.


Member Enumeration Documentation

enum vtkTesting::ReturnValue
 

Enumeration values:
FAILED 
PASSED 
NOT_RUN 
DO_INTERACTOR 

Definition at line 83 of file vtkTesting.h.


Constructor & Destructor Documentation

vtkTesting::vtkTesting (   )  [protected]
 

vtkTesting::~vtkTesting (   )  [protected]
 


Member Function Documentation

static vtkTesting* vtkTesting::New (   )  [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

virtual const char* vtkTesting::GetClassName (   )  [virtual]
 

Reimplemented from vtkObject.

static int vtkTesting::IsTypeOf (  const char *  type  )  [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

virtual int vtkTesting::IsA (  const char *  type  )  [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

static vtkTesting* vtkTesting::SafeDownCast (  vtkObject *  o  )  [static]
 

Reimplemented from vtkObject.

void vtkTesting::PrintSelf (  ostream &  os,
vtkIndent  indent
)  [virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkObject.

static int vtkTesting::Test (  int  argc,
char *  argv[],
vtkRenderWindow *  rw,
double  thresh
)  [static]
 

virtual void vtkTesting::SetFrontBuffer (  int   )  [virtual]
 

Use front buffer for tests. By default use back buffer.

virtual void vtkTesting::FrontBufferOn (   )  [virtual]
 

virtual void vtkTesting::FrontBufferOff (   )  [virtual]
 

virtual int vtkTesting::GetFrontBuffer (   )  [virtual]
 

virtual int vtkTesting::RegressionTest (  double  thresh  )  [virtual]
 

Perform the test and return result.

virtual void vtkTesting::SetRenderWindow (  vtkRenderWindow *  rw  )  [virtual]
 

Set and get the render window that will be used for regression testing.

virtual vtkRenderWindow* vtkTesting::GetRenderWindow (   )  [virtual]
 

* virtual void vtkTesting::SetDataFileName (  const char *   )  [virtual]
 

virtual char* vtkTesting::GetDataFileName (   )  [virtual]
 

static char* vtkTesting::IncrementFileName (  const char *  fname,
int  count
)  [static, protected]
 

static int vtkTesting::LookForFile (  const char *  newFileName  )  [static, protected]
 


Member Data Documentation

int vtkTesting::FrontBuffer [protected]
 

Definition at line 123 of file vtkTesting.h.

vtkRenderWindow* vtkTesting::RenderWindow [protected]
 

Definition at line 124 of file vtkTesting.h.

char* vtkTesting::DataFileName [protected]
 

Definition at line 125 of file vtkTesting.h.


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