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  */
18 class VTKREMOTINGVIEWS_EXPORT vtkSMViewResolutionDomain : public vtkSMIntRangeDomain
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
vtkSMIntRangeDomain::New
static vtkSMIntRangeDomain * New()
vtkSMProperty
superclass for all SM properties
Definition: vtkSMProperty.h:144
vtkSMViewResolutionDomain
Definition: vtkSMViewResolutionDomain.h:18
vtkSMDomain::Update
virtual void Update(vtkSMProperty *requestingProperty)
Update self based on the "unchecked" values of all required properties.
vtkIndent
vtkSMViewProxy
Superclass for all view proxies.
Definition: vtkSMViewProxy.h:42
vtkSMIntRangeDomain.h
vtkSMIntRangeDomain
type specific extension to vtkSMRangeDomainTemplate for ints.
Definition: vtkSMIntRangeDomain.h:27
vtkSMIntRangeDomain::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSMViewLayoutProxy
vtkSMViewLayoutProxy is used by ParaView to layout multiple views in a 2D KD-Tree layout.
Definition: vtkSMViewLayoutProxy.h:39