V-ART
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:
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
Smooth (sine function) interpolator.
virtual TypeID GetID() const
Interpolator representation.
Definition: interpolator.h:17
Header file for V-ART class "Interpolator".
virtual float GetValue(float linearIndex, float initialPos, float range) const
Evaluates a goal position for DOF interpolation.