📄 transfertrectiter.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.4.2_13) on Tue Jun 05 11:36:22 GMT-05:00 2007 --><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><TITLE>TransfertRectIter (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="org.geotools.image.TransfertRectIter class"><META NAME="keywords" CONTENT="create()"><META NAME="keywords" CONTENT="startLines()"><META NAME="keywords" CONTENT="startPixels()"><META NAME="keywords" CONTENT="startBands()"><META NAME="keywords" CONTENT="jumpLines()"><META NAME="keywords" CONTENT="jumpPixels()"><META NAME="keywords" CONTENT="nextLine()"><META NAME="keywords" CONTENT="nextPixel()"><META NAME="keywords" CONTENT="nextBand()"><META NAME="keywords" CONTENT="nextLineDone()"><META NAME="keywords" CONTENT="nextPixelDone()"><META NAME="keywords" CONTENT="nextBandDone()"><META NAME="keywords" CONTENT="finishedLines()"><META NAME="keywords" CONTENT="finishedPixels()"><META NAME="keywords" CONTENT="finishedBands()"><META NAME="keywords" CONTENT="getPixel()"><META NAME="keywords" CONTENT="getSample()"><META NAME="keywords" CONTENT="getSampleFloat()"><META NAME="keywords" CONTENT="getSampleDouble()"><META NAME="keywords" CONTENT="setPixel()"><META NAME="keywords" CONTENT="setSample()"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="TransfertRectIter (Geotools 2.3.x 2.3.2 API)";}</SCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_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> </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="class-use/TransfertRectIter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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="../../../org/geotools/image/ImageWorker.PNGImageWriteParam.html" title="class in org.geotools.image"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="TransfertRectIter.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.geotools.image</FONT><BR>Class TransfertRectIter</H2><PRE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>TransfertRectIter</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/iterator/RectIter.html" title="class or interface in javax.media.jai.iterator">RectIter</A>, <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/iterator/WritableRectIter.html" title="class or interface in javax.media.jai.iterator">WritableRectIter</A></DD></DL><HR><DL><DT>public final class <B>TransfertRectIter</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/iterator/WritableRectIter.html" title="class or interface in javax.media.jai.iterator">WritableRectIter</A></DL><P>A <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/iterator/WritableRectIter.html" title="class or interface in javax.media.jai.iterator">writable iterator</A> that read pixel values from an image, and write pixel values to a different image. All methods read values from the <cite>source</cite> image specified at <A HREF="../../../org/geotools/image/TransfertRectIter.html#create(javax.media.jai.iterator.RectIter, javax.media.jai.iterator.WritableRectIter)">creation time</A>. All methods write values to the <cite>destination</cite> image specified at <A HREF="../../../org/geotools/image/TransfertRectIter.html#create(javax.media.jai.iterator.RectIter, javax.media.jai.iterator.WritableRectIter)">creation time</A>, which may or may not be the same than the <cite>source</cite> image. This is different than the usual <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/iterator/WritableRectIter.html" title="class or interface in javax.media.jai.iterator"><CODE>WritableRectIter</CODE></A> contract, which read and write values in the same image. This is convenient for the implementation of some image operations.<P><P><DL><DT><B>Since:</B></DT> <DD>2.3</DD><DT><B>Author:</B></DT> <DD>Martin Desruisseaux</DD><DT><B>Module:</B></DT><DD><CODE><B>module/coverage</B></CODE> (<A HREF="http://maven.geotools.fr/repository/org/geotools/gt2-coverage/"><CODE>gt2-coverage.jar</CODE></A>) (<A HREF="http://maven.geotools.fr/reports/coverage/index.html">Maven report</A>) (<A HREF="http://svn.geotools.org/geotools/tags/2.3.2/module/coverage/src/org/geotools/image/TransfertRectIter.java">SVN head</A>)</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/iterator/WritableRectIter.html" title="class or interface in javax.media.jai.iterator">WritableRectIter</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/TransfertRectIter.html#create(javax.media.jai.iterator.RectIter, javax.media.jai.iterator.WritableRectIter)">create</A></B>(<A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/iterator/RectIter.html" title="class or interface in javax.media.jai.iterator">RectIter</A> src, <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/iterator/WritableRectIter.html" title="class or interface in javax.media.jai.iterator">WritableRectIter</A> dst)</CODE><BR> Creates a <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/iterator/WritableRectIter.html" title="class or interface in javax.media.jai.iterator"><CODE>WritableRectIter</CODE></A> for the specified source and destination iterator. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/TransfertRectIter.html#finishedBands()">finishedBands</A></B>()</CODE><BR> Returns if the max band in the image has been exceeded.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/TransfertRectIter.html#finishedLines()">finishedLines</A></B>()</CODE><BR> Returns if the bottom row of the bounding rectangle has been passed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/TransfertRectIter.html#finishedPixels()">finishedPixels</A></B>()</CODE><BR> Returns if the right edge of the bounding rectangle has been passed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/TransfertRectIter.html#getPixel(double[])">getPixel</A></B>(double[] array)</CODE><BR> Returns the samples of the current pixel from the image in an array of double.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/TransfertRectIter.html#getPixel(float[])">getPixel</A></B>(float[] array)</CODE><BR> Returns the samples of the current pixel from the image in an array of float.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/TransfertRectIter.html#getPixel(int[])">getPixel</A></B>(int[] array)</CODE><BR> Returns the samples of the current pixel from the image in an array of int.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/TransfertRectIter.html#getSample()">getSample</A></B>()</CODE><BR> Returns the current sample as an integer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/TransfertRectIter.html#getSample(int)">getSample</A></B>(int b)</CODE><BR> Returns the specified sample of the current pixel as an integer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/TransfertRectIter.html#getSampleDouble()">getSampleDouble</A></B>()</CODE><BR> Returns the current sample as a double.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/TransfertRectIter.html#getSampleDouble(int)">getSampleDouble</A></B>(int b)</CODE><BR> Returns the specified sample of the current pixel as a double.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/TransfertRectIter.html#getSampleFloat()">getSampleFloat</A></B>()</CODE><BR> Returns the current sample as a float.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/TransfertRectIter.html#getSampleFloat(int)">getSampleFloat</A></B>(int b)</CODE><BR> Returns the specified sample of the current pixel as a float.</TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -