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

📄 abstractcoverage.renderable.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
                                           <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/RenderingHints.html" title="class or interface in java.awt">RenderingHints</A>&nbsp;hints)</PRE><DL><DD>Creates a rendered image with width  and height  in pixels. If  is 0, it will be computed automatically from . Conversely, if  is 0, il will be computed automatically from .  The default implementation creates a render context with <A HREF="../../../org/geotools/coverage/AbstractCoverage.Renderable.html#createRenderContext(java.awt.geom.Rectangle2D, java.awt.RenderingHints)"><CODE>createRenderContext(java.awt.geom.Rectangle2D, java.awt.RenderingHints)</CODE></A> and invokes <A HREF="../../../org/geotools/coverage/AbstractCoverage.Renderable.html#createRendering(java.awt.image.renderable.RenderContext)"><CODE>createRendering(RenderContext)</CODE></A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/renderable/RenderableImage.html#createScaledRendering(int, int, java.awt.RenderingHints)" title="class or interface in java.awt.image.renderable">createScaledRendering</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/renderable/RenderableImage.html" title="class or interface in java.awt.image.renderable">RenderableImage</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - The width of rendered image in pixels, or 0.<DD><CODE>height</CODE> - The height of rendered image in pixels, or 0.<DD><CODE>hints</CODE> - Rendering hints, or .<DT><B>Returns:</B><DD>A rendered image containing the rendered data</DL></DD></DL><HR><A NAME="createRendering(java.awt.image.renderable.RenderContext)"><!-- --></A><H3>createRendering</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RenderedImage.html" title="class or interface in java.awt.image">RenderedImage</A> <B>createRendering</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/renderable/RenderContext.html" title="class or interface in java.awt.image.renderable">RenderContext</A>&nbsp;context)</PRE><DL><DD>Creates a rendered image using a given render context. This method will uses an "<A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/operator/ImageFunctionDescriptor.html" title="class or interface in javax.media.jai.operator"><CODE>ImageFunction</CODE></A>" operation if possible (i.e. if the area of interect is rectangular and the affine transform contains only translation and scale coefficients).<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/renderable/RenderableImage.html#createRendering(java.awt.image.renderable.RenderContext)" title="class or interface in java.awt.image.renderable">createRendering</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/renderable/RenderableImage.html" title="class or interface in java.awt.image.renderable">RenderableImage</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - The render context to use to produce the rendering.<DT><B>Returns:</B><DD>A rendered image containing the rendered data</DL></DD></DL><HR><A NAME="createRenderContext(java.awt.geom.Rectangle2D, java.awt.RenderingHints)"><!-- --></A><H3>createRenderContext</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/renderable/RenderContext.html" title="class or interface in java.awt.image.renderable">RenderContext</A> <B>createRenderContext</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A>&nbsp;gridBounds,                                            <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/RenderingHints.html" title="class or interface in java.awt">RenderingHints</A>&nbsp;hints)</PRE><DL><DD>Initialize a render context with an affine transform that maps the coverage envelope to the specified destination rectangle. The affine transform mays swap axis in order to normalize their order (i.e. make them appear in the (<var>x</var>,<var>y</var>) order), so that the image appears properly oriented when rendered.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>gridBounds</CODE> - The two-dimensional destination rectangle.<DD><CODE>hints</CODE> - The rendering hints, or  if none.<DT><B>Returns:</B><DD>A render context initialized with an affine transform from the coverage         to the grid coordinate system. This transform is the inverse of         <A HREF="../../../org/geotools/coverage/grid/GridGeometry2D.html#getGridToCRS2D()"><CODE>GridGeometry2D.getGridToCRS2D()</CODE></A>.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/coverage/grid/GridGeometry2D.html#getGridToCRS2D()"><CODE>GridGeometry2D.getGridToCRS2D()</CODE></A></DL></DD></DL><HR><A NAME="getNumElements()"><!-- --></A><H3>getNumElements</H3><PRE>public int <B>getNumElements</B>()</PRE><DL><DD>Returns the number of elements per value at each position. This is the maximum value plus 1 allowed in  methods invocation. The default implementation returns the number of sample dimensions in the coverage.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/ImageFunction.html#getNumElements()" title="class or interface in javax.media.jai">getNumElements</A></CODE> in interface <CODE><A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/ImageFunction.html" title="class or interface in javax.media.jai">ImageFunction</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getElements(float, float, float, float, int, int, int, float[], float[])"><!-- --></A><H3>getElements</H3><PRE>public void <B>getElements</B>(float&nbsp;startX,                        float&nbsp;startY,                        float&nbsp;deltaX,                        float&nbsp;deltaY,                        int&nbsp;countX,                        int&nbsp;countY,                        int&nbsp;element,                        float[]&nbsp;real,                        float[]&nbsp;imag)</PRE><DL><DD>Returns all values of a given element for a specified set of coordinates. This method is automatically invoked at rendering time for populating an image tile, providing that the rendered image is created using the "<A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/operator/ImageFunctionDescriptor.html" title="class or interface in javax.media.jai.operator"><CODE>ImageFunction</CODE></A>" operator and the image type is not . The default implementation invokes <A HREF="../../../org/geotools/coverage/AbstractCoverage.html#evaluate(org.opengis.spatialschema.geometry.DirectPosition, float[])"><CODE>AbstractCoverage.evaluate(DirectPosition,float[])</CODE></A> recursively.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/ImageFunction.html#getElements(float, float, float, float, int, int, int, float[], float[])" title="class or interface in javax.media.jai">getElements</A></CODE> in interface <CODE><A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/ImageFunction.html" title="class or interface in javax.media.jai">ImageFunction</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getElements(double, double, double, double, int, int, int, double[], double[])"><!-- --></A><H3>getElements</H3><PRE>public void <B>getElements</B>(double&nbsp;startX,                        double&nbsp;startY,                        double&nbsp;deltaX,                        double&nbsp;deltaY,                        int&nbsp;countX,                        int&nbsp;countY,                        int&nbsp;element,                        double[]&nbsp;real,                        double[]&nbsp;imag)</PRE><DL><DD>Returns all values of a given element for a specified set of coordinates. This method is automatically invoked at rendering time for populating an image tile, providing that the rendered image is created using the "<A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/operator/ImageFunctionDescriptor.html" title="class or interface in javax.media.jai.operator"><CODE>ImageFunction</CODE></A>" operator and the image type is . The default implementation invokes <A HREF="../../../org/geotools/coverage/AbstractCoverage.html#evaluate(org.opengis.spatialschema.geometry.DirectPosition, double[])"><CODE>AbstractCoverage.evaluate(DirectPosition,double[])</CODE></A> recursively.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/ImageFunction.html#getElements(double, double, double, double, int, int, int, double[], double[])" title="class or interface in javax.media.jai">getElements</A></CODE> in interface <CODE><A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/ImageFunction.html" title="class or interface in javax.media.jai">ImageFunction</A></CODE></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" 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_bottom_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>&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="class-use/AbstractCoverage.Renderable.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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="../../../org/geotools/coverage/AbstractCoverage.html" title="class in org.geotools.coverage"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/geotools/coverage/Category.html" title="class in org.geotools.coverage"><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="AbstractCoverage.Renderable.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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