Package com.jogamp.opengl.util.stereo
Class ViewerPose
java.lang.Object
com.jogamp.opengl.util.stereo.ViewerPose
position
and orientation
of viewer.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Quaternion
Orientation of viewer.final float[]
float[3] position of viewer in meter. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
set
(float[] position, Quaternion orientation) Setposition
andorientation
.final void
setPosition
(float posX, float posY, float posZ) Set position and orientation of this instance.final String
toString()
-
Field Details
-
position
public final float[] positionfloat[3] position of viewer in meter.Apply the following to resolve the actual eye position:
positionOffset
for head.- [
distNoseToPupilX
,distMiddleToPupilY
,eyeReliefZ
] for pupil
-
orientation
Orientation of viewer.
-
-
Constructor Details
-
ViewerPose
public ViewerPose() -
ViewerPose
-
-
Method Details
-
set
Setposition
andorientation
. -
setPosition
public final void setPosition(float posX, float posY, float posZ) Set position and orientation of this instance. -
toString
-