Remoting
Animation
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
19
class
VTKREMOTINGANIMATION_EXPORT
vtkPVSinusoidKeyFrame
:
public
vtkPVKeyFrame
20
{
21
public
:
22
static
vtkPVSinusoidKeyFrame
*
New
();
23
vtkTypeMacro(
vtkPVSinusoidKeyFrame
,
vtkPVKeyFrame
);
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
:
59
vtkPVSinusoidKeyFrame
();
60
~
vtkPVSinusoidKeyFrame
()
override
;
61
62
double
Phase
;
63
double
Frequency
;
64
double
Offset
;
65
66
private
:
67
vtkPVSinusoidKeyFrame
(
const
vtkPVSinusoidKeyFrame
&) =
delete
;
68
void
operator=(
const
vtkPVSinusoidKeyFrame
&) =
delete
;
69
};
70
71
#endif
vtkPVKeyFrame::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkPVKeyFrame.h
vtkPVAnimationCue
proxy for vtkAnimationCue.
Definition:
vtkPVAnimationCue.h:26
vtkPVKeyFrame::New
static vtkPVKeyFrame * New()
vtkPVSinusoidKeyFrame
Interplates a sinusoid.
Definition:
vtkPVSinusoidKeyFrame.h:19
vtkPVKeyFrame::UpdateValue
virtual void UpdateValue(double currenttime, vtkPVAnimationCue *cue, vtkPVKeyFrame *next)
This method will do the actual interpolation.
vtkIndent
vtkPVSinusoidKeyFrame::Offset
double Offset
Definition:
vtkPVSinusoidKeyFrame.h:64
vtkPVSinusoidKeyFrame::Phase
double Phase
Definition:
vtkPVSinusoidKeyFrame.h:62
vtkPVSinusoidKeyFrame::Frequency
double Frequency
Definition:
vtkPVSinusoidKeyFrame.h:63
VTKREMOTINGANIMATION_EXPORT
#define VTKREMOTINGANIMATION_EXPORT
Definition:
vtkRemotingAnimationModule.h:15
vtkPVKeyFrame
Base class for key frames.
Definition:
vtkPVKeyFrame.h:24
Generated by
1.8.13 on Tue Oct 1 2024