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

📄 modelclip.html

📁 java 3d帮助文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<P><DD><DL><DT><B>Parameters:</B><DD><CODE>scope</CODE> - the Group node to be looked up.<DT><B>Returns:</B><DD>the index of the specified Group node; returns -1 if the object is not in the list.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></DL></DD></DL><HR><A NAME="removeScope(javax.media.j3d.Group)"><!-- --></A><H3>removeScope</H3><PRE>public void <B>removeScope</B>(<A HREF="../../../javax/media/j3d/Group.html">Group</A>&nbsp;scope)</PRE><DL><DD>Removes the specified Group node from this ModelClip node's list of scopes.  If the specified object is not in the list, the list is not modified.  If this operation causes the list of scopes to become empty, then this ModelClip will have universe scope: all nodes within the region of influence will be affected by this ModelClip node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>scope</CODE> - the Group node to be removed.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DD><CODE><A HREF="../../../javax/media/j3d/RestrictedAccessException.html">RestrictedAccessException</A></CODE> - if the specified group node is part of a compiled scene graph<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></DL></DD></DL><HR><A NAME="removeAllScopes()"><!-- --></A><H3>removeAllScopes</H3><PRE>public void <B>removeAllScopes</B>()</PRE><DL><DD>Removes all Group nodes from this ModelClip node's list of scopes.  The ModelClip node will then have universe scope: all nodes within the region of influence will be affected by this ModelClip node.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DD><CODE><A HREF="../../../javax/media/j3d/RestrictedAccessException.html">RestrictedAccessException</A></CODE> - if any group node in this node's list of scopes is part of a compiled scene graph<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></DL></DD></DL><HR><A NAME="setPlanes(javax.vecmath.Vector4d[])"><!-- --></A><H3>setPlanes</H3><PRE>public void <B>setPlanes</B>(<A HREF="../../../javax/vecmath/Vector4d.html">Vector4d</A>[]&nbsp;planes)</PRE><DL><DD>Sets the clipping planes of this ModelClip node to the specified planes. The individual planes are copied into this node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>planes</CODE> - an array of 6 model clipping planes</DL></DD></DL><HR><A NAME="getPlanes(javax.vecmath.Vector4d[])"><!-- --></A><H3>getPlanes</H3><PRE>public void <B>getPlanes</B>(<A HREF="../../../javax/vecmath/Vector4d.html">Vector4d</A>[]&nbsp;planes)</PRE><DL><DD>Retrieves the clipping planes from this ModelClip node. The individual planes are copied into the specified planes, which must be allocated by the caller. The array must be large enough to hold all of the vectors.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>planes</CODE> - an array of 6 vectors that will receive the model clipping planes from this node</DL></DD></DL><HR><A NAME="setPlane(int, javax.vecmath.Vector4d)"><!-- --></A><H3>setPlane</H3><PRE>public void <B>setPlane</B>(int&nbsp;planeNum,                     <A HREF="../../../javax/vecmath/Vector4d.html">Vector4d</A>&nbsp;plane)</PRE><DL><DD>Sets the specified clipping plane of this ModelClip node. The specified plane is copied into this node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>planeNum</CODE> - specifies which model clipping plane (0-5) is replaced<DD><CODE>plane</CODE> - new model clipping plane</DL></DD></DL><HR><A NAME="getPlane(int, javax.vecmath.Vector4d)"><!-- --></A><H3>getPlane</H3><PRE>public void <B>getPlane</B>(int&nbsp;planeNum,                     <A HREF="../../../javax/vecmath/Vector4d.html">Vector4d</A>&nbsp;plane)</PRE><DL><DD>Retrieves the specified clipping plane from this ModelClip node. The plane is copied into the specified plane, which must be allocated by the caller.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>planeNum</CODE> - specifies which model clipping plane (0-5) is retrieved<DD><CODE>plane</CODE> - a vector that will receive the specified model clipping plane from this node</DL></DD></DL><HR><A NAME="setEnables(boolean[])"><!-- --></A><H3>setEnables</H3><PRE>public void <B>setEnables</B>(boolean[]&nbsp;enables)</PRE><DL><DD>Sets the per-plane enable flags of this ModelClip node to the specified values.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>enables</CODE> - an array of 6 enable flags</DL></DD></DL><HR><A NAME="getEnables(boolean[])"><!-- --></A><H3>getEnables</H3><PRE>public void <B>getEnables</B>(boolean[]&nbsp;enables)</PRE><DL><DD>Retrieves the per-plane enable flags from this ModelClip node. The enable flags are copied into the specified array. The array must be large enough to hold all of the enables.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>enables</CODE> - an array of 6 booleans that will receive the enable flags from this node</DL></DD></DL><HR><A NAME="setEnable(int, boolean)"><!-- --></A><H3>setEnable</H3><PRE>public void <B>setEnable</B>(int&nbsp;planeNum,                      boolean&nbsp;enable)</PRE><DL><DD>Sets the specified enable flag of this ModelClip node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>planeNum</CODE> - specifies which enable flag (0-5) is set<DD><CODE>enable</CODE> - new enable flag</DL></DD></DL><HR><A NAME="getEnable(int)"><!-- --></A><H3>getEnable</H3><PRE>public boolean <B>getEnable</B>(int&nbsp;planeNum)</PRE><DL><DD>Retrieves the specified enable flag from this ModelClip node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>planeNum</CODE> - specifies which enable flag (0-5) is retrieved<DT><B>Returns:</B><DD>the specified enable flag</DL></DD></DL><HR><A NAME="cloneNode(boolean)"><!-- --></A><H3>cloneNode</H3><PRE>public <A HREF="../../../javax/media/j3d/Node.html">Node</A> <B>cloneNode</B>(boolean&nbsp;forceDuplicate)</PRE><DL><DD>Used to create a new instance of the node.  This routine is called by <code>cloneTree</code> to duplicate the current node.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/Node.html#cloneNode(boolean)">cloneNode</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/Node.html">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>forceDuplicate</CODE> - when set to <code>true</code>, causes the  <code>duplicateOnCloneTree</code> flag to be ignored.  When  <code>false</code>, the value of each node's  <code>duplicateOnCloneTree</code> variable determines whether  NodeComponent data is duplicated or copied.<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Node.html#cloneTree()"><CODE>Node.cloneTree()</CODE></A>, <A HREF="../../../javax/media/j3d/Node.html#cloneNode(boolean)"><CODE>Node.cloneNode(boolean)</CODE></A>, <A HREF="../../../javax/media/j3d/Node.html#duplicateNode(javax.media.j3d.Node, boolean)"><CODE>Node.duplicateNode(javax.media.j3d.Node, boolean)</CODE></A>, <A HREF="../../../javax/media/j3d/NodeComponent.html#setDuplicateOnCloneTree(boolean)"><CODE>NodeComponent.setDuplicateOnCloneTree(boolean)</CODE></A></DL></DD></DL><HR><A NAME="updateNodeReferences(javax.media.j3d.NodeReferenceTable)"><!-- --></A><H3>updateNodeReferences</H3><PRE>public void <B>updateNodeReferences</B>(<A HREF="../../../javax/media/j3d/NodeReferenceTable.html">NodeReferenceTable</A>&nbsp;referenceTable)</PRE><DL><DD>Callback used to allow a node to check if any scene graph objects referenced by that node have been duplicated via a call to <code>cloneTree</code>. This method is called by <code>cloneTree</code> after all nodes in the sub-graph have been duplicated. The cloned Leaf node's method will be called and the Leaf node can then look up any object references by using the <code>getNewObjectReference</code> method found in the <code>NodeReferenceTable</code> object.  If a match is found, a reference to the corresponding object in the newly cloned sub-graph is returned.  If no corresponding reference is found, either a DanglingReferenceException is thrown or a reference to the original object is returned depending on the value of the <code>allowDanglingReferences</code> parameter passed in the <code>cloneTree</code> call. <p> NOTE: Applications should <i>not</i> call this method directly. It should only be called by the cloneTree method.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/SceneGraphObject.html#updateNodeReferences(javax.media.j3d.NodeReferenceTable)">updateNodeReferences</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/SceneGraphObject.html">SceneGraphObject</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>referenceTable</CODE> - a NodeReferenceTableObject that contains the  <code>getNewObjectReference</code> method needed to search for  new object instances.<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/NodeReferenceTable.html"><CODE>NodeReferenceTable</CODE></A>, <A HREF="../../../javax/media/j3d/Node.html#cloneTree()"><CODE>Node.cloneTree()</CODE></A>, <A HREF="../../../javax/media/j3d/DanglingReferenceException.html"><CODE>DanglingReferenceException</CODE></A></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <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="../../../javax/media/j3d/MediaContainer.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/j3d/Morph.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ModelClip.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -