64 #ifndef __vtkTesting_h
65 #define __vtkTesting_h
115 static int InteractorEventLoop(
int argc,
char *argv[],
117 const char *
stream = NULL);
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);
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,
170 vtkSetStringMacro(ValidImageFileName);
171 const char *GetValidImageFileName();
176 vtkGetMacro(ImageDifference,
double);
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();
205 vtkSetStringMacro(DataRoot);
210 const char *GetTempDirectory();
211 vtkSetStringMacro(TempDirectory);
215 int IsValidImageSpecified();
218 int IsInteractiveModeSpecified();
221 int IsFlagSpecified(
const char *flag);
226 vtkSetMacro(BorderOffset,
int);
227 vtkGetMacro(BorderOffset,
int);
232 vtkSetMacro(Verbose,
int);
233 vtkGetMacro(Verbose,
int);
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 VTKTESTINGRENDERING_EXPORT
virtual void SetRenderWindow(vtkRenderWindow *renwin)
GLuint GLuint GLsizei count
std::vector< std::string > Args
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
vtkWeakPointer< vtkRenderWindow > RenderWindow
create a window for renderers to draw into
GLsizei const GLchar ** string