JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.graph.ui.Shape.EventInfo Class Reference

Shape event info for propagated NEWTEvents containing reference of the intended shape as well as the rotated relative position to this shape. More...

Collaboration diagram for com.jogamp.graph.ui.Shape.EventInfo:

Public Member Functions

String toString ()
 

Public Attributes

final Shape shape
 The associated Shape for this event. More...
 
final Vec3f objPos
 The relative object coordinate of glWinX/glWinY to the associated Shape. More...
 
final int[] winPos
 The GL window coordinates, origin bottom-left. More...
 
final Vec2f objDrag = new Vec2f()
 The drag delta of the relative object coordinate of glWinX/glWinY to the associated Shape. More...
 
final int[] winDrag = { 0, 0 }
 The drag delta of GL window coordinates, origin bottom-left. More...
 

Detailed Description

Shape event info for propagated NEWTEvents containing reference of the intended shape as well as the rotated relative position to this shape.

The latter is normalized to bottom-left zero origin, allowing easier usage.

Definition at line 1896 of file Shape.java.

Member Function Documentation

◆ toString()

String com.jogamp.graph.ui.Shape.EventInfo.toString ( )

Definition at line 1922 of file Shape.java.

Member Data Documentation

◆ objDrag

final Vec2f com.jogamp.graph.ui.Shape.EventInfo.objDrag = new Vec2f()

The drag delta of the relative object coordinate of glWinX/glWinY to the associated Shape.

Definition at line 1904 of file Shape.java.

◆ objPos

final Vec3f com.jogamp.graph.ui.Shape.EventInfo.objPos

The relative object coordinate of glWinX/glWinY to the associated Shape.

Definition at line 1900 of file Shape.java.

◆ shape

final Shape com.jogamp.graph.ui.Shape.EventInfo.shape

The associated Shape for this event.

Definition at line 1898 of file Shape.java.

◆ winDrag

final int [] com.jogamp.graph.ui.Shape.EventInfo.winDrag = { 0, 0 }

The drag delta of GL window coordinates, origin bottom-left.

Definition at line 1906 of file Shape.java.

◆ winPos

final int [] com.jogamp.graph.ui.Shape.EventInfo.winPos

The GL window coordinates, origin bottom-left.

Definition at line 1902 of file Shape.java.


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