Top Description Fields Constructors Methods
com.jogamp.opengl.util.stereo

public final Class ViewerPose

extends Object
Class Inheritance
Imports
com.jogamp.opengl.math.Quaternion

position and orientation of viewer.

Field Summary

Modifier and TypeField and Description
public final Quaternion
orientation

Orientation of viewer.

public final float[]
position

float[3] position of viewer in meter.

Constructor Summary

AccessConstructor and Description
public
public
ViewerPose(final float[] position, final Quaternion orientation)

Method Summary

Modifier and TypeMethod and Description
public final void
set(final float[] position, final Quaternion orientation)

Set position and orientation.

public final void
setPosition(final float posX, final float posY, final float posZ)

Set position and orientation of this instance.

public final String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

orientationback to summary
public final Quaternion orientation

Orientation of viewer.

positionback to summary
public final float[] position

float[3] position of viewer in meter.

Apply the following to resolve the actual eye position:

Constructor Detail

ViewerPoseback to summary
public ViewerPose()
ViewerPoseback to summary
public ViewerPose(final float[] position, final Quaternion orientation)

Method Detail

setback to summary
public final void set(final float[] position, final Quaternion orientation)

Set position and orientation.

setPositionback to summary
public final void setPosition(final float posX, final float posY, final float posZ)

Set position and orientation of this instance.

toStringback to summary
public final String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object