vtkPVSinusoidKeyFrame.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVSinusoidKeyFrame.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 =========================================================================*/
26 #ifndef vtkPVSinusoidKeyFrame_h
27 #define vtkPVSinusoidKeyFrame_h
28 
29 #include "vtkPVKeyFrame.h"
30 
32 {
33 public:
34  static vtkPVSinusoidKeyFrame* New();
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
43  void UpdateValue(double currenttime, vtkPVAnimationCue* cue, vtkPVKeyFrame* next) override;
44 
46 
49  vtkSetMacro(Phase, double);
50  vtkGetMacro(Phase, double);
52 
54 
58  vtkSetMacro(Frequency, double);
59  vtkGetMacro(Frequency, double);
61 
63 
66  vtkSetMacro(Offset, double);
67  vtkGetMacro(Offset, double);
69 
70 protected:
72  ~vtkPVSinusoidKeyFrame() override;
73 
74  double Phase;
75  double Frequency;
76  double Offset;
77 
78 private:
80  void operator=(const vtkPVSinusoidKeyFrame&) = delete;
81 };
82 
83 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
proxy for vtkAnimationCue.
static vtkPVKeyFrame * New()
Interplates a sinusoid.
virtual void UpdateValue(double currenttime, vtkPVAnimationCue *cue, vtkPVKeyFrame *next)
This method will do the actual interpolation.
#define VTKREMOTINGANIMATION_EXPORT
Base class for key frames.
Definition: vtkPVKeyFrame.h:36