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 "vtkRemotingMiscModule.h" //needed for exports
29 #include "vtkSMObject.h"
30 
31 class vtkSMViewProxy;
32 class vtkTesting;
33 
35 {
36 public:
37  static vtkSMTesting* New();
38  vtkTypeMacro(vtkSMTesting, vtkSMObject);
39  void PrintSelf(ostream& os, vtkIndent indent) override;
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() override;
64 
67 
68 private:
69  vtkSMTesting(const vtkSMTesting&) = delete;
70  void operator=(const vtkSMTesting&) = delete;
71 };
72 #endif
Superclass for all view proxies.
superclass for most server manager classes
Definition: vtkSMObject.h:29
void SetRenderViewProxy(vtkSMViewProxy *proxy)
API for backwards compatibility.
Definition: vtkSMTesting.h:49
vtkTesting adaptor for Server Manager.
Definition: vtkSMTesting.h:34
#define VTKREMOTINGMISC_EXPORT
static vtkSMObject * New()
vtkSMViewProxy * ViewProxy
Definition: vtkSMTesting.h:65
vtkTesting * Testing
Definition: vtkSMTesting.h:66
void PrintSelf(ostream &os, vtkIndent indent) override