vtkPVCameraCueManipulator.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
16 #ifndef vtkPVCameraCueManipulator_h
17 #define vtkPVCameraCueManipulator_h
18 
19 #include "vtkCameraInterpolator.h" // needed for interpolation enum
21 #include "vtkRemotingAnimationModule.h" //needed for exports
22 
23 class vtkSMProxy;
24 
26 {
27 public:
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
32  enum Modes
33  {
36  FOLLOW_DATA
37  };
38 
40 
52  vtkSetClampMacro(Mode, int, CAMERA, FOLLOW_DATA);
53  vtkGetMacro(Mode, int);
55 
57 
60  vtkSetClampMacro(InterpolationMode, int, vtkCameraInterpolator::INTERPOLATION_TYPE_LINEAR,
62  vtkGetMacro(InterpolationMode, int);
64 
69  void SetDataSourceProxy(vtkSMProxy* dataSourceProxy);
70 
71 protected:
73  ~vtkPVCameraCueManipulator() override;
74 
75  int Mode;
77 
78  void Initialize(vtkPVAnimationCue*) override;
79  void Finalize(vtkPVAnimationCue*) override;
84  void UpdateValue(double currenttime, vtkPVAnimationCue* cueproxy) override;
85 
88 
89 private:
91  void operator=(const vtkPVCameraCueManipulator&) = delete;
92 };
93 
94 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
void Finalize(vtkPVAnimationCue *) override
This method is called when the AnimationCue's EndAnimationCueEvent is triggered.
void UpdateValue(double currenttime, vtkPVAnimationCue *cueproxy) override
This updates the values based on currenttime.
proxy for vtkAnimationCue.
animation manipulator that uses keyframes to generate the animation.
vtkCameraInterpolator * CameraInterpolator
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
#define VTKREMOTINGANIMATION_EXPORT
void Initialize(vtkPVAnimationCue *) override
This method is called when the AnimationCue's StartAnimationCueEvent is triggered, to let the animation manipulator know that the cue has been restarted.
static vtkPVKeyFrameCueManipulator * New()