📄 raster.html
字号:
<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 srcOffset)</PRE><DL><DD><B>Deprecated.</B> <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 xSrcOffset, int 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 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 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 width, int 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 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 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 xDstOffset, int 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 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 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> 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> 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> <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> originalNodeComponent)</PRE><DL><DD><B>Deprecated.</B> <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> </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="../../../javax/media/j3d/QuadArray.html"><B>PREV CLASS</B></A> <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> <A HREF="Raster.html" TARGET="_top"><B>NO FRAMES</B></A> <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: 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><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -