src
paraview-5.12
Qt
ApplicationComponents
pqViewStreamingBehavior.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 pqViewStreamingBehavior_h
5
#define pqViewStreamingBehavior_h
6
7
#include "pqApplicationComponentsModule.h"
8
#include "pqTimer.h"
9
#include <QObject>
10
11
class
pqView
;
12
class
vtkObject
;
13
26
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqViewStreamingBehavior
:
public
QObject
27
{
28
Q_OBJECT
29
typedef
QObject Superclass;
30
31
public
:
32
pqViewStreamingBehavior
(QObject* parent =
nullptr
);
33
~
pqViewStreamingBehavior
()
override
;
34
39
void
stopAutoUpdates();
40
void
resumeAutoUpdates();
41
void
triggerSingleUpdate();
42
43
protected
Q_SLOTS:
44
void
onViewAdded(
pqView
*);
45
void
onViewUpdated(
vtkObject
*,
unsigned
long
,
void
*);
46
void
onTimeout();
47
48
private
:
49
Q_DISABLE_COPY(
pqViewStreamingBehavior
)
50
pqTimer Timer;
51
int
Pass;
52
bool
DelayUpdate;
53
bool
DisableAutomaticUpdates;
54
55
void
onStartInteractionEvent();
56
void
onEndInteractionEvent();
57
};
58
59
#endif
pqView
This is a PQ abstraction of a generic view module.
Definition:
pqView.h:26
vtkObject
pqViewStreamingBehavior
Definition:
pqViewStreamingBehavior.h:26
Generated by
1.8.17 on Wed Mar 27 2024