Package com.jogamp.graph.ui
Public Graph UI Package
Disclaimer
The API of the namespace com.jogamp.graph.ui.** is experimental and subject to change until further notice.
Part of It's implementation jogamp.graph.ui.** may change at any time as it is natural with all other API implementations.
We are currently refining and completing this new API and it's implementation. Feel free to comment and help using our public channels.
Revision History
- Early Draft Review, March 10th 2023
-
Interface Summary Interface Description AnimGroup.LerpFunc Linear interpolation (LERP) function to evaluate the next animated frame for eachAnimGroup.ShapeData
of aAnimGroup.Set
.AnimGroup.ShapeSetup AnimGroup.ShapeData
setup function for animation using its enclosingAnimGroup.Set
and other data pointsContainer Container interface of UIShape
sGroup.Layout Scene.PMVMatrixSetup Interface providinga method
to setupPMVMatrix4f
'sGLMatrixFunc.GL_PROJECTION
andGLMatrixFunc.GL_MODELVIEW
.Shape.DrawListener Shape
draw listener action returning a boolean valueShape.Listener GeneralShape
listener actionShape.MouseGestureListener CombiningMouseListener
andGestureHandler.GestureListener
Shape.MoveListener Shape
move listenerShape.PointerListener Shape
pointer listener, e.g.Shape.Visitor1 GeneralShape
visitorShape.Visitor2 GeneralShape
visitorTooltipShape.DestroyCallback Optional HUD tipdestroy callback
for the user providedShape
, seeTooltip.destroyTip(GL2ES2, RegionRenderer, Shape)
. -
Class Summary Class Description AnimGroup AnimGroup.ScrollLerp ScrollingAnimGroup.LerpFunc
, approachingAnimGroup.ShapeData
's target position over and over.AnimGroup.Set Animation-Set covering itsAnimGroup.ShapeData
elements,AnimGroup.LerpFunc
and animation parameter.AnimGroup.ShapeData AnimGroup.SineLerp Sine targetAnimGroup.LerpFunc
, approachingAnimGroup.ShapeData
's target position utilizing the angular value for sine amplitude towards the given normalized direction vector.AnimGroup.TargetLerp Default targetAnimGroup.LerpFunc
, approachingAnimGroup.ShapeData
's target position inclusive angular rotation around given normalized axis.GraphShape Group Group ofShape
s, optionally utilizing aGroup.Layout
.Scene GraphUI SceneScene.DefaultPMVMatrixSetup Default implementation ofScene.PMVMatrixSetup
, implementingScene.PMVMatrixSetup.set(PMVMatrix4f, Recti)
as follows:GLMatrixFunc.GL_PROJECTION
Matrix Identity PerspectiveScene.DefaultPMVMatrixSetup.getAngle()
withScene.DefaultPMVMatrixSetup.getZNear()
andScene.DefaultPMVMatrixSetup.getZFar()
Translated to givenScene.DefaultPMVMatrixSetup.getSceneDist()
GLMatrixFunc.GL_MODELVIEW
Matrix identityShape Generic Shape, potentially using a Graph viaGraphShape
or other means of representing content.Shape.EventInfo Shape
event info for propagatedNEWTEvent
s containing reference ofthe intended shape
as well as therotated relative position
to this shape.Shape.ForwardKeyListener ForwardKeyListener
, to be attached to a key event source forwarded to the receiver set at constructor.Shape.ForwardMouseListener ForwardShape.MouseGestureListener
, to be attached to a mouse event source forwarded to the receiver set at constructor.Shape.MouseGestureAdapter Convenient adapter combining dummy implementation forMouseListener
andGestureHandler.GestureListener
Tooltip A HUD tooltip forShape
, seeShape.setToolTip(Tooltip)
.TooltipShape TooltipText