From f557f460f89bdeec5a0e24eb3028675e04b4680b Mon Sep 17 00:00:00 2001
From: Chien Yang
Date: Wed, 6 Apr 2005 01:05:52 +0000
Subject: Added links to the javadoc of new Picking APIs.
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@205 ba19aa83-45c5-6ac9-afd3-db810772062c
---
www/j3d1_4/picking.html | 121 +++++++++++++++++++++++-------------------------
1 file changed, 59 insertions(+), 62 deletions(-)
(limited to 'www/j3d1_4')
diff --git a/www/j3d1_4/picking.html b/www/j3d1_4/picking.html
index cbffdf9..556f3cd 100644
--- a/www/j3d1_4/picking.html
+++ b/www/j3d1_4/picking.html
@@ -23,17 +23,18 @@ created PickInfo class.
The proposed API are :
- - New methods in existing classes:
-
-
+ - New methods in existing classes:
+
The following 4 methods will be added to Locale and BranchGroup :The following 4 methods will be added to Locale and BranchGroup :
-
+
method: public
PickInfo[] pickAll(
@@ -80,11 +81,9 @@ ALL_GEOM_INFO
- request for all intersection geometry information.
-
NOTES :
-
If CLOSEST_INTERSECTION_POINT
is not set, PickInfo.closestIntersectionPoint is set to null.
If CLOSEST_GEOM_INFO
is
@@ -108,93 +107,91 @@ and
ALL_GEOM_INFO
are set.
- - New classes
+ - New classes
-public class PickInfo extends Object
-
-/** Retrieves
+
+/**
+Retrieves
the reference to the SceneGraphPath in this PickInfo object. */
method: public
-SceneGraphPath getSceneGraphPath()
-
-/** Retrieves
+SceneGraphPath getSceneGraphPath()
+
+/**
+Retrieves
the reference to the picked node, either a Shape3D or a Morph, in
-this PickInfo object. */
-method: public Node
-getNode()
-
-/** Retrieves
+this PickInfo object. */
+method: public Node
+getNode()
+
+/** Retrieves
the reference to the LocalToVworld transform of the picked node in
-this PickInfo object. */
-method: public
-Transform3D getLocalToVWorld()
-
-/**
+this PickInfo object. */
+method: public
+Transform3D getLocalToVWorld()
+
+/**
Retrieves
the reference to the closest intersection point in this PickInfo
-object. */
-method: public
-Point3d getClosestIntersectionPoint()
-
-/**
+object. */
+method: public
+Point3d getClosestIntersectionPoint()
+
+/**
Retrieves
the distance between the start point of the pickShape and the
-intersection point. */
-method: public
-double getDistance()
-
-/**
+intersection point. */
+method: public
+double getDistance()
+
+/**
Retrieves
the reference to the array of intersection results in this PickInfo
-object. */
-method: public
+object. */
+method: public
IntersectionInfo[] getIntersectionInfos()
-public class
-PickInfo.IntersectionInfo
+
public class
+PickInfo.IntersectionInfo
extends Object ( inner
-class )
-
+class )
+
/**
Retrieves
the index to the intersected geometry in the picked node, either a
Shape3D or Morph. */
method: public
-int getGeometryIndex()
+int getGeometryIndex()
-/** Retrieves
+/** Retrieves
the reference to the intersected geometry in the picked object,
-either a Shape3D or Morph. */
+either a Shape3D or Morph. */
method: public
-Geometry getGeometry()
+Geometry getGeometry()
-/** Retrieves
+/** Retrieves
the interpolation weights for each of the verticies of the
intersected primitive. */
method: public
-float[] getWeights()
+float[] getWeights()
-/** Retrieves
+/** Retrieves
the reference to the intersection point of the picked geometry in this
IntersectionInfo object. */
method: public
-Point3d getIntersectionPoint()
-
+Point3d getIntersectionPoint()
+
/** Retrieves
the vertex indices of the intersected primitive in the geometry. */
method: public int[] getVertexIndices()
+
-
-
-
-
-
-Page last updated —
+Page last updated —
$Date$