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

📄 clip.html

📁 java 3d帮助文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<DL><DD>Specifies that the Clip allows read access to its application bounds and bounding leaf at runtime.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Clip.ALLOW_APPLICATION_BOUNDS_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_APPLICATION_BOUNDS_WRITE"><!-- --></A><H3>ALLOW_APPLICATION_BOUNDS_WRITE</H3><PRE>public static final int <B>ALLOW_APPLICATION_BOUNDS_WRITE</B></PRE><DL><DD>Specifies that the Clip allows write access to its application bounds and bounding leaf at runtime.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Clip.ALLOW_APPLICATION_BOUNDS_WRITE">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_BACK_DISTANCE_READ"><!-- --></A><H3>ALLOW_BACK_DISTANCE_READ</H3><PRE>public static final int <B>ALLOW_BACK_DISTANCE_READ</B></PRE><DL><DD>Specifies that the Clip allows read access to its back distance at runtime.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Clip.ALLOW_BACK_DISTANCE_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_BACK_DISTANCE_WRITE"><!-- --></A><H3>ALLOW_BACK_DISTANCE_WRITE</H3><PRE>public static final int <B>ALLOW_BACK_DISTANCE_WRITE</B></PRE><DL><DD>Specifies that the Clip allows write access to its back distance at runtime.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Clip.ALLOW_BACK_DISTANCE_WRITE">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Clip()"><!-- --></A><H3>Clip</H3><PRE>public <B>Clip</B>()</PRE><DL><DD>Constructs a Clip node with default parameters.  The default values are as follows: <ul> back clip distance : 100 meters<sr> application bounds : null<br> application bounding leaf : null<br> </ul><P></DL><HR><A NAME="Clip(double)"><!-- --></A><H3>Clip</H3><PRE>public <B>Clip</B>(double&nbsp;backDistance)</PRE><DL><DD>Constructs a Clip node with the specified back clip distance.<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setBackDistance(double)"><!-- --></A><H3>setBackDistance</H3><PRE>public void <B>setBackDistance</B>(double&nbsp;backDistance)</PRE><DL><DD>Sets the back clip distance to the specified value. There are several considerations that need to be taken into account when choosing values for the front and back clip distances. These are enumerated in the description of <a href=View.html#setFrontClipDistance(double)> View.setFrontClipDistance</a>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>backDistance</CODE> - the new back clip distance in meters<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/View.html#setFrontClipDistance(double)"><CODE>View.setFrontClipDistance(double)</CODE></A>, <A HREF="../../../javax/media/j3d/View.html#setBackClipDistance(double)"><CODE>View.setBackClipDistance(double)</CODE></A></DL></DD></DL><HR><A NAME="getBackDistance()"><!-- --></A><H3>getBackDistance</H3><PRE>public double <B>getBackDistance</B>()</PRE><DL><DD>Retrieves the back clip distance.<P><DD><DL><DT><B>Returns:</B><DD>the current back clip distance, in meters</DL></DD></DL><HR><A NAME="setApplicationBounds(javax.media.j3d.Bounds)"><!-- --></A><H3>setApplicationBounds</H3><PRE>public void <B>setApplicationBounds</B>(<A HREF="../../../javax/media/j3d/Bounds.html">Bounds</A>&nbsp;region)</PRE><DL><DD>Set the Clip's application region to the specified bounds. This is used when the application bounding leaf is set to null.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>region</CODE> - the bounds that contains the Clip's new application region.<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</DL></DD></DL><HR><A NAME="getApplicationBounds()"><!-- --></A><H3>getApplicationBounds</H3><PRE>public <A HREF="../../../javax/media/j3d/Bounds.html">Bounds</A> <B>getApplicationBounds</B>()</PRE><DL><DD>Retrieves the Clip node's application bounds.<P><DD><DL><DT><B>Returns:</B><DD>this Clip's application bounds information<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</DL></DD></DL><HR><A NAME="setApplicationBoundingLeaf(javax.media.j3d.BoundingLeaf)"><!-- --></A><H3>setApplicationBoundingLeaf</H3><PRE>public void <B>setApplicationBoundingLeaf</B>(<A HREF="../../../javax/media/j3d/BoundingLeaf.html">BoundingLeaf</A>&nbsp;region)</PRE><DL><DD>Set the Clip's application region to the specified bounding leaf. When set to a value other than null, this overrides the application bounds object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>region</CODE> - the bounding leaf node used to specify the Clip node's new application region.<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</DL></DD></DL><HR><A NAME="getApplicationBoundingLeaf()"><!-- --></A><H3>getApplicationBoundingLeaf</H3><PRE>public <A HREF="../../../javax/media/j3d/BoundingLeaf.html">BoundingLeaf</A> <B>getApplicationBoundingLeaf</B>()</PRE><DL><DD>Retrieves the Clip node's application bounding leaf.<P><DD><DL><DT><B>Returns:</B><DD>this Clip's application bounding leaf information<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</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/Canvas3D.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/j3d/ColoringAttributes.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="Clip.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 + -