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 
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:
43 
44 private:
45  Q_DISABLE_COPY(pqSaveAnimationGeometryReaction)
46 };
47 
48 #endif
void onTriggered() override
Called when the action is triggered.
virtual void updateEnableState()
Definition: pqReaction.h:48
#define PQAPPLICATIONCOMPONENTS_EXPORT
This is a superclass just to make it easier to collect all such reactions.
Definition: pqReaction.h:25
Reaction to save animation geometry.
static void saveAnimationGeometry()
Saves the animation from the active scene.