pqDisplayOpacityWidget.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 pqDisplayOpacityWidget_h
5 #define pqDisplayOpacityWidget_h
6 
7 #include "pqComponentsModule.h"
8 
9 #include <QWidget>
10 
11 #include <memory>
12 
14 
27 {
28  Q_OBJECT
29  using Superclass = QWidget;
30 
31 public:
32  pqDisplayOpacityWidget(QWidget* parent = nullptr);
33  ~pqDisplayOpacityWidget() override;
34 
38  void setRepresentation(pqDataRepresentation* display);
39 
40 private:
41  Q_DISABLE_COPY(pqDisplayOpacityWidget);
42 
43  void onArrayModified();
44 
45  class pqInternals;
46  std::unique_ptr<pqInternals> Internals;
47 };
48 
49 #endif
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
pqDisplayOpacityWidget enables a user to select the array that maps to opacity on the volume represen...
#define PQCOMPONENTS_EXPORT