VTK
QTestMainWindow.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: QTestMainWindow.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 #include <QMainWindow>
16 
17 class vtkRenderWindow;
18 
19 class QTestMainWindow : public QMainWindow
20 {
21  Q_OBJECT
22 
23  public:
24  QTestMainWindow(vtkRenderWindow* renWin, int ac, char** av);
25 
26  bool regressionImageResult() const;
27  public slots:
28  void captureImage();
29  private:
30  bool RegressionImageResult;
31  vtkRenderWindow* RenderWindow;
32 
33  int argc;
34  char** argv;
35 };
QTestMainWindow(vtkRenderWindow *renWin, int ac, char **av)
bool regressionImageResult() const
create a window for renderers to draw into