Qt
ApplicationComponents
pqTransferFunctionWidgetPropertyWidget.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
3
#ifndef pqTransferFunctionWidgetPropertyWidget_h
4
#define pqTransferFunctionWidgetPropertyWidget_h
5
6
#include "
pqApplicationComponentsModule.h
"
// for export macros
7
#include "
pqPropertyWidget.h
"
8
9
class
vtkSMTransferFunctionProxy
;
10
class
vtkEventQtSlotConnect
;
11
class
vtkSMRangedTransferFunctionDomain
;
12
class
pqTransferFunctionWidgetPropertyDialog
;
13
20
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqTransferFunctionWidgetPropertyWidget
21
:
public
pqPropertyWidget
22
{
23
Q_OBJECT
24
25
public
:
26
explicit
pqTransferFunctionWidgetPropertyWidget
(
27
vtkSMProxy
* proxy,
vtkSMProperty
* property, QWidget* parent =
nullptr
);
28
~
pqTransferFunctionWidgetPropertyWidget
()
override
;
29
30
friend
pqTransferFunctionWidgetPropertyDialog
;
31
32
Q_SIGNALS:
33
void
domainChanged();
34
35
protected
:
36
void
UpdateProperty();
37
38
protected
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
39
void
editButtonClicked();
40
void
propagateProxyPointsProperty();
41
void
resetRangeToDomainDefault();
42
46
void
updateRange();
47
51
void
onRangeEdited();
52
53
private
:
54
vtkEventQtSlotConnect
* Connection;
55
vtkSMTransferFunctionProxy
* TFProxy;
56
QDialog* Dialog;
57
vtkSMRangedTransferFunctionDomain
* Domain;
58
59
class
pqInternals;
60
const
QScopedPointer<pqInternals> Internals;
61
};
62
63
#endif // pqTransferFunctionWidgetPropertyWidget_h
pqTransferFunctionWidgetPropertyWidget
A property widget for editing a transfer function.
Definition:
pqTransferFunctionWidgetPropertyWidget.h:20
pqPropertyWidget
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
Definition:
pqPropertyWidget.h:25
vtkSMTransferFunctionProxy
vtkSMTransferFunctionProxy is the proxy used for "PVLookupTable", "ColorTransferFunction" and "Piecew...
Definition:
vtkSMTransferFunctionProxy.h:25
pqTransferFunctionWidgetPropertyDialog
Definition:
pqTransferFunctionWidgetPropertyDialog.h:13
PQAPPLICATIONCOMPONENTS_EXPORT
#define PQAPPLICATIONCOMPONENTS_EXPORT
Definition:
pqApplicationComponentsModule.h:15
vtkSMProperty
superclass for all SM properties
Definition:
vtkSMProperty.h:144
pqPropertyWidget.h
vtkEventQtSlotConnect
vtkSMRangedTransferFunctionDomain
represents a ranged vtkSMTransferFunctionProxy
Definition:
vtkSMRangedTransferFunctionDomain.h:31
pqApplicationComponentsModule.h
vtkSMProxy
proxy for a VTK object(s) on a server
Definition:
vtkSMProxy.h:140
pqTransferFunctionWidgetPropertyWidget::pqTransferFunctionWidgetPropertyDialog
friend pqTransferFunctionWidgetPropertyDialog
Definition:
pqTransferFunctionWidgetPropertyWidget.h:30
Generated by
1.8.13 on Mon Dec 11 2023