⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pickintersection.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DD>Get index of closest vertex<P><DD><DL><DT><B>Returns:</B><DD>the index of the closest vertex</DL></DD></DL><HR><A NAME="getPrimitiveCoordinateIndices()"><!-- --></A><H3>getPrimitiveCoordinateIndices</H3><PRE>public int[] <B>getPrimitiveCoordinateIndices</B>()</PRE><DL><DD>Get the coordinates indices for the intersected primitive.  For a non-indexed      primitive, this will be the same as the primitive vertex indices<P><DD><DL><DT><B>Returns:</B><DD>an array indices</DL></DD></DL><HR><A NAME="getPrimitiveCoordinates()"><!-- --></A><H3>getPrimitiveCoordinates</H3><PRE>public <A HREF="../../../../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A>[] <B>getPrimitiveCoordinates</B>()</PRE><DL><DD>Get the local coordinates intersected primitive<P><DD><DL><DT><B>Returns:</B><DD>an array of Point3d's for the primitive that was intersected</DL></DD></DL><HR><A NAME="getPrimitiveNormalIndices()"><!-- --></A><H3>getPrimitiveNormalIndices</H3><PRE>public int[] <B>getPrimitiveNormalIndices</B>()</PRE><DL><DD>Get the normal indices for the intersected primitive.  For a non-indexed      primitive, this will be the same as the primitive vertex indices      If the geometry array does not contain normals this will return null<P><DD><DL><DT><B>Returns:</B><DD>an array indices</DL></DD></DL><HR><A NAME="getPrimitiveNormals()"><!-- --></A><H3>getPrimitiveNormals</H3><PRE>public <A HREF="../../../../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A>[] <B>getPrimitiveNormals</B>()</PRE><DL><DD>Get the normals of the intersected primitive.  This will return null if      the primitive does not contain normals.<P><DD><DL><DT><B>Returns:</B><DD>an array of Point3d's for the primitive that was intersected</DL></DD></DL><HR><A NAME="getPrimitiveColorIndices()"><!-- --></A><H3>getPrimitiveColorIndices</H3><PRE>public int[] <B>getPrimitiveColorIndices</B>()</PRE><DL><DD>Get the color indices for the intersected primitive.  For a non-indexed      primitive, this will be the same as the primitive vertex indices      If the geometry array does not contain colors this will return null.<P><DD><DL><DT><B>Returns:</B><DD>an array indices</DL></DD></DL><HR><A NAME="getPrimitiveColors()"><!-- --></A><H3>getPrimitiveColors</H3><PRE>public <A HREF="../../../../../javax/vecmath/Color4f.html" title="class in javax.vecmath">Color4f</A>[] <B>getPrimitiveColors</B>()</PRE><DL><DD>Get the colors of the intersected primitive.  This will return null if      the primitive does not contain colors.  If the geometry was defined      using GeometryArray.COLOR_3, the 'w' value of the color will be set to 1.0.<P><DD><DL><DT><B>Returns:</B><DD>an array of Point3d's for the primitive that was intersected</DL></DD></DL><HR><A NAME="getPrimitiveTexCoordIndices(int)"><!-- --></A><H3>getPrimitiveTexCoordIndices</H3><PRE>public int[] <B>getPrimitiveTexCoordIndices</B>(int&nbsp;index)</PRE><DL><DD>Get the texture coordinate indices for the intersected primitive at the specifed       index in the specified texture coordinate set.  For a   non-indexed      primitive, this will be the same as the primitive vertex indices      If the geometry array does not contain texture coordinates, this will       return null.<P><DD><DL><DT><B>Returns:</B><DD>an array indices</DL></DD></DL><HR><A NAME="getPrimitiveTexCoords(int)"><!-- --></A><H3>getPrimitiveTexCoords</H3><PRE>public <A HREF="../../../../../javax/vecmath/TexCoord3f.html" title="class in javax.vecmath">TexCoord3f</A>[] <B>getPrimitiveTexCoords</B>(int&nbsp;index)</PRE><DL><DD>Get the texture coordinates of the intersected primitive at the specifed       index in the specified texture coordinate set.      null if the primitive does not contain texture coordinates.        If the geometry was defined      using GeometryArray.TEXTURE_COORDINATE_2, the 'z' value of the texture      coordinate will be set to 0.0.<P><DD><DL><DT><B>Returns:</B><DD>an array of TexCoord3f's for the primitive that was intersected</DL></DD></DL><HR><A NAME="getPointCoordinates()"><!-- --></A><H3>getPointCoordinates</H3><PRE>public <A HREF="../../../../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A> <B>getPointCoordinates</B>()</PRE><DL><DD>Returns the coordinates of the intersection point (local coordinates),      if available.<P><DD><DL><DT><B>Returns:</B><DD>coordinates of the intersection point</DL></DD></DL><HR><A NAME="getPointNormal()"><!-- --></A><H3>getPointNormal</H3><PRE>public <A HREF="../../../../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A> <B>getPointNormal</B>()</PRE><DL><DD>Returns the normal of the intersection point. Returns null if the geometry      does not contain normals.<P><DD><DL><DT><B>Returns:</B><DD>normal at the intersection point.</DL></DD></DL><HR><A NAME="getPointColor()"><!-- --></A><H3>getPointColor</H3><PRE>public <A HREF="../../../../../javax/vecmath/Color4f.html" title="class in javax.vecmath">Color4f</A> <B>getPointColor</B>()</PRE><DL><DD>Returns the color of the intersection point. Returns null if the geometry      does not contain colors.  If the geometry was defined with      GeometryArray.COLOR_3, the 'w' component of the color will initialized to       1.0<P><DD><DL><DT><B>Returns:</B><DD>color at the intersection point.</DL></DD></DL><HR><A NAME="getPointTextureCoordinate(int)"><!-- --></A><H3>getPointTextureCoordinate</H3><PRE>public <A HREF="../../../../../javax/vecmath/TexCoord3f.html" title="class in javax.vecmath">TexCoord3f</A> <B>getPointTextureCoordinate</B>(int&nbsp;index)</PRE><DL><DD>Returns the texture coordinate of the intersection point at the specifed       index in the specified texture coordinate set.      Returns null if the geometry      does not contain texture coordinates.  If the geometry was defined with      GeometryArray.TEXTURE_COORDINATE_3, the 'z' component of the texture      coordinate will initialized to 0.0<P><DD><DL><DT><B>Returns:</B><DD>texture coordinate at the intersection point.</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../../com/sun/j3d/utils/picking/PickCanvas.html" title="class in com.sun.j3d.utils.picking"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../com/sun/j3d/utils/picking/PickResult.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/PickIntersection.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="PickIntersection.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<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 + -