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

📄 raster.html

📁 java 3d帮助文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<P><DD><DL></DL></DD></DL><HR><A NAME="getOffset(java.awt.Point)"><!-- --></A><H3>getOffset</H3><PRE>public void <B>getOffset</B>(java.awt.Point&nbsp;srcOffset)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>As of Java 3D version 1.3, replaced by <code>getSrcOffset(java.awt.Point)</code></I><P><DD><DL></DL></DD></DL><HR><A NAME="setSrcOffset(int, int)"><!-- --></A><H3>setSrcOffset</H3><PRE>public void <B>setSrcOffset</B>(int&nbsp;xSrcOffset,                         int&nbsp;ySrcOffset)</PRE><DL><DD>Sets the offset within the source array of pixels at which to start copying.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>xSrcOffset</CODE> - the x offset within the source array of pixels at which to start copying<DD><CODE>ySrcOffset</CODE> - the y offset within the source array of pixels at which to start copying<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="setSrcOffset(java.awt.Point)"><!-- --></A><H3>setSrcOffset</H3><PRE>public void <B>setSrcOffset</B>(java.awt.Point&nbsp;srcOffset)</PRE><DL><DD>Sets the offset within the source array of pixels at which to start copying.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>srcOffset</CODE> - the new source pixel offset<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="getSrcOffset(java.awt.Point)"><!-- --></A><H3>getSrcOffset</H3><PRE>public void <B>getSrcOffset</B>(java.awt.Point&nbsp;srcOffset)</PRE><DL><DD>Retrieves the current source pixel offset.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>srcOffset</CODE> - the object that will receive the source offset<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="setSize(int, int)"><!-- --></A><H3>setSize</H3><PRE>public void <B>setSize</B>(int&nbsp;width,                    int&nbsp;height)</PRE><DL><DD>Sets the number of pixels to be copied from the pixel array.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the number of columns in the array of pixels to copy<DD><CODE>height</CODE> - the number of rows in the array of pixels to copy<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="setSize(java.awt.Dimension)"><!-- --></A><H3>setSize</H3><PRE>public void <B>setSize</B>(java.awt.Dimension&nbsp;size)</PRE><DL><DD>Sets the size of the array of pixels to be copied.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>size</CODE> - the new size<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="getSize(java.awt.Dimension)"><!-- --></A><H3>getSize</H3><PRE>public void <B>getSize</B>(java.awt.Dimension&nbsp;size)</PRE><DL><DD>Retrieves the current raster size.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>size</CODE> - the object that will receive the size<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="setDstOffset(int, int)"><!-- --></A><H3>setDstOffset</H3><PRE>public void <B>setDstOffset</B>(int&nbsp;xDstOffset,                         int&nbsp;yDstOffset)</PRE><DL><DD>Sets the destination pixel offset of the upper-left corner of the rendered image relative to the transformed position.  This pixel offset is added to the transformed raster position prior to rendering the image.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>xDstOffset</CODE> - the x coordinate of the new offset<DD><CODE>yDstOffset</CODE> - the y coordinate of the new offset<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="setDstOffset(java.awt.Point)"><!-- --></A><H3>setDstOffset</H3><PRE>public void <B>setDstOffset</B>(java.awt.Point&nbsp;dstOffset)</PRE><DL><DD>Sets the destination pixel offset of the upper-left corner of the rendered image relative to the transformed position.  This pixel offset is added to the transformed raster position prior to rendering the image.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dstOffset</CODE> - the new destination pixel offset<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="getDstOffset(java.awt.Point)"><!-- --></A><H3>getDstOffset</H3><PRE>public void <B>getDstOffset</B>(java.awt.Point&nbsp;dstOffset)</PRE><DL><DD>Retrieves the current destination pixel offset.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dstOffset</CODE> - the object that will receive the destination offset<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="setImage(javax.media.j3d.ImageComponent2D)"><!-- --></A><H3>setImage</H3><PRE>public void <B>setImage</B>(<A HREF="../../../javax/media/j3d/ImageComponent2D.html">ImageComponent2D</A>&nbsp;image)</PRE><DL><DD>Sets the pixel array used to copy pixels to/from a Canvas3D. This is used when the type is RASTER_COLOR or RASTER_COLOR_DEPTH.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>image</CODE> - the ImageComponent2D object containing the color data<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="getImage()"><!-- --></A><H3>getImage</H3><PRE>public <A HREF="../../../javax/media/j3d/ImageComponent2D.html">ImageComponent2D</A> <B>getImage</B>()</PRE><DL><DD>Retrieves the current pixel array object.<P><DD><DL><DT><B>Returns:</B><DD>image the ImageComponent2D object containing the color data<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="setDepthComponent(javax.media.j3d.DepthComponent)"><!-- --></A><H3>setDepthComponent</H3><PRE>public void <B>setDepthComponent</B>(<A HREF="../../../javax/media/j3d/DepthComponent.html">DepthComponent</A>&nbsp;depthComponent)</PRE><DL><DD>Sets the depth image used to copy pixels to/from a Canvas3D. This is used when the type is RASTER_DEPTH or RASTER_COLOR_DEPTH.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>depthComponent</CODE> - the DepthComponent object containing the depth (z-buffer) data<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="getDepthComponent()"><!-- --></A><H3>getDepthComponent</H3><PRE>public <A HREF="../../../javax/media/j3d/DepthComponent.html">DepthComponent</A> <B>getDepthComponent</B>()</PRE><DL><DD>Retrieves the current depth image object.<P><DD><DL><DT><B>Returns:</B><DD>depthImage DepthComponent containing the depth (z-buffer) data<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="cloneNodeComponent()"><!-- --></A><H3>cloneNodeComponent</H3><PRE>public <A HREF="../../../javax/media/j3d/NodeComponent.html">NodeComponent</A> <B>cloneNodeComponent</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>replaced with cloneNodeComponent(boolean forceDuplicate)</I><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/NodeComponent.html#cloneNodeComponent()">cloneNodeComponent</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/NodeComponent.html">NodeComponent</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="duplicateNodeComponent(javax.media.j3d.NodeComponent)"><!-- --></A><H3>duplicateNodeComponent</H3><PRE>public void <B>duplicateNodeComponent</B>(<A HREF="../../../javax/media/j3d/NodeComponent.html">NodeComponent</A>&nbsp;originalNodeComponent)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>replaced with duplicateNodeComponent(  NodeComponent originalNodeComponent, boolean forceDuplicate)</I><P><DD>NOTE: Applications should <i>not</i> call this method directly. It should only be called by the cloneNode method.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/NodeComponent.html#duplicateNodeComponent(javax.media.j3d.NodeComponent)">duplicateNodeComponent</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/NodeComponent.html">NodeComponent</A></CODE></DL></DD><DD><DL></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/QuadArray.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/j3d/RenderingAttributes.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="Raster.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 + -