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