API reference

Pose Class

Extends Parcelable
Position and orientation in a right-handed 3D coordinate system with +X right, +Y up, and -Z forward.
Position is represented in meters.

Constructors

Pose ( orientation , position )
Creates new Pose for an object in 3D space.
Signature
metavr.graphics.Pose.Pose(Vector4f orientation, Vector3f position)
Parameters
orientation: Vector4f  orientation within a space represented as a unit quaternion
position: Vector3f  position represented by directional components such as left/right, up/down, and forward/back within a space

Static Fields

CREATOR : final Creator< Pose >
Parcelable.Creator⁠ that reconstructs instances from a Parcel⁠.
Signature
final Creator<Pose> metavr.graphics.Pose.CREATOR
IDENTITY : final Pose
A pose at the origin of the current coordinate system and orientation set to the identity quaternion, typically interpreted as pointing toward the viewer.
As transform values applied from another pose, the position offsets of (0, 0, 0) mean the position is unchanged, and the identity quaternion means the orientation is unchanged.
Signature
final Pose metavr.graphics.Pose.IDENTITY

Methods

describeContents ()
Describes the special objects contained in this parcelable; always 0.
Signature
int metavr.graphics.Pose.describeContents()
Returns
int
equals ( o )
Indicates whether another object is equal to this one by value.
Signature
boolean metavr.graphics.Pose.equals(Object o)
Parameters
o: Object
Returns
boolean
hashCode ()
Returns a hash code consistent with equals(Object).
Signature
int metavr.graphics.Pose.hashCode()
Returns
int
toString ()
Returns a debug string representation of this object.
Signature
String metavr.graphics.Pose.toString()
Returns
String
writeToParcel ( _aidl_parcel , _aidl_flag )
Flattens this object into the given Parcel⁠.
Signature
void metavr.graphics.Pose.writeToParcel(Parcel _aidl_parcel, int _aidl_flag)
Parameters
_aidl_parcel: Parcel
_aidl_flag: int
Returns
void