JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.util.stereo.ViewerPose Class Reference

position and orientation of viewer. More...

Collaboration diagram for com.jogamp.opengl.util.stereo.ViewerPose:

Public Member Functions

 ViewerPose ()
 
 ViewerPose (final float[] position, final Quaternion orientation)
 
final void set (final float[] position, final Quaternion orientation)
 Set position and orientation. More...
 
final void setPosition (final float posX, final float posY, final float posZ)
 Set position and orientation of this instance. More...
 
final void setPosition (final Vec3f pos)
 Set position and orientation of this instance. More...
 
final String toString ()
 

Public Attributes

final Vec3f position
 position of viewer in meter. More...
 
final Quaternion orientation
 Orientation of viewer. More...
 

Detailed Description

position and orientation of viewer.

Definition at line 36 of file ViewerPose.java.

Constructor & Destructor Documentation

◆ ViewerPose() [1/2]

com.jogamp.opengl.util.stereo.ViewerPose.ViewerPose ( )

Definition at line 52 of file ViewerPose.java.

◆ ViewerPose() [2/2]

com.jogamp.opengl.util.stereo.ViewerPose.ViewerPose ( final float[]  position,
final Quaternion  orientation 
)

Definition at line 56 of file ViewerPose.java.

Member Function Documentation

◆ set()

final void com.jogamp.opengl.util.stereo.ViewerPose.set ( final float[]  position,
final Quaternion  orientation 
)

Set position and orientation.

Definition at line 62 of file ViewerPose.java.

Here is the call graph for this function:

◆ setPosition() [1/2]

final void com.jogamp.opengl.util.stereo.ViewerPose.setPosition ( final float  posX,
final float  posY,
final float  posZ 
)

Set position and orientation of this instance.

Definition at line 67 of file ViewerPose.java.

Here is the call graph for this function:

◆ setPosition() [2/2]

final void com.jogamp.opengl.util.stereo.ViewerPose.setPosition ( final Vec3f  pos)

Set position and orientation of this instance.

Definition at line 71 of file ViewerPose.java.

Here is the call graph for this function:

◆ toString()

final String com.jogamp.opengl.util.stereo.ViewerPose.toString ( )

Definition at line 75 of file ViewerPose.java.

Member Data Documentation

◆ orientation

final Quaternion com.jogamp.opengl.util.stereo.ViewerPose.orientation

Orientation of viewer.

Definition at line 50 of file ViewerPose.java.

◆ position

final Vec3f com.jogamp.opengl.util.stereo.ViewerPose.position

position of viewer in meter.

Apply the following to resolve the actual eye position:

Definition at line 47 of file ViewerPose.java.


The documentation for this class was generated from the following file: