src
paraview-5.12
Qt
ApplicationComponents
pqSaveAnimationGeometryReaction.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 pqSaveAnimationGeometryReaction_h
5
#define pqSaveAnimationGeometryReaction_h
6
7
#include "
pqReaction.h
"
8
13
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqSaveAnimationGeometryReaction
:
public
pqReaction
14
{
15
Q_OBJECT
16
typedef
pqReaction
Superclass;
17
18
public
:
22
pqSaveAnimationGeometryReaction
(QAction* parent);
23
29
static
void
saveAnimationGeometry();
30
static
void
saveAnimationGeometry(
const
QString& filename);
31
32
public
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
36
void
updateEnableState
()
override
;
37
38
protected
:
42
void
onTriggered
()
override
{
pqSaveAnimationGeometryReaction::saveAnimationGeometry
(); }
43
44
private
:
45
Q_DISABLE_COPY(
pqSaveAnimationGeometryReaction
)
46
};
47
48
#endif
pqReaction.h
pqSaveAnimationGeometryReaction::saveAnimationGeometry
static void saveAnimationGeometry()
Saves the animation from the active scene.
pqSaveAnimationGeometryReaction::onTriggered
void onTriggered() override
Called when the action is triggered.
Definition:
pqSaveAnimationGeometryReaction.h:42
pqReaction::updateEnableState
virtual void updateEnableState()
Definition:
pqReaction.h:48
pqSaveAnimationGeometryReaction
Definition:
pqSaveAnimationGeometryReaction.h:13
pqReaction
Definition:
pqReaction.h:25
Generated by
1.8.17 on Wed Mar 27 2024