ParaView
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 
26 class VTKPVANIMATION_EXPORT vtkPVExponentialKeyFrame : public vtkPVKeyFrame
27 {
28 public:
30  void PrintSelf(ostream& os, vtkIndent indent);
31  static vtkPVExponentialKeyFrame* New();
32 
38  virtual void UpdateValue(double currenttime, vtkPVAnimationCue* cue, vtkPVKeyFrame* next);
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:
57 
58  double Base;
59  double StartPower;
60  double EndPower;
61 
62 private:
63  vtkPVExponentialKeyFrame(const vtkPVExponentialKeyFrame&) VTK_DELETE_FUNCTION;
64  void operator=(const vtkPVExponentialKeyFrame&) VTK_DELETE_FUNCTION;
65 };
66 
67 #endif
proxy for vtkAnimationCue.
static vtkPVKeyFrame * New()
virtual void UpdateValue(double currenttime, vtkPVAnimationCue *cue, vtkPVKeyFrame *next)
This method will do the actual interpolation.
Base class for key frames.
Definition: vtkPVKeyFrame.h:36
void PrintSelf(ostream &os, vtkIndent indent)
Interplates lineraly between consequtive key frames.