pqComparativeContextView.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 pqComparativeContextView_h
5 #define pqComparativeContextView_h
6 
7 #include "pqContextView.h"
8 #include <QPointer>
9 
11 
16 class PQCORE_EXPORT pqComparativeContextView : public pqContextView
17 {
18  Q_OBJECT
19  typedef pqContextView Superclass;
20 
21 public:
22  ~pqComparativeContextView() override;
23 
28  vtkContextView* getVTKContextView() const override;
29 
34 
38  vtkSMComparativeViewProxy* getComparativeViewProxy() const;
39 
43  virtual vtkSMViewProxy* getViewProxy() const;
44 
45 protected Q_SLOTS:
49  void updateViewWidgets();
50 
51 protected: // NOLINT(readability-redundant-access-specifiers)
55  QWidget* createWidget() override;
56 
66  pqComparativeContextView(const QString& type, const QString& group, const QString& name,
67  vtkSMComparativeViewProxy* view, pqServer* server, QObject* parent = nullptr);
68 
69  QPointer<QWidget> Widget;
70 
71 private:
72  Q_DISABLE_COPY(pqComparativeContextView)
73 
74  class pqInternal;
75  pqInternal* Internal;
76 };
77 
78 #endif
vtkSMComparativeViewProxy
view for comparative visualization/ film-strips.
Definition: vtkSMComparativeViewProxy.h:24
type
type
pqComparativeContextView::Widget
QPointer< QWidget > Widget
Definition: pqComparativeContextView.h:69
pqContextView
pqContextView is an abstract base class for all charting views based on the VTK context charting libr...
Definition: pqContextView.h:19
pqContextView::getVTKContextView
virtual vtkContextView * getVTKContextView() const
Returns the internal vtkContextView which provides the implementation for the chart rendering.
pqServer
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
Definition: pqServer.h:35
vtkContextView
pqContextView::getContextViewProxy
virtual vtkSMContextViewProxy * getContextViewProxy() const
Returns the context view proxy associated with this object.
vtkSMContextViewProxy
abstract base class for all Chart Views.
Definition: vtkSMContextViewProxy.h:26
name
name
vtkSMViewProxy
Superclass for all view proxies.
Definition: vtkSMViewProxy.h:42
pqComparativeContextView
The abstract base class for comparative chart views.
Definition: pqComparativeContextView.h:16
pqContextView.h
pqView::getViewProxy
vtkSMViewProxy * getViewProxy() const
Returns the internal render Module proxy associated with this object.
pqContextView::createWidget
QWidget * createWidget() override
Creates a new instance of the QWidget subclass to be used to show this view.