diff options
author | Kenneth Russel <[email protected]> | 2007-03-24 01:02:23 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2007-03-24 01:02:23 +0000 |
commit | 96a0041f4b46bba34d044ade4d55b6ab58176336 (patch) | |
tree | aee8ccddd42b55cee82c55e218e776460ac10ff8 /src/net/java/joglutils/msg/nodes/Node.java | |
parent | 1b9cde01700475163b8735db9d29cc54e961c92a (diff) |
Added ray picking functionality via RayPickAction. Added unprojection
functionality to Camera class. Added Shape and TriangleBasedShape as
superclasses in the node hierarchy. Added TriangleCallback mechanism
for iterating vertices of triangles and PrimitiveVertex to represent
all data associated with a given vertex. Made Actions keep track of
the path through the scene graph they are currently on. Added
RayTriangleIntersection based on paper from Journal of Graphics
Tools. Augmented DisplayShelf demo with click-selection of movie
titles and reduced priority of background loading thread to avoid
rendering hiccups.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@47 83d24430-9974-4f80-8418-2cc3294053b9
Diffstat (limited to 'src/net/java/joglutils/msg/nodes/Node.java')
-rw-r--r-- | src/net/java/joglutils/msg/nodes/Node.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/java/joglutils/msg/nodes/Node.java b/src/net/java/joglutils/msg/nodes/Node.java index e9eefc4..f2ab658 100644 --- a/src/net/java/joglutils/msg/nodes/Node.java +++ b/src/net/java/joglutils/msg/nodes/Node.java @@ -51,4 +51,10 @@ public class Node { not required due to the framework supporting action methods, but for built-in actions it may make it simpler. */ public void render(GLRenderAction action) { doAction(action); } + + /** Support for the built-in RayPickAction. Note that supplying + virtual methods in Node subclasses to support various actions is + not required due to the framework supporting action methods, but + for built-in actions it may make it simpler. */ + public void rayPick(RayPickAction action) { doAction(action); } } |