Java Doc for Grid2DSampleDimension.java in  » GIS » GeoTools-2.4.1 » org » geotools » coverage » grid » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoTools 2.4.1 » org.geotools.coverage.grid 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.geotools.coverage.GridSampleDimension
      org.geotools.coverage.grid.Grid2DSampleDimension

Grid2DSampleDimension
final class Grid2DSampleDimension extends GridSampleDimension (Code)
Describes the band values for a grid coverage.
since:
   2.1
version:
   $Id: Grid2DSampleDimension.java 22817 2006-11-17 17:24:55Z desruisseaux $
author:
   Martin Desruisseaux




Method Summary
static  booleancreate(CharSequence name, RenderedImage image, GridSampleDimension[] src, GridSampleDimension[] dst)
     Creates a set of sample dimensions for the given image.
static  GridSampleDimension[]create(CharSequence name, Raster raster, double[] min, double[] max, Unit units, Color[][] colors, RenderingHints hints)
     Creates a set of sample dimensions for the given raster.
Parameters:
  name - The name for data (e.g.
public  ColorInterpretationgetColorInterpretation()
     Returns the color interpretation of the sample dimension.
public  ColorModelgetColorModel()
     Returns a color model for this sample dimension.
public  SampleDimensionTypegetSampleDimensionType()
     Returns a code value indicating grid value data type.



Method Detail
create
static boolean create(CharSequence name, RenderedImage image, GridSampleDimension[] src, GridSampleDimension[] dst)(Code)
Creates a set of sample dimensions for the given image. The array length of both arguments must matches the number of bands in the supplied image .
Parameters:
  name - The name for data (e.g. "Elevation").
Parameters:
  image - The image for which to create a set of sample dimensions.
Parameters:
  src - User-provided sample dimensions, or null if none.
Parameters:
  dst - The array where to put sample dimensions. true if all sample dimensions are geophysics (quantitative), or false if all sample dimensions are non-geophysics (qualitative).
throws:
  IllegalArgumentException - if geophysics and non-geophysics dimensions are mixed.



create
static GridSampleDimension[] create(CharSequence name, Raster raster, double[] min, double[] max, Unit units, Color[][] colors, RenderingHints hints)(Code)
Creates a set of sample dimensions for the given raster.
Parameters:
  name - The name for data (e.g. "Elevation").
Parameters:
  raster - The raster.
Parameters:
  min - The minimal value for each bands, or null for computing it automatically.
Parameters:
  max - The maximal value for each bands, or null for computing it automatically.
Parameters:
  units - The units of sample values, or null if unknow.
Parameters:
  colors - The colors to use for values from min to max for eachbands, or null for a default color palette. If non-null, each arrays colors[b] may have any length; colors will be interpolated as needed.
Parameters:
  hints - An optional set of rendering hints, or null if none. Those hints willnot affect the sample dimensions to be created. However, they may affect the sampledimensions to be returned by Grid2DSampleDimension.geophysics geophysics(false), i.e.the view to be used at rendering time. The optional hintHints.SAMPLE_DIMENSION_TYPE specifies the SampleDimensionTypeto be used at rendering time, which can be one ofSampleDimensionType.UBYTE UBYTE orSampleDimensionType.USHORT USHORT. The sample dimension for the given raster.



getColorInterpretation
public ColorInterpretation getColorInterpretation()(Code)
Returns the color interpretation of the sample dimension.



getColorModel
public ColorModel getColorModel()(Code)
Returns a color model for this sample dimension.



getSampleDimensionType
public SampleDimensionType getSampleDimensionType()(Code)
Returns a code value indicating grid value data type. This will also indicate the number of bits for the data type. a code value indicating grid value data type.



Methods inherited from org.geotools.coverage.GridSampleDimension
public boolean equals(Object object)(Code)(Java Doc)
public GridSampleDimension geophysics(boolean geo)(Code)(Java Doc)
public Category getBackground()(Code)(Java Doc)
public List getCategories()(Code)(Java Doc)
public Category getCategory(double sample)(Code)(Java Doc)
public InternationalString[] getCategoryNames() throws IllegalStateException(Code)(Java Doc)
public ColorInterpretation getColorInterpretation()(Code)(Java Doc)
public ColorModel getColorModel()(Code)(Java Doc)
public ColorModel getColorModel(int visibleBand, int numBands)(Code)(Java Doc)
public ColorModel getColorModel(int visibleBand, int numBands, int type)(Code)(Java Doc)
public InternationalString getDescription()(Code)(Java Doc)
public String getLabel(double value, Locale locale)(Code)(Java Doc)
public double getMaximumValue()(Code)(Java Doc)
public String[] getMetaDataNames()(Code)(Java Doc)
public String getMetadataValue(String name) throws MetadataNameNotFoundException(Code)(Java Doc)
public double getMinimumValue()(Code)(Java Doc)
public double[] getNoDataValues() throws IllegalStateException(Code)(Java Doc)
public double getOffset() throws IllegalStateException(Code)(Java Doc)
public int[][] getPalette()(Code)(Java Doc)
public PaletteInterpretation getPaletteInterpretation()(Code)(Java Doc)
public NumberRange getRange()(Code)(Java Doc)
public SampleDimensionType getSampleDimensionType()(Code)(Java Doc)
public MathTransform1D getSampleToGeophysics()(Code)(Java Doc)
public double getScale()(Code)(Java Doc)
public Unit getUnits()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public GridSampleDimension rescale(double scale, double offset)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public static GridSampleDimension wrap(SampleDimension sd)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.