vtkPVExponentialKeyFrame.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVExponentialKeyFrame.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 =========================================================================*/
21 #ifndef vtkPVExponentialKeyFrame_h
22 #define vtkPVExponentialKeyFrame_h
23 
24 #include "vtkPVKeyFrame.h"
25 
27 {
28 public:
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31  static vtkPVExponentialKeyFrame* New();
32 
38  void UpdateValue(double currenttime, vtkPVAnimationCue* cue, vtkPVKeyFrame* next) override;
39 
41 
44  vtkSetMacro(Base, double);
45  vtkGetMacro(Base, double);
47 
48  vtkSetMacro(StartPower, double);
49  vtkGetMacro(StartPower, double);
50 
51  vtkSetMacro(EndPower, double);
52  vtkGetMacro(EndPower, double);
53 
54 protected:
56  ~vtkPVExponentialKeyFrame() override;
57 
58  double Base;
59  double StartPower;
60  double EndPower;
61 
62 private:
64  void operator=(const vtkPVExponentialKeyFrame&) = delete;
65 };
66 
67 #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:36
Interplates lineraly between consecutive key frames.