vtkPVKeyFrameAnimationCue.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: $RCSfile$
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 =========================================================================*/
22 #ifndef vtkPVKeyFrameAnimationCue_h
23 #define vtkPVKeyFrameAnimationCue_h
24 
25 #include "vtkPVAnimationCue.h"
26 
27 class vtkPVKeyFrame;
29 
30 class VTKREMOTINGANIMATION_EXPORT vtkPVKeyFrameAnimationCue : public vtkPVAnimationCue
31 {
32 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
40  int AddKeyFrame(vtkPVKeyFrame* keyframe);
41  int GetLastAddedKeyFrameIndex();
42  void RemoveKeyFrame(vtkPVKeyFrame*);
43  void RemoveAllKeyFrames();
45 
46 protected:
48  ~vtkPVKeyFrameAnimationCue() override;
49 
50  vtkPVKeyFrameCueManipulator* GetKeyFrameManipulator();
51 
52 private:
54  void operator=(const vtkPVKeyFrameAnimationCue&) = delete;
55 };
56 
57 #endif
proxy for vtkAnimationCue.
animation manipulator that uses keyframes to generate the animation.
void PrintSelf(ostream &os, vtkIndent indent) override
vtkPVKeyFrameAnimationCue is a specialization of vtkPVAnimationCue that uses the vtkPVKeyFrameCueMani...
Base class for key frames.
Definition: vtkPVKeyFrame.h:36