pqOMETransferFunctionsPropertyWidget.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 pqOMETransferFunctionsPropertyWidget_h
5 #define pqOMETransferFunctionsPropertyWidget_h
6 
8 #include "pqPropertyWidget.h"
9 #include <QScopedPointer> // for QScopedPointer
10 
12 
14 {
15  Q_OBJECT
17 
18 public:
20  vtkSMProxy* proxy, vtkSMPropertyGroup* smgroup, QWidget* parent = nullptr);
22 
23  bool event(QEvent* evt) override;
24 
25 Q_SIGNALS:
26  void xrgbPointsChanged();
27  void xvmsPointsChanged();
28 
29 private Q_SLOTS:
30  void channelVisibilitiesChanged();
31  void stcChanged(pqTransferFunctionWidget* src = nullptr);
32  void pwfChanged(pqTransferFunctionWidget* src = nullptr);
33 
34 private: // NOLINT(readability-redundant-access-specifiers)
36  class pqInternals;
37  QScopedPointer<pqInternals> Internals;
38  bool UpdatingProperty = false;
39 
40  void setXvmsPoints(int index, const QList<QVariant>& xvms);
41  void setXrgbPoints(int index, const QList<QVariant>& xrgb);
42 };
43 
44 #endif
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
pqTransferFunctionWidget provides a widget that can edit the control points in a vtkPiecewiseFunction...
#define PQAPPLICATIONCOMPONENTS_EXPORT
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
index