pqComparativeRenderView.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 #ifndef pqComparativeRenderView_h
5 #define pqComparativeRenderView_h
6 
7 #include "pqRenderView.h"
8 
10 
15 {
16  Q_OBJECT
17  typedef pqRenderView Superclass;
18 
19 public:
20  static QString comparativeRenderViewType() { return "ComparativeRenderView"; }
21 
22  // Constructor:
23  // \c group :- SManager registration group name.
24  // \c name :- SManager registration name.
25  // \c view :- RenderView proxy.
26  // \c server:- server on which the proxy is created.
27  // \c parent:- QObject parent.
28  pqComparativeRenderView(const QString& group, const QString& name, vtkSMViewProxy* renModule,
29  pqServer* server, QObject* parent = nullptr);
30  ~pqComparativeRenderView() override;
31 
35  vtkSMComparativeViewProxy* getComparativeRenderViewProxy() const;
36 
40  vtkSMRenderViewProxy* getRenderViewProxy() const override;
41 
42 protected Q_SLOTS:
46  void updateViewWidgets(QWidget* container = nullptr);
47 
48 protected: // NOLINT(readability-redundant-access-specifiers)
53  QWidget* createWidget() override;
54 
55 private:
56  Q_DISABLE_COPY(pqComparativeRenderView)
57 
58  class pqInternal;
59  pqInternal* Internal;
60 };
61 
62 #endif
static QString comparativeRenderViewType()
RenderView used for comparative visualization (or film-strip visualization).
Superclass for all view proxies.
QWidget * createWidget() override
Creates a new instance of the QWidget subclass to be used to show this view.
name
implementation for View that includes render window and renderers.
view for comparative visualization/ film-strips.
#define PQCORE_EXPORT
Definition: pqCoreModule.h:15
virtual vtkSMRenderViewProxy * getRenderViewProxy() const
Returns the render view proxy associated with this object.
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
Definition: pqServer.h:35