All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class improv.util.Quaternion

java.lang.Object
   |
   +----improv.util.Quaternion

public final class Quaternion
extends Object

Constructor Index

 o Quaternion()
 o Quaternion(float[])
 o Quaternion(float[], float)
 o Quaternion(float[], float[])
 o Quaternion(Matrix3f)
 o Quaternion(Matrix4f)
 o Quaternion(Quaternion)
 o Quaternion(Vec3f, float)
 o Quaternion(Vec3f, Vec3f)

Method Index

 o add(Quaternion)
 o add(Quaternion, Quaternion)
 o conjugate()
 o conjugate(Quaternion)
 o getAxisAngle(float[])
 o getAxisAngle(float[], float[])
 o getAxisAngle(float[], float[], float[], float[])
 o getAxisAngle(Vec3f, float[])
 o getAxisAngle(Vec4f)
 o getEulers(float[])
 o getEulers(float[], float[])
 o getEulers(float[], float[], float[])
 o getEulers(int, int, int, double[])
 o getMat3(float[][])
 o getMat3(Matrix3f)
 o getMat4(float[][])
 o getMat4(Matrix4f)
 o getQuat(float[])
 o getQuat(float[], float[], float[], float[])
 o getQuat(Quaternion)
 o getQuatValue(int)
 o getVec(float[])
 o getVec(float[], float[], float[])
 o getVec(Vec3f)
 o invert()
 o invert(Quaternion)
 o length()
 o length_sqr()
 o makeFromVecs(float, float, float, float, float, float)
 o makeFromVecs(float[], float[])
 o makeFromVecs(Vec3f, Vec3f)
 o makeIdent()
 o mult(Quaternion, Quaternion)
 o normalize()
 o normalize(Quaternion)
 o postMult(Quaternion)
 o preMult(Quaternion)
 o print()
 o setAxisAngle(float, float, float, float)
 o setAxisAngle(float[])
 o setAxisAngle(float[], float)
 o setAxisAngle(Vec3f, float)
 o setAxisAngle(Vec4f)
 o setEulers(float, float, float)
 o setEulers(float[])
 o setMat3(float[][])
 o setMat3(Matrix3f)
 o setMat4(float[][])
 o setMat4(Matrix4f)
 o setQuat(float, float, float, float)
 o setQuat(float[])
 o setQuat(Quaternion)
 o setQuatValue(int, float)
 o setVec(float, float, float)
 o setVec(float[])
 o setVec(Vec3f)
 o slerp(Quaternion, Quaternion, float, int)
 o sub(Quaternion)
 o sub(Quaternion, Quaternion)
 o xform(float[])
 o xform(Vec3f)

Constructors

 o Quaternion
 public Quaternion()
 o Quaternion
 public Quaternion(float axis[],
                   float angle)
 o Quaternion
 public Quaternion(float quat[])
 o Quaternion
 public Quaternion(Vec3f axis,
                   float angle)
 o Quaternion
 public Quaternion(Matrix3f mat)
 o Quaternion
 public Quaternion(Matrix4f mat)
 o Quaternion
 public Quaternion(Quaternion quat)
 o Quaternion
 public Quaternion(float vec1[],
                   float vec2[])
 o Quaternion
 public Quaternion(Vec3f vec1,
                   Vec3f vec2)

Methods

 o print
 public void print()
 o setVec
 public void setVec(float i,
                    float j,
                    float k)
 o getVec
 public void getVec(float i[],
                    float j[],
                    float k[])
 o setVec
 public void setVec(float vec[])
 o getVec
 public void getVec(float vec[])
 o setVec
 public void setVec(Vec3f vec)
 o getVec
 public void getVec(Vec3f vec)
 o setAxisAngle
 public void setAxisAngle(float axis_angle[])
 o getAxisAngle
 public void getAxisAngle(float axis_angle[])
 o setAxisAngle
 public void setAxisAngle(Vec4f axis_angle)
 o getAxisAngle
 public void getAxisAngle(Vec4f axis_angle)
 o setAxisAngle
 public void setAxisAngle(float axis[],
                          float angle)
 o getAxisAngle
 public void getAxisAngle(float axis[],
                          float angle[])
 o setAxisAngle
 public void setAxisAngle(Vec3f axis,
                          float angle)
 o getAxisAngle
 public void getAxisAngle(Vec3f axis,
                          float angle[])
 o setAxisAngle
 public void setAxisAngle(float i,
                          float j,
                          float k,
                          float angle)
 o getAxisAngle
 public void getAxisAngle(float i[],
                          float j[],
                          float k[],
                          float angle[])
 o setEulers
 public void setEulers(float hpr[])
 o getEulers
 public void getEulers(float hpr[])
 o getEulers
 public void getEulers(int u,
                       int v,
                       int w,
                       double hpr[])
 o getEulers
 public static void getEulers(float quat[],
                              float hpr[])
 o setEulers
 public void setEulers(float h,
                       float p,
                       float r)
 o getEulers
 public void getEulers(float h[],
                       float p[],
                       float r[])
 o setMat3
 public void setMat3(float mat[][])
 o getMat3
 public void getMat3(float mat[][])
 o setMat3
 public void setMat3(Matrix3f mat)
 o getMat3
 public void getMat3(Matrix3f mat)
 o setMat4
 public void setMat4(float mat[][])
 o getMat4
 public void getMat4(float mat[][])
 o setMat4
 public void setMat4(Matrix4f mat)
 o getMat4
 public void getMat4(Matrix4f mat)
 o setQuat
 public void setQuat(float quat[])
 o getQuat
 public void getQuat(float quat[])
 o setQuat
 public void setQuat(Quaternion quat)
 o getQuat
 public void getQuat(Quaternion quat)
 o setQuat
 public void setQuat(float i,
                     float j,
                     float k,
                     float w)
 o getQuat
 public void getQuat(float i[],
                     float j[],
                     float k[],
                     float w[])
 o setQuatValue
 public void setQuatValue(int index,
                          float value)
 o getQuatValue
 public float getQuatValue(int index)
 o makeIdent
 public void makeIdent()
 o length
 public float length()
 o length_sqr
 public float length_sqr()
 o normalize
 public void normalize()
 o normalize
 public void normalize(Quaternion quat)
 o conjugate
 public void conjugate()
 o conjugate
 public void conjugate(Quaternion quat)
 o invert
 public void invert()
 o invert
 public void invert(Quaternion quat)
 o add
 public void add(Quaternion quat)
 o add
 public void add(Quaternion quat1,
                 Quaternion quat2)
 o sub
 public void sub(Quaternion quat)
 o sub
 public void sub(Quaternion quat1,
                 Quaternion quat2)
 o preMult
 public void preMult(Quaternion quat1)
 o postMult
 public void postMult(Quaternion quat2)
 o mult
 public void mult(Quaternion quat1,
                  Quaternion quat2)
 o makeFromVecs
 public void makeFromVecs(float i1,
                          float j1,
                          float k1,
                          float i2,
                          float j2,
                          float k2)
 o makeFromVecs
 public void makeFromVecs(float vec1[],
                          float vec2[])
 o makeFromVecs
 public void makeFromVecs(Vec3f vec1,
                          Vec3f vec2)
 o xform
 public void xform(Vec3f vec)
 o xform
 public void xform(float v[])
 o slerp
 public void slerp(Quaternion quat1,
                   Quaternion quat2,
                   float alpha,
                   int spin)

All Packages  Class Hierarchy  This Package  Previous  Next  Index