V-ART
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
sineinterpolator.h
Go to the documentation of this file.
1
5
#ifndef VART_SINEINTERPOLATOR_H
6
#define VART_SINEINTERPOLATOR_H
7
8
#include "
vart/interpolator.h
"
9
10
namespace
VART {
16
class
SineInterpolator
:
public
Interpolator
{
17
public
:
18
SineInterpolator
();
19
//~ virtual float GetValue(float n) const;
20
virtual
float
GetValue
(
float
linearIndex,
float
initialPos,
float
range)
const
;
21
virtual
TypeID
GetID
()
const
{
return
EASE_IN_EASE_OUT
; }
22
};
// end class declaration
23
}
// end namespace
24
#endif
VART::SineInterpolator
Smooth (sine function) interpolator.
Definition:
sineinterpolator.h:16
VART::SineInterpolator::GetID
virtual TypeID GetID() const
Definition:
sineinterpolator.h:21
VART::Interpolator
Interpolator representation.
Definition:
interpolator.h:17
VART::SineInterpolator::SineInterpolator
SineInterpolator()
Definition:
sineinterpolator.cpp:16
VART::Interpolator::TypeID
TypeID
Definition:
interpolator.h:20
interpolator.h
Header file for V-ART class "Interpolator".
VART::SineInterpolator::GetValue
virtual float GetValue(float linearIndex, float initialPos, float range) const
Evaluates a goal position for DOF interpolation.
Definition:
sineinterpolator.cpp:26
VART::Interpolator::EASE_IN_EASE_OUT
Definition:
interpolator.h:20
Generated on Tue May 6 2014 15:09:54 for V-ART by
1.8.6