edu.stanford.rsl.konrad.geometry.motion.timewarp
Class HarmonicTimeWarper

java.lang.Object
  extended by edu.stanford.rsl.konrad.geometry.motion.timewarp.TimeWarper
      extended by edu.stanford.rsl.konrad.geometry.motion.timewarp.HarmonicTimeWarper

public class HarmonicTimeWarper
extends TimeWarper

Implements a harmonic motion which is n x the original Motion.

Author:
akmaier

Constructor Summary
HarmonicTimeWarper(double n)
          Creates a new harmonic time warper.
 
Method Summary
static void main(java.lang.String[] args)
           
 double warpTime(double time)
          Applies the time warping to the given input time
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HarmonicTimeWarper

public HarmonicTimeWarper(double n)
Creates a new harmonic time warper. The new motion is n-times the old motion.

Parameters:
n -
Method Detail

warpTime

public double warpTime(double time)
Description copied from class: TimeWarper
Applies the time warping to the given input time

Specified by:
warpTime in class TimeWarper
Parameters:
time - the input time
Returns:
the output time

main

public static void main(java.lang.String[] args)