Class ZoomPan

java.lang.Object
  |
  +--ZoomPan

public class ZoomPan
extends java.lang.Object


Field Summary
(package private)  double b0
           
(package private)  double b1
           
(package private)  double cosh_r0
           
(package private)  javax.vecmath.Vector2f cs
           
(package private)  javax.vecmath.Vector2f End
           
(package private)  double r0
           
(package private)  double r1
           
(package private)  double Roh
           
(package private)  double roh2
           
(package private)  double s
           
(package private)  double S
           
(package private)  double sinh_r0
           
(package private)  javax.vecmath.Vector2f Start
           
(package private)  double u0
           
(package private)  double u1
           
(package private)  double us
           
(package private)  double Velocity
           
(package private)  double w0
           
(package private)  double w0_coshr0
           
(package private)  double w0_roh2
           
(package private)  double w1
           
(package private)  double ws
           
 
Constructor Summary
ZoomPan()
          Initializes the fields to: Velocity = 0.9f Roh = 1.4142f w0 = 50 w1 = 50 u0 = 0 s = 0 End = new Vector2f(1,1) Start = new Vector2f(0,0) And calculates additional Curve dependent fields
 
Method Summary
(package private)  void advance(float t)
          Advances the curve by the timestep t
(package private)  void calcParams()
          This function precalculates the parameters that define the curve.
(package private)  double cosh(double x)
          Helper function for Cosine Hyperbolical of (x)
(package private)  double sinh(double x)
           
(package private)  double tanh(double x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Velocity

double Velocity

Roh

double Roh

Start

javax.vecmath.Vector2f Start

End

javax.vecmath.Vector2f End

w0

double w0

w1

double w1

u0

double u0

u1

double u1

ws

double ws

us

double us

r0

double r0

r1

double r1

b0

double b0

b1

double b1

S

double S

s

double s

cs

javax.vecmath.Vector2f cs

roh2

double roh2

sinh_r0

double sinh_r0

cosh_r0

double cosh_r0

w0_roh2

double w0_roh2

w0_coshr0

double w0_coshr0
Constructor Detail

ZoomPan

public ZoomPan()
Initializes the fields to: Velocity = 0.9f Roh = 1.4142f w0 = 50 w1 = 50 u0 = 0 s = 0 End = new Vector2f(1,1) Start = new Vector2f(0,0) And calculates additional Curve dependent fields

Method Detail

advance

void advance(float t)
Advances the curve by the timestep t

Parameters:
t - Timestep to calculate

calcParams

void calcParams()
This function precalculates the parameters that define the curve. See Paper for additional information.


cosh

double cosh(double x)
Helper function for Cosine Hyperbolical of (x)

Parameters:
x - the value whose hyp cosine is to be returned.
Returns:
cosh(x)

sinh

double sinh(double x)
Parameters:
x - the value whose hyp sine is to be returned.
Returns:
sinh(x)

tanh

double tanh(double x)
Parameters:
x - the value whose tan hyp is to be returned.
Returns:
tanh(x)