vtkSMTesting.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
13 #ifndef vtkSMTesting_h
14 #define vtkSMTesting_h
15 
16 #include "vtkRemotingMiscModule.h" //needed for exports
17 #include "vtkSMObject.h"
18 
19 class vtkSMViewProxy;
20 class vtkTesting;
21 
23 {
24 public:
25  static vtkSMTesting* New();
26  vtkTypeMacro(vtkSMTesting, vtkSMObject);
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
32  void SetViewProxy(vtkSMViewProxy* view);
33 
37  void SetRenderViewProxy(vtkSMViewProxy* proxy) { this->SetViewProxy(proxy); }
38 
42  virtual void AddArgument(const char* arg);
43 
47  virtual int RegressionTest(float thresh);
48 
49 protected:
50  vtkSMTesting();
51  ~vtkSMTesting() override;
52 
55 
56 private:
57  vtkSMTesting(const vtkSMTesting&) = delete;
58  void operator=(const vtkSMTesting&) = delete;
59 };
60 #endif
Superclass for all view proxies.
superclass for most server manager classes
Definition: vtkSMObject.h:17
void SetRenderViewProxy(vtkSMViewProxy *proxy)
API for backwards compatibility.
Definition: vtkSMTesting.h:37
vtkTesting adaptor for Server Manager.
Definition: vtkSMTesting.h:22
#define VTKREMOTINGMISC_EXPORT
static vtkSMObject * New()
vtkSMViewProxy * ViewProxy
Definition: vtkSMTesting.h:53
vtkTesting * Testing
Definition: vtkSMTesting.h:54
void PrintSelf(ostream &os, vtkIndent indent) override