vtkPVSinusoidKeyFrame.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkPVSinusoidKeyFrame_h
15 #define vtkPVSinusoidKeyFrame_h
16 
17 #include "vtkPVKeyFrame.h"
18 
20 {
21 public:
22  static vtkPVSinusoidKeyFrame* New();
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
31  void UpdateValue(double currenttime, vtkPVAnimationCue* cue, vtkPVKeyFrame* next) override;
32 
34 
37  vtkSetMacro(Phase, double);
38  vtkGetMacro(Phase, double);
40 
42 
46  vtkSetMacro(Frequency, double);
47  vtkGetMacro(Frequency, double);
49 
51 
54  vtkSetMacro(Offset, double);
55  vtkGetMacro(Offset, double);
57 
58 protected:
60  ~vtkPVSinusoidKeyFrame() override;
61 
62  double Phase;
63  double Frequency;
64  double Offset;
65 
66 private:
68  void operator=(const vtkPVSinusoidKeyFrame&) = delete;
69 };
70 
71 #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:24