VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
boeckb
code
depot
group-kitware
vtk
build-release
Utilities
Doxygen
dox
Testing
Rendering
vtkRegressionTestImage.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkRegressionTestImage.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
#ifndef vtkRegressionTestImage_h
16
#define vtkRegressionTestImage_h
17
18
// Includes and a macro necessary for saving the image produced by a cxx
19
// example program. This capability is critical for regression testing.
20
// This function returns 1 if test passed, 0 if test failed.
21
22
#include "
vtkTesting.h
"
23
24
class
vtkRegressionTester
:
public
vtkTesting
25
{
26
protected
:
27
vtkRegressionTester
() {}
28
~vtkRegressionTester
() {}
29
private
:
30
vtkRegressionTester
(
const
vtkRegressionTester
&);
// Not implemented.
31
void
operator=(
const
vtkRegressionTester
&);
// Not implemented.
32
};
33
34
#define vtkRegressionTestImage(rw) \
35
vtkTesting::Test(argc, argv, rw, 10)
36
37
#define vtkRegressionTestImageThreshold(rw, t) \
38
vtkTesting::Test(argc, argv, rw, t)
39
40
#endif // vtkRegressionTestImage_h
41
// VTK-HeaderTest-Exclude: vtkRegressionTestImage.h
vtkTesting.h
vtkTesting
a unified VTK regression testing framework
Definition:
vtkTesting.h:79
vtkRegressionTester::~vtkRegressionTester
~vtkRegressionTester()
Definition:
vtkRegressionTestImage.h:28
vtkRegressionTester::vtkRegressionTester
vtkRegressionTester()
Definition:
vtkRegressionTestImage.h:27
vtkRegressionTester
Definition:
vtkRegressionTestImage.h:24
Generated by
1.8.9.1