diff options
author | Sven Gothel <[email protected]> | 2023-10-03 02:37:32 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-10-03 02:37:32 +0200 |
commit | c8ec6fa7cc16a0777db16af8b4d0d0b898f8b546 (patch) | |
tree | 7673f7635bd1eff387552f74eae688e33694e728 /src/graphui/classes/com/jogamp/graph/ui/Container.java | |
parent | 69549319e1d9ddf4d3903aa077f2c4cebb54195e (diff) |
GraphUI Shape: 'int name' -> 'int id' and add 'String name', change get/set methods accordingly
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/Container.java')
-rw-r--r-- | src/graphui/classes/com/jogamp/graph/ui/Container.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/Container.java b/src/graphui/classes/com/jogamp/graph/ui/Container.java index d4bd6c9f8..32da78791 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/Container.java +++ b/src/graphui/classes/com/jogamp/graph/ui/Container.java @@ -75,6 +75,10 @@ public interface Container { boolean contains(Shape s); + Shape getShapeByIdx(final int id); + Shape getShapeByID(final int id); + Shape getShapeByName(final String name); + AABBox getBounds(final PMVMatrix4f pmv, Shape shape); /** Enable or disable {@link PMVMatrix4f#getFrustum()} culling per {@link Shape}. Default is disabled. */ |