Package com.jogamp.opengl.util.stereo
Class ViewerPose
- java.lang.Object
-
- com.jogamp.opengl.util.stereo.ViewerPose
-
public final class ViewerPose extends Object
positionandorientationof viewer.
-
-
Field Summary
Fields Modifier and Type Field Description QuaternionorientationOrientation of viewer.Vec3fpositionposition 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 voidset(float[] position, Quaternion orientation)Setpositionandorientation.voidsetPosition(float posX, float posY, float posZ)Set position and orientation of this instance.voidsetPosition(Vec3f pos)Set position and orientation of this instance.StringtoString()
-
-
-
Field Detail
-
position
public final Vec3f position
position of viewer in meter.Apply the following to resolve the actual eye position:
positionOffsetfor 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)Setpositionandorientation.
-
setPosition
public final void setPosition(float posX, float posY, float posZ)Set position and orientation of this instance.
-
setPosition
public final void setPosition(Vec3f pos)
Set position and orientation of this instance.
-
-