src
paraview-5.12
Qt
ApplicationComponents
pqUseSeparateOpacityArrayReaction.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 pqUseSeparateOpacityArrayReaction_h
5
#define pqUseSeparateOpacityArrayReaction_h
6
7
#include "
pqPropertyLinks.h
"
// For Links
8
#include "
pqReaction.h
"
9
10
#include <QPointer>
11
12
class
pqDataRepresentation
;
13
18
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqUseSeparateOpacityArrayReaction
:
public
pqReaction
19
{
20
Q_OBJECT
21
using
Superclass =
pqReaction
;
22
23
public
:
28
pqUseSeparateOpacityArrayReaction
(QAction* parent,
bool
track_active_objects =
true
);
29
~
pqUseSeparateOpacityArrayReaction
()
override
;
30
34
pqDataRepresentation
* representation()
const
;
35
36
public
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
40
void
setRepresentation(
pqDataRepresentation
*);
41
42
protected
Q_SLOTS:
46
void
updateEnableState
()
override
;
47
48
private
:
49
Q_DISABLE_COPY(
pqUseSeparateOpacityArrayReaction
)
50
51
pqPropertyLinks
Links;
52
QPointer<pqDataRepresentation> CachedRepresentation;
53
bool
TrackActiveObjects;
54
};
55
56
#endif
pqUseSeparateOpacityArrayReaction
Definition:
pqUseSeparateOpacityArrayReaction.h:18
pqReaction.h
pqDataRepresentation
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
Definition:
pqDataRepresentation.h:24
pqPropertyLinks.h
pqPropertyLinks
pqPropertyLinks is used to connect vtkSMProperty and subclasses to properties on QObject instances.
Definition:
pqPropertyLinks.h:38
pqReaction::pqReaction
pqReaction(QAction *parent, Qt::ConnectionType type=Qt::AutoConnection)
Constructor.
pqReaction::updateEnableState
virtual void updateEnableState()
Definition:
pqReaction.h:48
pqReaction
Definition:
pqReaction.h:25
Generated by
1.8.17 on Wed Mar 27 2024