src
paraview-5.12
Qt
Core
pqExtractor.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 pqExtractor_h
5
#define pqExtractor_h
6
7
#include "
pqProxy.h
"
8
#include <QScopedPointer>
9
10
class
pqView
;
11
21
class
PQCORE_EXPORT
pqExtractor
:
public
pqProxy
22
{
23
Q_OBJECT
24
typedef
pqProxy
Superclass
;
25
26
public
:
27
pqExtractor
(
const
QString& group,
const
QString&
name
,
vtkSMProxy
* proxy,
pqServer
* server,
28
QObject* parent =
nullptr
);
29
~
pqExtractor
()
override
;
30
37
pqServerManagerModelItem
* producer()
const
;
38
42
bool
isImageExtractor()
const
;
43
47
bool
isDataExtractor()
const
;
48
52
bool
isEnabled()
const
;
53
60
void
toggleEnabledState(
pqView
* view);
61
62
Q_SIGNALS:
64
69
void
producerAdded(
pqServerManagerModelItem
* producer,
pqExtractor
*
self
);
70
void
producerRemoved(
pqServerManagerModelItem
* producer,
pqExtractor
*
self
);
72
76
void
enabledStateChanged();
77
78
protected
:
79
void
initialize
()
override
;
80
81
private
Q_SLOTS:
82
void
producerChanged();
83
84
private
:
// NOLINT(readability-redundant-access-specifiers)
85
Q_DISABLE_COPY(
pqExtractor
);
86
87
class
pqInternals;
88
QScopedPointer<pqInternals> Internals;
89
};
90
91
#endif
pqView
This is a PQ abstraction of a generic view module.
Definition:
pqView.h:26
pqExtractor
pqProxy subclass for extractors
Definition:
pqExtractor.h:21
vtkSMProxy
proxy for a VTK object(s) on a server
Definition:
vtkSMProxy.h:140
pqServer
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
Definition:
pqServer.h:35
pqProxy::initialize
virtual void initialize()
name
name
pqServerManagerModelItem
pqServerManagerModelItem is a element maintained by pqServerManagerModel.
Definition:
pqServerManagerModelItem.h:19
pqProxy
This class represents any registered Server Manager proxy.
Definition:
pqProxy.h:28
pqProxy.h
Generated by
1.8.17 on Wed Mar 27 2024