vtkPVExponentialKeyFrame.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
9 #ifndef vtkPVExponentialKeyFrame_h
10 #define vtkPVExponentialKeyFrame_h
11 
12 #include "vtkPVKeyFrame.h"
13 
15 {
16 public:
18  void PrintSelf(ostream& os, vtkIndent indent) override;
19  static vtkPVExponentialKeyFrame* New();
20 
26  void UpdateValue(double currenttime, vtkPVAnimationCue* cue, vtkPVKeyFrame* next) override;
27 
29 
32  vtkSetMacro(Base, double);
33  vtkGetMacro(Base, double);
35 
36  vtkSetMacro(StartPower, double);
37  vtkGetMacro(StartPower, double);
38 
39  vtkSetMacro(EndPower, double);
40  vtkGetMacro(EndPower, double);
41 
42 protected:
44  ~vtkPVExponentialKeyFrame() override;
45 
46  double Base;
47  double StartPower;
48  double EndPower;
49 
50 private:
52  void operator=(const vtkPVExponentialKeyFrame&) = delete;
53 };
54 
55 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
proxy for vtkAnimationCue.
static vtkPVKeyFrame * New()
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
Interplates lineraly between consecutive key frames.