ParaView
vtkSMTesting.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMTesting.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
25 #ifndef vtkSMTesting_h
26 #define vtkSMTesting_h
27 
28 #include "vtkPVServerManagerDefaultModule.h" //needed for exports
29 #include "vtkSMObject.h"
30 
31 class vtkSMViewProxy;
32 class vtkTesting;
33 
34 class VTKPVSERVERMANAGERDEFAULT_EXPORT vtkSMTesting : public vtkSMObject
35 {
36 public:
37  static vtkSMTesting* New();
38  vtkTypeMacro(vtkSMTesting, vtkSMObject);
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
44  void SetViewProxy(vtkSMViewProxy* view);
45 
49  void SetRenderViewProxy(vtkSMViewProxy* proxy) { this->SetViewProxy(proxy); }
50 
54  virtual void AddArgument(const char* arg);
55 
59  virtual int RegressionTest(float thresh);
60 
61 protected:
62  vtkSMTesting();
63  ~vtkSMTesting();
64 
66  vtkTesting* Testing;
67 
68 private:
69  vtkSMTesting(const vtkSMTesting&) VTK_DELETE_FUNCTION;
70  void operator=(const vtkSMTesting&) VTK_DELETE_FUNCTION;
71 };
72 #endif
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for all view proxies.
superclass for most server manager classes
Definition: vtkSMObject.h:31
void SetRenderViewProxy(vtkSMViewProxy *proxy)
API for backwards compatibility.
Definition: vtkSMTesting.h:49
vtkTesting adaptor for Server Manager.
Definition: vtkSMTesting.h:34
static vtkSMObject * New()
vtkSMViewProxy * ViewProxy
Definition: vtkSMTesting.h:65
vtkTesting * Testing
Definition: vtkSMTesting.h:66