vtkPVCameraAnimationCue.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVCameraAnimationCue.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 =========================================================================*/
22 #ifndef vtkPVCameraAnimationCue_h
23 #define vtkPVCameraAnimationCue_h
24 
26 #include "vtkRemotingAnimationModule.h" //needed for exports
27 
28 class vtkCamera;
30 class vtkPVRenderView;
31 class vtkSMProxy;
32 
34 {
35 public:
36  static vtkPVCameraAnimationCue* New();
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
41 
44  void SetView(vtkPVRenderView*);
45  vtkGetObjectMacro(View, vtkPVRenderView);
47 
51  vtkCamera* GetCamera();
52 
54 
57  void SetMode(int mode);
58  void SetInterpolationMode(int mode);
60 
62 
65  vtkGetObjectMacro(TimeKeeper, vtkSMProxy);
66  void SetTimeKeeper(vtkSMProxy*);
68 
69  void BeginUpdateAnimationValues() override {}
70  void SetAnimationValue(int, double) override {}
71  void EndUpdateAnimationValues() override;
72 
73  void SetDataSourceProxy(vtkSMProxy* dataSourceProxy);
74 
75 protected:
77  ~vtkPVCameraAnimationCue() override;
78 
82 
83 private:
85  void operator=(const vtkPVCameraAnimationCue&) = delete;
86 };
87 
88 #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:152
#define VTKREMOTINGANIMATION_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
Render View for ParaView.