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 QuaternionOrientation of viewer.final float[]float[3] position of viewer in meter. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidset(float[] position, Quaternion orientation) Setpositionandorientation.final voidsetPosition(float posX, float posY, float posZ) Set position and orientation of this instance.final StringtoString()
-
Field Details
-
position
public final float[] positionfloat[3] position of viewer in meter.Apply the following to resolve the actual eye position:
positionOffsetfor head.- [
distNoseToPupilX,distMiddleToPupilY,eyeReliefZ] for pupil
-
orientation
Orientation of viewer.
-
-
Constructor Details
-
ViewerPose
public ViewerPose() -
ViewerPose
-
-
Method Details
-
set
Setpositionandorientation. -
setPosition
public final void setPosition(float posX, float posY, float posZ) Set position and orientation of this instance. -
toString
-