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.ShapeDataof aAnimGroup.Set.AnimGroup.ShapeSetup AnimGroup.ShapeDatasetup function for animation using its enclosingAnimGroup.Setand other data pointsContainer Container interface of UIShapesGroup.Layout Scene.PMVMatrixSetup Interface providinga methodto setupPMVMatrix4f'sGLMatrixFunc.GL_PROJECTIONandGLMatrixFunc.GL_MODELVIEW.Shape.DrawListener Shapedraw listener action returning a boolean valueShape.Listener GeneralShapelistener actionShape.MouseGestureListener CombiningMouseListenerandGestureHandler.GestureListenerShape.MoveListener Shapemove listenerShape.PointerListener Shapepointer listener, e.g.Shape.Visitor1 GeneralShapevisitorShape.Visitor2 GeneralShapevisitorTooltipShape.DestroyCallback Optional HUD tipdestroy callbackfor 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.ShapeDataelements,AnimGroup.LerpFuncand 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 ofShapes, optionally utilizing aGroup.Layout.Scene GraphUI SceneScene.DefaultPMVMatrixSetup Default implementation ofScene.PMVMatrixSetup, implementingScene.PMVMatrixSetup.set(PMVMatrix4f, Recti)as follows:GLMatrixFunc.GL_PROJECTIONMatrix Identity PerspectiveScene.DefaultPMVMatrixSetup.getAngle()withScene.DefaultPMVMatrixSetup.getZNear()andScene.DefaultPMVMatrixSetup.getZFar()Translated to givenScene.DefaultPMVMatrixSetup.getSceneDist()GLMatrixFunc.GL_MODELVIEWMatrix identityShape Generic Shape, potentially using a Graph viaGraphShapeor other means of representing content.Shape.EventInfo Shapeevent info for propagatedNEWTEvents containing reference ofthe intended shapeas well as therotated relative positionto 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 forMouseListenerandGestureHandler.GestureListenerTooltip A HUD tooltip forShape, seeShape.setToolTip(Tooltip).TooltipShape TooltipText