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 
22 class VTKREMOTINGMISC_EXPORT vtkSMTesting : public vtkSMObject
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
vtkSMObject
superclass for most server manager classes
Definition: vtkSMObject.h:17
vtkSMObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSMObject.h
vtkSMTesting
vtkTesting adaptor for Server Manager. .DESCRIPTION This provides helper methods to use view proxy fo...
Definition: vtkSMTesting.h:22
vtkIndent
vtkTesting
vtkSMViewProxy
Superclass for all view proxies.
Definition: vtkSMViewProxy.h:42
vtkSMTesting::SetRenderViewProxy
void SetRenderViewProxy(vtkSMViewProxy *proxy)
API for backwards compatibility.
Definition: vtkSMTesting.h:37
vtkSMTesting::Testing
vtkTesting * Testing
Definition: vtkSMTesting.h:54
vtkSMObject::New
static vtkSMObject * New()
vtkSMTesting::ViewProxy
vtkSMViewProxy * ViewProxy
Definition: vtkSMTesting.h:53