ParaView
vtkPVCameraCueManipulator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVCameraCueManipulator.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 =========================================================================*/
28 #ifndef vtkPVCameraCueManipulator_h
29 #define vtkPVCameraCueManipulator_h
30 
31 #include "vtkPVAnimationModule.h" //needed for exports
33 
34 class vtkCameraInterpolator;
35 class vtkSMProxy;
36 
37 class VTKPVANIMATION_EXPORT vtkPVCameraCueManipulator : public vtkPVKeyFrameCueManipulator
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
44  enum Modes
45  {
48  FOLLOW_DATA
49  };
50 
52 
64  vtkSetClampMacro(Mode, int, CAMERA, FOLLOW_DATA);
65  vtkGetMacro(Mode, int);
67 
72  void SetDataSourceProxy(vtkSMProxy* dataSourceProxy);
73 
74 protected:
77 
78  int Mode;
79 
80  virtual void Initialize(vtkPVAnimationCue*);
81  virtual void Finalize(vtkPVAnimationCue*);
86  virtual void UpdateValue(double currenttime, vtkPVAnimationCue* cueproxy);
87 
88  vtkCameraInterpolator* CameraInterpolator;
90 
91 private:
92  vtkPVCameraCueManipulator(const vtkPVCameraCueManipulator&) VTK_DELETE_FUNCTION;
93  void operator=(const vtkPVCameraCueManipulator&) VTK_DELETE_FUNCTION;
94 };
95 
96 #endif
virtual void Finalize(vtkPVAnimationCue *)
This method is called when the AnimationCue's EndAnimationCueEvent is triggerred. ...
proxy for vtkAnimationCue.
virtual void UpdateValue(double currenttime, vtkPVAnimationCue *cueproxy)
This updates the values based on currenttime.
animation manipulator that uses keyframes to generate the animation.
void PrintSelf(ostream &os, vtkIndent indent)
virtual void Initialize(vtkPVAnimationCue *)
This method is called when the AnimationCue's StartAnimationCueEvent is triggerred, to let the animation manipulator know that the cue has been restarted.
vtkCameraInterpolator * CameraInterpolator
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
static vtkPVKeyFrameCueManipulator * New()