📄 pickresult.html
字号:
<P><DL><DT><B>Parameters:</B><DD><CODE>pn</CODE> - The picked node.<DD><CODE>l2vw</CODE> - The local to VWorld transformation for the node<DD><CODE>ps</CODE> - The PickShape to intersect against<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - If the node is not a Morph or Shape3D.</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getSceneGraphPath()"><!-- --></A><H3>getSceneGraphPath</H3><PRE>public <A HREF="../../../../../javax/media/j3d/SceneGraphPath.html" title="class in javax.media.j3d">SceneGraphPath</A> <B>getSceneGraphPath</B>()</PRE><DL><DD>Get the SceneGraphPath. This will be null if the non SceneGraphPath constructor was used.<P><DD><DL></DL></DD></DL><HR><A NAME="getLocalToVworld()"><!-- --></A><H3>getLocalToVworld</H3><PRE>public <A HREF="../../../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> <B>getLocalToVworld</B>()</PRE><DL><DD>Get the localToVworld transform for the Node<P><DD><DL></DL></DD></DL><HR><A NAME="getGeometryArray()"><!-- --></A><H3>getGeometryArray</H3><PRE>public <A HREF="../../../../../javax/media/j3d/GeometryArray.html" title="class in javax.media.j3d">GeometryArray</A> <B>getGeometryArray</B>()</PRE><DL><DD>Get the GeometryArray at index 0 for the picked node<P><DD><DL></DL></DD></DL><HR><A NAME="getGeometryArrays()"><!-- --></A><H3>getGeometryArrays</H3><PRE>public <A HREF="../../../../../javax/media/j3d/GeometryArray.html" title="class in javax.media.j3d">GeometryArray</A>[] <B>getGeometryArrays</B>()</PRE><DL><DD>Get the array of GeometryArrays for the picked node<P><DD><DL></DL></DD></DL><HR><A NAME="numGeometryArrays()"><!-- --></A><H3>numGeometryArrays</H3><PRE>public int <B>numGeometryArrays</B>()</PRE><DL><DD>Get the number of GeometryArrays for the picked node<P><DD><DL></DL></DD></DL><HR><A NAME="numCompressedGeometryShape3Ds()"><!-- --></A><H3>numCompressedGeometryShape3Ds</H3><PRE>public int <B>numCompressedGeometryShape3Ds</B>()</PRE><DL><DD>Get the number of Shape3Ds that came from decompressing a CompressedGeometry on the picked node.<P><DD><DL></DL></DD></DL><HR><A NAME="getCompressedGeometryShape3Ds()"><!-- --></A><H3>getCompressedGeometryShape3Ds</H3><PRE>public <A HREF="../../../../../javax/media/j3d/Shape3D.html" title="class in javax.media.j3d">Shape3D</A>[] <B>getCompressedGeometryShape3Ds</B>()</PRE><DL><DD>Get the array of Shape3Ds that came from decompressing a CompressedGeometry on the picked node.<P><DD><DL></DL></DD></DL><HR><A NAME="getPickShape()"><!-- --></A><H3>getPickShape</H3><PRE>public <A HREF="../../../../../javax/media/j3d/PickShape.html" title="class in javax.media.j3d">PickShape</A> <B>getPickShape</B>()</PRE><DL><DD>Get the PickShape used for intersections<P><DD><DL></DL></DD></DL><HR><A NAME="setFirstIntersectOnly(boolean)"><!-- --></A><H3>setFirstIntersectOnly</H3><PRE>public void <B>setFirstIntersectOnly</B>(boolean flag)</PRE><DL><DD>Set the PickResult to find only the first intersection of the PickShape with the Node. The default is <code>false</code> (all intersections are found)<P><DD><DL></DL></DD></DL><HR><A NAME="getFirstPickEnable()"><!-- --></A><H3>getFirstPickEnable</H3><PRE>public boolean <B>getFirstPickEnable</B>()</PRE><DL><DD>Return the "first intersection only" value.<P><DD><DL></DL></DD></DL><HR><A NAME="numIntersections()"><!-- --></A><H3>numIntersections</H3><PRE>public int <B>numIntersections</B>()</PRE><DL><DD>Returns the number of PickIntersections in the PickResult.<P><DD><DL><DT><B>Returns:</B><DD>the number of intersections</DL></DD></DL><HR><A NAME="getIntersection(int)"><!-- --></A><H3>getIntersection</H3><PRE>public <A HREF="../../../../../com/sun/j3d/utils/picking/PickIntersection.html" title="class in com.sun.j3d.utils.picking">PickIntersection</A> <B>getIntersection</B>(int index)</PRE><DL><DD>Returns a specific PickIntersection object<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index number<DT><B>Returns:</B><DD>the PickIntersection referenced by the index number</DL></DD></DL><HR><A NAME="getClosestIntersection(javax.vecmath.Point3d)"><!-- --></A><H3>getClosestIntersection</H3><PRE>public <A HREF="../../../../../com/sun/j3d/utils/picking/PickIntersection.html" title="class in com.sun.j3d.utils.picking">PickIntersection</A> <B>getClosestIntersection</B>(<A HREF="../../../../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A> pt)</PRE><DL><DD>Gets the PickIntersection in this PickResult that is closest to a point<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pt</CODE> - the point to use for distance calculations<DT><B>Returns:</B><DD>the closest PickIntersection object</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns String representation<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>string representation of this object</DL></DD></DL><HR><A NAME="getObject()"><!-- --></A><H3>getObject</H3><PRE>public <A HREF="../../../../../javax/media/j3d/Node.html" title="class in javax.media.j3d">Node</A> <B>getObject</B>()</PRE><DL><DD>Get the picked node<P><DD><DL></DL></DD></DL><HR><A NAME="getNode(int)"><!-- --></A><H3>getNode</H3><PRE>public <A HREF="../../../../../javax/media/j3d/Node.html" title="class in javax.media.j3d">Node</A> <B>getNode</B>(int flags)</PRE><DL><DD>Get the first node of a certain type up the SceneGraphPath<P><DD><DL><DT><B>Parameters:</B><DD><CODE>flags</CODE> - the type of node we are interested in<DT><B>Returns:</B><DD>a Node object</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/sun/j3d/utils/picking/PickIntersection.html" title="class in com.sun.j3d.utils.picking"><B>PREV CLASS</B></A> <A HREF="../../../../../com/sun/j3d/utils/picking/PickTool.html" title="class in com.sun.j3d.utils.picking"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/sun/j3d/utils/picking/PickResult.html" target="_top"><B>FRAMES</B></A> <A HREF="PickResult.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1">Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../../../../../LICENSE-SPEC.html">license terms</a>.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -