public class Pose extends Object implements Serializable, Cloneable
Indicates the pose of the face as determined by pitch, roll, and the yaw.
Constructor and Description |
---|
Pose() |
Modifier and Type | Method and Description |
---|---|
Pose |
clone() |
boolean |
equals(Object obj) |
Float |
getPitch()
Value representing the face rotation on the pitch axis.
|
Float |
getRoll()
Value representing the face rotation on the roll axis.
|
Float |
getYaw()
Value representing the face rotation on the yaw axis.
|
int |
hashCode() |
void |
setPitch(Float pitch)
Value representing the face rotation on the pitch axis.
|
void |
setRoll(Float roll)
Value representing the face rotation on the roll axis.
|
void |
setYaw(Float yaw)
Value representing the face rotation on the yaw axis.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Pose |
withPitch(Float pitch)
Value representing the face rotation on the pitch axis.
|
Pose |
withRoll(Float roll)
Value representing the face rotation on the roll axis.
|
Pose |
withYaw(Float yaw)
Value representing the face rotation on the yaw axis.
|
public void setRoll(Float roll)
Value representing the face rotation on the roll axis.
roll
- Value representing the face rotation on the roll axis.public Float getRoll()
Value representing the face rotation on the roll axis.
public Pose withRoll(Float roll)
Value representing the face rotation on the roll axis.
roll
- Value representing the face rotation on the roll axis.public void setYaw(Float yaw)
Value representing the face rotation on the yaw axis.
yaw
- Value representing the face rotation on the yaw axis.public Float getYaw()
Value representing the face rotation on the yaw axis.
public Pose withYaw(Float yaw)
Value representing the face rotation on the yaw axis.
yaw
- Value representing the face rotation on the yaw axis.public void setPitch(Float pitch)
Value representing the face rotation on the pitch axis.
pitch
- Value representing the face rotation on the pitch axis.public Float getPitch()
Value representing the face rotation on the pitch axis.
public Pose withPitch(Float pitch)
Value representing the face rotation on the pitch axis.
pitch
- Value representing the face rotation on the pitch axis.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.