vtkSMViewResolutionDomain.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
3 #ifndef vtkSMViewResolutionDomain_h
4 #define vtkSMViewResolutionDomain_h
5 
6 #include "vtkRemotingViewsModule.h" //needed for exports
7 #include "vtkSMIntRangeDomain.h"
8 
10 class vtkSMViewProxy;
11 
12 /* @class vtkSMViewProxy
13  * @brief domain for view (or layout) resolution.
14  *
15  * Int range domain that sets up the range based on the current view (or layout resolution).
16  *
17  */
19 {
20 public:
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
29  void Update(vtkSMProperty*) override;
30 
31 protected:
33  ~vtkSMViewResolutionDomain() override;
34 
35  void GetLayoutResolution(vtkSMViewLayoutProxy* layout, int resolution[2]);
36  void GetViewResolution(vtkSMViewProxy* view, int resolution[2]);
37 
38 private:
40  void operator=(const vtkSMViewResolutionDomain&) = delete;
41 };
42 
43 #endif
type specific extension to vtkSMRangeDomainTemplate for ints.
#define VTKREMOTINGVIEWS_EXPORT
static vtkSMIntRangeDomain * New()
virtual void Update(vtkSMProperty *requestingProperty)
Update self based on the "unchecked" values of all required properties.
Superclass for all view proxies.
superclass for all SM properties
vtkSMViewLayoutProxy is used by ParaView to layout multiple views in a 2D KD-Tree layout...
void PrintSelf(ostream &os, vtkIndent indent) override