Java Doc for GeoTIFFDirectory.java in  » GIS » openjump » org » geotiff » image » jai » 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 » openjump » org.geotiff.image.jai 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.libtiff.jai.codec.XTIFFDirectory
      org.geotiff.image.jai.GeoTIFFDirectory

GeoTIFFDirectory
public class GeoTIFFDirectory extends XTIFFDirectory implements java.io.Serializable(Code)
An extension of the XTIFFDirectory that understands the structure of the GeoTIFF key set
author:
   Niles D. Ritter



Constructor Summary
public  GeoTIFFDirectory()
    
public  GeoTIFFDirectory(SeekableStream stream, long ifd_offset)
     Constructs a GeoTIFFDirectory by reading a SeekableStream.
public  GeoTIFFDirectory(SeekableStream stream, int directory)
     Constructs a GeoTIFFDirectory from a SeekableStream.

Method Summary
public  voidaddGeoKey(int key, int type, int count, Object data)
    
public  voidaddGeoKey(XTIFFField geoKey)
     Add an existing geoKey to the directory.
public  XTIFFField[]getFields()
     Returns an array of XTIFFFields containing all the fields in this directory.
public  XTIFFFieldgetGeoKey(int key)
     Indexed Accessor to the Geokeys,indexed by the key values.
public  XTIFFField[]getGeoKeys()
     Returns an array of XTIFFFields containing all the fields corresponding to the GeoKeys.
public  double[]getPixelScale()
    
public  double[]getTiepoints()
    
public  double[]getTransformationMatrix()
    
public  voidsetPixelScale(double[] scales)
    
public  voidsetTiepoints(double[] tiepoints)
    
public  voidsetTransformationMatrix(double[] matrix)
    


Constructor Detail
GeoTIFFDirectory
public GeoTIFFDirectory()(Code)
public constructor (for serializability)



GeoTIFFDirectory
public GeoTIFFDirectory(SeekableStream stream, long ifd_offset) throws java.io.IOException(Code)
Constructs a GeoTIFFDirectory by reading a SeekableStream. The ifd_offset parameter specifies the stream offset from which to begin reading; this mechanism is sometimes used to store private IFDs within a TIFF file that are not part of the normal sequence of IFDs.



GeoTIFFDirectory
public GeoTIFFDirectory(SeekableStream stream, int directory) throws java.io.IOException(Code)
Constructs a GeoTIFFDirectory from a SeekableStream. The directory parameter specifies which directory to read from the linked list present in the stream; directory 0 is normally read but it is possible to store multiple images in a single TIFF file by maintaing multiple directories.




Method Detail
addGeoKey
public void addGeoKey(int key, int type, int count, Object data)(Code)
Add a geoKey to the directory



addGeoKey
public void addGeoKey(XTIFFField geoKey)(Code)
Add an existing geoKey to the directory.



getFields
public XTIFFField[] getFields()(Code)
Returns an array of XTIFFFields containing all the fields in this directory. Prior to returning array, determine if there are any GeoKeys, and if so, set up the corresponding GeoTIFF fields.



getGeoKey
public XTIFFField getGeoKey(int key)(Code)
Indexed Accessor to the Geokeys,indexed by the key values.



getGeoKeys
public XTIFFField[] getGeoKeys()(Code)
Returns an array of XTIFFFields containing all the fields corresponding to the GeoKeys.



getPixelScale
public double[] getPixelScale()(Code)
return the pixel scale tag values



getTiepoints
public double[] getTiepoints()(Code)
return the tiepoint tag values



getTransformationMatrix
public double[] getTransformationMatrix()(Code)
return the transformation matrix tag values



setPixelScale
public void setPixelScale(double[] scales)(Code)
return the pixel scale tag values



setTiepoints
public void setTiepoints(double[] tiepoints)(Code)
set the tiepoint tag values



setTransformationMatrix
public void setTransformationMatrix(double[] matrix)(Code)
return the pixel scale tag values



Fields inherited from org.libtiff.jai.codec.XTIFFDirectory
protected static XTIFFFactory factory(Code)(Java Doc)
protected transient SeekableStream stream(Code)(Java Doc)
protected static Hashtable tileCodecs(Code)(Java Doc)

Methods inherited from org.libtiff.jai.codec.XTIFFDirectory
public void addField(int tag, int type, int count, Object obj)(Code)(Java Doc)
public void addField(XTIFFField field)(Code)(Java Doc)
public static XTIFFDirectory create(SeekableStream stream, int directory) throws IOException(Code)(Java Doc)
public static XTIFFDirectory create(SeekableStream stream, long ifd_offset) throws IOException(Code)(Java Doc)
public static XTIFFDirectory create()(Code)(Java Doc)
public static XTIFFField createField(int tag, int type, int count, Object obj)(Code)(Java Doc)
public XTIFFTileCodec createTileCodec(XTIFFDecodeParam param) throws IOException(Code)(Java Doc)
public XTIFFTileCodec createTileCodec(XTIFFEncodeParam param) throws IOException(Code)(Java Doc)
public int getCompression()(Code)(Java Doc)
public XTIFFField getField(int tag)(Code)(Java Doc)
public byte getFieldAsByte(int tag, int index)(Code)(Java Doc)
public byte getFieldAsByte(int tag)(Code)(Java Doc)
public double getFieldAsDouble(int tag, int index)(Code)(Java Doc)
public double getFieldAsDouble(int tag)(Code)(Java Doc)
public float getFieldAsFloat(int tag, int index)(Code)(Java Doc)
public float getFieldAsFloat(int tag)(Code)(Java Doc)
public long getFieldAsLong(int tag, int index)(Code)(Java Doc)
public long getFieldAsLong(int tag)(Code)(Java Doc)
public XTIFFField[] getFields()(Code)(Java Doc)
public int getImageType()(Code)(Java Doc)
public static int getNumDirectories(SeekableStream stream) throws IOException(Code)(Java Doc)
public int getNumEntries()(Code)(Java Doc)
public int[] getTags()(Code)(Java Doc)
public static XTIFFTileCodec getTileCodec(int comp)(Code)(Java Doc)
protected void initialize() throws IOException(Code)(Java Doc)
public boolean isBigEndian()(Code)(Java Doc)
public boolean isTagPresent(int tag)(Code)(Java Doc)
public boolean isTiled()(Code)(Java Doc)
protected double readDouble(SeekableStream stream) throws IOException(Code)(Java Doc)
public Object readFieldValue(int tag, int type, int count) throws IOException, ArrayIndexOutOfBoundsException(Code)(Java Doc)
protected float readFloat(SeekableStream stream) throws IOException(Code)(Java Doc)
protected void readHeader() throws IOException(Code)(Java Doc)
protected int readInt(SeekableStream stream) throws IOException(Code)(Java Doc)
protected long readLong(SeekableStream stream) throws IOException(Code)(Java Doc)
protected short readShort(SeekableStream stream) throws IOException(Code)(Java Doc)
protected long readUnsignedInt(SeekableStream stream) throws IOException(Code)(Java Doc)
protected int readUnsignedShort(SeekableStream stream) throws IOException(Code)(Java Doc)
public static void registerTileCodec(int comp, XTIFFTileCodec codec)(Code)(Java Doc)
public void setCompression(int compression)(Code)(Java Doc)
public static void setFactory(XTIFFFactory fact)(Code)(Java Doc)
public void setImageType(int image_type)(Code)(Java Doc)
public void setIsTiled(boolean isTiled)(Code)(Java Doc)
public int sizeOfType(int type) throws ArrayIndexOutOfBoundsException(Code)(Java Doc)
public static void unRegisterTileCodec(int comp)(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.