RSeries astromech firmware
Easing Class Reference

#include <ServoEasing.h>

Public Types

enum  {
  kLinearInterpolation = 0, kContinuous = 1, kQuadraticEaseIn = 2, kQuadraticEaseOut = 3,
  kQuadraticEaseInOut = 4, kCubicEaseIn = 5, kCubicEaseOut = 6, kCubicEaseInOut = 7,
  kQuarticEaseIn = 8, kQuarticEaseOut = 9, kQuarticEaseInOut = 10, kQuinticEaseIn = 11,
  kQuinticEaseOut = 12, kQuinticEaseInOut = 13, kSineEaseIn = 14, kSineEaseOut = 15,
  kSineEaseInOut = 16, kCircularEaseIn = 17, kCircularEaseOut = 18, kCircularEaseInOut = 19,
  kExponentialEaseIn = 20, kExponentialEaseOut = 21, kExponentialEaseInOut = 22, kElasticEaseIn = 23,
  kElasticEaseOut = 24, kElasticEaseInOut = 25, kBackEaseIn = 26, kBackEaseOut = 27,
  kBackEaseInOut = 28, kBounceEaseIn = 29, kBounceEaseOut = 30, kBounceEaseInOut = 31
}
 
typedef float(* Method) (float)
 

Static Public Member Functions

static float LinearInterpolation (float p)
 
static float Continuous (float p)
 
static float QuadraticEaseIn (float p)
 
static float QuadraticEaseOut (float p)
 
static float QuadraticEaseInOut (float p)
 
static float CubicEaseIn (float p)
 
static float CubicEaseOut (float p)
 
static float CubicEaseInOut (float p)
 
static float QuarticEaseIn (float p)
 
static float QuarticEaseOut (float p)
 
static float QuarticEaseInOut (float p)
 
static float QuinticEaseIn (float p)
 
static float QuinticEaseOut (float p)
 
static float QuinticEaseInOut (float p)
 
static float SineEaseIn (float p)
 
static float SineEaseOut (float p)
 
static float SineEaseInOut (float p)
 
static float CircularEaseIn (float p)
 
static float CircularEaseOut (float p)
 
static float CircularEaseInOut (float p)
 
static float ExponentialEaseIn (float p)
 
static float ExponentialEaseOut (float p)
 
static float ExponentialEaseInOut (float p)
 
static float ElasticEaseIn (float p)
 
static float ElasticEaseOut (float p)
 
static float ElasticEaseInOut (float p)
 
static float BackEaseIn (float p)
 
static float BackEaseOut (float p)
 
static float BackEaseInOut (float p)
 
static float BounceEaseIn (float p)
 
static float BounceEaseOut (float p)
 
static float BounceEaseInOut (float p)
 
static Method getEasingMethod (uint8_t i)
 

Member Typedef Documentation

◆ Method

typedef float(* Easing::Method) (float)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kLinearInterpolation 
kContinuous 
kQuadraticEaseIn 
kQuadraticEaseOut 
kQuadraticEaseInOut 
kCubicEaseIn 
kCubicEaseOut 
kCubicEaseInOut 
kQuarticEaseIn 
kQuarticEaseOut 
kQuarticEaseInOut 
kQuinticEaseIn 
kQuinticEaseOut 
kQuinticEaseInOut 
kSineEaseIn 
kSineEaseOut 
kSineEaseInOut 
kCircularEaseIn 
kCircularEaseOut 
kCircularEaseInOut 
kExponentialEaseIn 
kExponentialEaseOut 
kExponentialEaseInOut 
kElasticEaseIn 
kElasticEaseOut 
kElasticEaseInOut 
kBackEaseIn 
kBackEaseOut 
kBackEaseInOut 
kBounceEaseIn 
kBounceEaseOut 
kBounceEaseInOut 

Member Function Documentation

◆ BackEaseIn()

static float Easing::BackEaseIn ( float  p)
inlinestatic

◆ BackEaseInOut()

static float Easing::BackEaseInOut ( float  p)
inlinestatic

◆ BackEaseOut()

static float Easing::BackEaseOut ( float  p)
inlinestatic

◆ BounceEaseIn()

static float Easing::BounceEaseIn ( float  p)
inlinestatic

◆ BounceEaseInOut()

static float Easing::BounceEaseInOut ( float  p)
inlinestatic

◆ BounceEaseOut()

static float Easing::BounceEaseOut ( float  p)
inlinestatic

◆ CircularEaseIn()

static float Easing::CircularEaseIn ( float  p)
inlinestatic

◆ CircularEaseInOut()

static float Easing::CircularEaseInOut ( float  p)
inlinestatic

◆ CircularEaseOut()

static float Easing::CircularEaseOut ( float  p)
inlinestatic

◆ Continuous()

static float Easing::Continuous ( float  p)
inlinestatic

◆ CubicEaseIn()

static float Easing::CubicEaseIn ( float  p)
inlinestatic

◆ CubicEaseInOut()

static float Easing::CubicEaseInOut ( float  p)
inlinestatic

◆ CubicEaseOut()

static float Easing::CubicEaseOut ( float  p)
inlinestatic

◆ ElasticEaseIn()

static float Easing::ElasticEaseIn ( float  p)
inlinestatic

◆ ElasticEaseInOut()

static float Easing::ElasticEaseInOut ( float  p)
inlinestatic

◆ ElasticEaseOut()

static float Easing::ElasticEaseOut ( float  p)
inlinestatic

◆ ExponentialEaseIn()

static float Easing::ExponentialEaseIn ( float  p)
inlinestatic

◆ ExponentialEaseInOut()

static float Easing::ExponentialEaseInOut ( float  p)
inlinestatic

◆ ExponentialEaseOut()

static float Easing::ExponentialEaseOut ( float  p)
inlinestatic

◆ getEasingMethod()

static Method Easing::getEasingMethod ( uint8_t  i)
inlinestatic

◆ LinearInterpolation()

static float Easing::LinearInterpolation ( float  p)
inlinestatic

◆ QuadraticEaseIn()

static float Easing::QuadraticEaseIn ( float  p)
inlinestatic

◆ QuadraticEaseInOut()

static float Easing::QuadraticEaseInOut ( float  p)
inlinestatic

◆ QuadraticEaseOut()

static float Easing::QuadraticEaseOut ( float  p)
inlinestatic

◆ QuarticEaseIn()

static float Easing::QuarticEaseIn ( float  p)
inlinestatic

◆ QuarticEaseInOut()

static float Easing::QuarticEaseInOut ( float  p)
inlinestatic

◆ QuarticEaseOut()

static float Easing::QuarticEaseOut ( float  p)
inlinestatic

◆ QuinticEaseIn()

static float Easing::QuinticEaseIn ( float  p)
inlinestatic

◆ QuinticEaseInOut()

static float Easing::QuinticEaseInOut ( float  p)
inlinestatic

◆ QuinticEaseOut()

static float Easing::QuinticEaseOut ( float  p)
inlinestatic

◆ SineEaseIn()

static float Easing::SineEaseIn ( float  p)
inlinestatic

◆ SineEaseInOut()

static float Easing::SineEaseInOut ( float  p)
inlinestatic

◆ SineEaseOut()

static float Easing::SineEaseOut ( float  p)
inlinestatic

The documentation for this class was generated from the following file: