67 #ifndef __vtkTesting_h
68 #define __vtkTesting_h
95 static int Test(
int argc,
char *argv[],
vtkRenderWindow *rw,
double thresh);
116 static int InteractorEventLoop(
int argc,
char *argv[],
124 vtkSetClampMacro(FrontBuffer,
int, 0, 1);
125 vtkBooleanMacro(FrontBuffer,
int);
126 vtkGetMacro(FrontBuffer,
int);
132 virtual int RegressionTest(
double thresh);
133 virtual int RegressionTest(
double thresh,ostream &os);
160 vtkSetStringMacro(ValidImageFileName);
161 const char *GetValidImageFileName();
166 vtkGetMacro(ImageDifference,
double);
175 void AddArgument(
const char *argv);
176 void AddArguments(
int argc,
const char **argv);
184 char *GetArgument(
const char *arg);
190 void CleanArguments();
194 const char *GetDataRoot();
195 vtkSetStringMacro(DataRoot);
200 const char *GetTempDirectory();
201 vtkSetStringMacro(TempDirectory);
205 int IsValidImageSpecified();
208 int IsInteractiveModeSpecified();
211 int IsFlagSpecified(
const char *flag);
216 vtkSetMacro(BorderOffset,
int);
217 vtkGetMacro(BorderOffset,
int);
222 vtkSetMacro(Verbose,
int);
223 vtkGetMacro(Verbose,
int);
230 static char* IncrementFileName(
const char* fname,
int count);
231 static int LookForFile(
const char* newFileName);