124 static int InteractorEventLoop(
int argc,
char *argv[],
126 const char *stream = NULL);
135 vtkBooleanMacro(FrontBuffer,
int);
136 vtkGetMacro(FrontBuffer,
int);
137 void SetFrontBuffer(
int frontBuffer);
142 virtual int RegressionTest(
double thresh);
147 virtual int RegressionTestAndCaptureOutput(
double thresh, ostream &os);
153 virtual int RegressionTest(
double thresh,ostream &os);
158 virtual int RegressionTest(
const std::string &pngFileName,
double thresh);
159 virtual int RegressionTest(
const std::string &pngFileName,
160 double thresh, ostream& os);
165 virtual int RegressionTest(
vtkAlgorithm* imageSource,
double thresh);
166 virtual int RegressionTest(
vtkAlgorithm* imageSource,
double thresh,
189 vtkSetStringMacro(ValidImageFileName);
190 const char *GetValidImageFileName();
195 vtkGetMacro(ImageDifference,
double);
204 void AddArgument(
const char *argv);
205 void AddArguments(
int argc,
const char **argv);
206 void AddArguments(
int argc,
char **argv);
214 char *GetArgument(
const char *arg);
220 void CleanArguments();
224 const char *GetDataRoot();
225 vtkSetStringMacro(DataRoot);
230 const char *GetTempDirectory();
231 vtkSetStringMacro(TempDirectory);
235 int IsValidImageSpecified();
238 int IsInteractiveModeSpecified();
241 int IsFlagSpecified(
const char *flag);
246 vtkSetMacro(BorderOffset,
int);
247 vtkGetMacro(BorderOffset,
int);
252 vtkSetMacro(Verbose,
int);
253 vtkGetMacro(Verbose,
int);
260 static char* IncrementFileName(
const char* fname,
int count);
261 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)
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