64 #ifndef __vtkTesting_h
65 #define __vtkTesting_h
115 static int InteractorEventLoop(
int argc,
char *argv[],
117 const char *
stream = NULL);
132 virtual int RegressionTest(
double thresh);
133 virtual int RegressionTest(
double thresh,ostream &os);
139 virtual int RegressionTest(
const std::string &pngFileName,
double thresh);
140 virtual int RegressionTest(
const std::string &pngFileName,
141 double thresh, ostream& os);
146 virtual int RegressionTest(
vtkAlgorithm* imageSource,
double thresh);
147 virtual int RegressionTest(
vtkAlgorithm* imageSource,
double thresh,
171 const char *GetValidImageFileName();
185 void AddArgument(
const char *argv);
186 void AddArguments(
int argc,
const char **argv);
194 char *GetArgument(
const char *arg);
200 void CleanArguments();
204 const char *GetDataRoot();
210 const char *GetTempDirectory();
215 int IsValidImageSpecified();
218 int IsInteractiveModeSpecified();
221 int IsFlagSpecified(
const char *flag);
240 static char* IncrementFileName(
const char* fname,
int count);
241 static int LookForFile(
const char* newFileName);
abstract base class for most VTK objects
abstract class to specify dataset behavior
a unified VTK regression testing framework
#define vtkGetMacro(name, type)
#define VTKTESTINGRENDERING_EXPORT
virtual void SetRenderWindow(vtkRenderWindow *renwin)
GLuint GLuint GLsizei count
#define vtkSetClampMacro(name, type, min, max)
#define vtkSetStringMacro(name)
std::vector< std::string > Args
#define vtkTypeMacro(thisClass, superclass)
platform-independent render window interaction including picking and frame rate control.
Superclass for all sources, filters, and sinks in VTK.
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
topologically and geometrically regular array of data
abstract superclass for arrays of numeric data
vtkRenderWindow * RenderWindow
char * ValidImageFileName
#define vtkGetObjectMacro(name, type)
vtkWeakPointer< vtkRenderWindow > RenderWindow
create a window for renderers to draw into
#define vtkBooleanMacro(name, type)
GLsizei const GLchar ** string
#define vtkSetMacro(name, type)