vtkPVCueManipulator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVCueManipulator.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
37 #ifndef vtkPVCueManipulator_h
38 #define vtkPVCueManipulator_h
39 
40 #include "vtkObject.h"
41 #include "vtkRemotingAnimationModule.h" // needed for export macro
42 
43 class vtkPVAnimationCue;
44 
46 {
47 public:
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
55  enum
56  {
57  StateModifiedEvent = 2000
58  };
59 
60 protected:
73  virtual void Initialize(vtkPVAnimationCue*) {}
74 
80  virtual void Finalize(vtkPVAnimationCue*) {}
81 
86  virtual void UpdateValue(double currenttime, vtkPVAnimationCue* cueproxy) = 0;
87 
89  ~vtkPVCueManipulator() override;
90  friend class vtkPVAnimationCue;
91 
92 private:
94  void operator=(const vtkPVCueManipulator&) = delete;
95 };
96 
97 #endif
proxy for vtkAnimationCue.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual void Finalize(vtkPVAnimationCue *)
This method is called when the AnimationCue's EndAnimationCueEvent is triggered.
abstract proxy for manipulators used in animation.
#define VTKREMOTINGANIMATION_EXPORT
void operator=(const vtkObjectBase &)
virtual void Initialize(vtkPVAnimationCue *)
This method is called when the AnimationCue's StartAnimationCueEvent is triggered, to let the animation manipulator know that the cue has been restarted.