vtkPVAnimationCue.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
16 #ifndef vtkPVAnimationCue_h
17 #define vtkPVAnimationCue_h
18 
19 #include "vtkAnimationCue.h"
20 #include "vtkRemotingAnimationModule.h" // needed for export macro
21 
22 class vtkAnimationCue;
23 class vtkCommand;
25 
27 {
28 public:
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
33 
38  vtkSetMacro(AnimatedElement, int);
39  vtkGetMacro(AnimatedElement, int);
41 
43 
49  void SetManipulator(vtkPVCueManipulator*);
50  vtkGetObjectMacro(Manipulator, vtkPVCueManipulator);
52 
54 
57  vtkSetMacro(Enabled, int);
58  vtkGetMacro(Enabled, int);
59  vtkBooleanMacro(Enabled, int);
61 
63 
69  virtual void BeginUpdateAnimationValues() = 0;
70  virtual void SetAnimationValue(int index, double value) = 0;
71  virtual void EndUpdateAnimationValues() = 0;
73 
75 
79  vtkSetMacro(UseAnimationTime, bool);
80  vtkGetMacro(UseAnimationTime, bool);
82 
84 
87  void Initialize() override;
88  void Tick(double currenttime, double deltatime, double clocktime) override;
89  void Finalize() override;
91 
92 protected:
94  ~vtkPVAnimationCue() override;
95 
97  void StartCueInternal() override;
98  void TickInternal(double currenttime, double deltatime, double clocktime) override;
99  void EndCueInternal() override;
101 
103 
104  unsigned long ObserverID;
107  int Enabled;
108 
111 
112 private:
113  vtkPVAnimationCue(const vtkPVAnimationCue&) = delete;
114  void operator=(const vtkPVAnimationCue&) = delete;
115 };
116 
117 #endif
virtual void EndCueInternal()
virtual void Tick(double currenttime, double deltatime, double clocktime)
proxy for vtkAnimationCue.
vtkSMAnimationSceneProxy observe vtkCommand::ModifiedEvent on the client-side VTK-object to call Upda...
vtkPVCueManipulator * Manipulator
unsigned long ObserverID
virtual void TickInternal(double currenttime, double deltatime, double clocktime)
virtual void StartCueInternal()
virtual void Initialize()
vtkAnimationCue * AnimationCue
abstract proxy for manipulators used in animation.
#define VTKREMOTINGANIMATION_EXPORT
virtual void Finalize()
void operator=(const vtkObjectBase &)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE