public class Pose
extends java.lang.Object
implements java.io.Serializable
Indicates the pose of the face as determined by its pitch, roll, and yaw.
| Constructor and Description |
|---|
Pose() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Float |
getPitch()
Value representing the face rotation on the pitch axis.
|
java.lang.Float |
getRoll()
Value representing the face rotation on the roll axis.
|
java.lang.Float |
getYaw()
Value representing the face rotation on the yaw axis.
|
int |
hashCode() |
void |
setPitch(java.lang.Float pitch)
Value representing the face rotation on the pitch axis.
|
void |
setRoll(java.lang.Float roll)
Value representing the face rotation on the roll axis.
|
void |
setYaw(java.lang.Float yaw)
Value representing the face rotation on the yaw axis.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Pose |
withPitch(java.lang.Float pitch)
Value representing the face rotation on the pitch axis.
|
Pose |
withRoll(java.lang.Float roll)
Value representing the face rotation on the roll axis.
|
Pose |
withYaw(java.lang.Float yaw)
Value representing the face rotation on the yaw axis.
|
public java.lang.Float getRoll()
Value representing the face rotation on the roll axis.
Constraints:
Length: -180 - 180
Value representing the face rotation on the roll axis.
public void setRoll(java.lang.Float roll)
Value representing the face rotation on the roll axis.
Constraints:
Length: -180 - 180
roll - Value representing the face rotation on the roll axis.
public Pose withRoll(java.lang.Float roll)
Value representing the face rotation on the roll axis.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: -180 - 180
roll - Value representing the face rotation on the roll axis.
public java.lang.Float getYaw()
Value representing the face rotation on the yaw axis.
Constraints:
Length: -180 - 180
Value representing the face rotation on the yaw axis.
public void setYaw(java.lang.Float yaw)
Value representing the face rotation on the yaw axis.
Constraints:
Length: -180 - 180
yaw - Value representing the face rotation on the yaw axis.
public Pose withYaw(java.lang.Float yaw)
Value representing the face rotation on the yaw axis.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: -180 - 180
yaw - Value representing the face rotation on the yaw axis.
public java.lang.Float getPitch()
Value representing the face rotation on the pitch axis.
Constraints:
Length: -180 - 180
Value representing the face rotation on the pitch axis.
public void setPitch(java.lang.Float pitch)
Value representing the face rotation on the pitch axis.
Constraints:
Length: -180 - 180
pitch - Value representing the face rotation on the pitch axis.
public Pose withPitch(java.lang.Float pitch)
Value representing the face rotation on the pitch axis.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: -180 - 180
pitch - Value representing the face rotation on the pitch axis.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.