vtkPVCameraAnimationCue.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkPVCameraAnimationCue_h
11 #define vtkPVCameraAnimationCue_h
12 
14 #include "vtkRemotingAnimationModule.h" //needed for exports
15 
16 class vtkCamera;
18 class vtkPVRenderView;
19 class vtkSMProxy;
20 
22 {
23 public:
24  static vtkPVCameraAnimationCue* New();
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
29 
32  void SetView(vtkPVRenderView*);
33  vtkGetObjectMacro(View, vtkPVRenderView);
35 
39  vtkCamera* GetCamera();
40 
42 
45  void SetMode(int mode);
46  void SetInterpolationMode(int mode);
48 
50 
53  vtkGetObjectMacro(TimeKeeper, vtkSMProxy);
54  void SetTimeKeeper(vtkSMProxy*);
56 
57  void BeginUpdateAnimationValues() override {}
58  void SetAnimationValue(int, double) override {}
59  void EndUpdateAnimationValues() override;
60 
61  void SetDataSourceProxy(vtkSMProxy* dataSourceProxy);
62 
63 protected:
65  ~vtkPVCameraAnimationCue() override;
66 
70 
71 private:
73  void operator=(const vtkPVCameraAnimationCue&) = delete;
74 };
75 
76 #endif
void BeginUpdateAnimationValues() override
Used to update the animated item.
static vtkAnimationCue * New()
virtual void EndUpdateAnimationValues()=0
Used to update the animated item.
vtkPVKeyFrameAnimationCue is a specialization of vtkPVAnimationCue that uses the vtkPVKeyFrameCueMani...
void SetAnimationValue(int, double) override
Used to update the animated item.
vtkPVCameraAnimationCue is a specialization of the vtkPVKeyFrameAnimationCue suitable for animating c...
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
#define VTKREMOTINGANIMATION_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
Render View for ParaView.