wiiusej
Class Orientation

java.lang.Object
  extended by wiiusej.Orientation

public class Orientation
extends java.lang.Object

Class that represents the orientation of the wiimote.

Author:
gduche

Constructor Summary
Orientation()
          Default constructor.
Orientation(float r, float p, float y)
          Contructor with raw, pitch , yaw.
 
Method Summary
 float getPitch()
           
 float getRoll()
           
 float getYaw()
           
 void setPitch(float pitch)
           
 void setRoll(float roll)
           
 void setYaw(float yaw)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Orientation

public Orientation()
Default constructor.


Orientation

public Orientation(float r,
                   float p,
                   float y)
Contructor with raw, pitch , yaw.

Parameters:
r - raw
p - pitch
y - yaw
Method Detail

getRoll

public float getRoll()
Returns:
the roll

setRoll

public void setRoll(float roll)
Parameters:
roll - the roll to set

getPitch

public float getPitch()
Returns:
the pitch

setPitch

public void setPitch(float pitch)
Parameters:
pitch - the pitch to set

getYaw

public float getYaw()
Returns:
the yaw

setYaw

public void setYaw(float yaw)
Parameters:
yaw - the yaw to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object