ParaView
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 
25 #include "vtkPVAnimationModule.h" //needed for exports
27 
28 class vtkCamera;
30 class vtkPVRenderView;
31 class vtkSMProxy;
32 
33 class VTKPVANIMATION_EXPORT vtkPVCameraAnimationCue : public vtkPVKeyFrameAnimationCue
34 {
35 public:
36  static vtkPVCameraAnimationCue* New();
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41 
44  void SetView(vtkPVRenderView*);
45  vtkGetObjectMacro(View, vtkPVRenderView);
47 
51  vtkCamera* GetCamera();
52 
56  void SetMode(int mode);
57 
58  virtual void BeginUpdateAnimationValues() {}
59  virtual void SetAnimationValue(int, double) {}
60  virtual void EndUpdateAnimationValues();
61 
62  void SetDataSourceProxy(vtkSMProxy* dataSourceProxy);
63 
64 protected:
67 
70 
71 private:
72  vtkPVCameraAnimationCue(const vtkPVCameraAnimationCue&) VTK_DELETE_FUNCTION;
73  void operator=(const vtkPVCameraAnimationCue&) VTK_DELETE_FUNCTION;
74 };
75 
76 #endif
void PrintSelf(ostream &os, vtkIndent indent)
virtual void EndUpdateAnimationValues()=0
Used to update the animated item.
vtkPVKeyFrameAnimationCue is a specialization of vtkPVAnimationCue that uses the vtkPVKeyFrameCueMani...
vtkPVCameraAnimationCue is a specialization of the vtkPVKeyFrameAnimationCue suitable for animating c...
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
virtual void BeginUpdateAnimationValues()
Used to update the animated item.
virtual void SetAnimationValue(int, double)
Used to update the animated item.
Render View for ParaView.