public class GeoTIFFDirectory extends XTIFFDirectory implements java.io.Serializable
factory, stream, tileCodecs| Constructor and Description | 
|---|
GeoTIFFDirectory()
public constructor (for serializability) 
 | 
GeoTIFFDirectory(com.sun.media.jai.codec.SeekableStream stream,
                int directory)
Constructs a GeoTIFFDirectory from a SeekableStream. 
 | 
GeoTIFFDirectory(com.sun.media.jai.codec.SeekableStream stream,
                long ifd_offset)
Constructs a GeoTIFFDirectory by reading a SeekableStream. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addGeoKey(int key,
         int type,
         int count,
         java.lang.Object data)
Add a geoKey to the directory 
 | 
void | 
addGeoKey(XTIFFField geoKey)
Add an existing geoKey to the directory. 
 | 
XTIFFField[] | 
getFields()
Returns an array of XTIFFFields containing all the fields
 in this directory. 
 | 
XTIFFField | 
getGeoKey(int key)
Indexed Accessor to the Geokeys,indexed by 
 the key values. 
 | 
XTIFFField[] | 
getGeoKeys()
Returns an array of XTIFFFields containing all the fields
 corresponding to the GeoKeys. 
 | 
double[] | 
getPixelScale()
return the pixel scale tag values 
 | 
double[] | 
getTiepoints()
return the tiepoint tag values 
 | 
double[] | 
getTransformationMatrix()
return the transformation matrix tag values 
 | 
void | 
setPixelScale(double[] scales)
return the pixel scale tag values 
 | 
void | 
setTiepoints(double[] tiepoints)
set the tiepoint tag values 
 | 
void | 
setTransformationMatrix(double[] matrix)
return the pixel scale tag values 
 | 
addField, addField, create, create, create, createField, createTileCodec, createTileCodec, getCompression, getField, getFieldAsByte, getFieldAsByte, getFieldAsDouble, getFieldAsDouble, getFieldAsFloat, getFieldAsFloat, getFieldAsLong, getFieldAsLong, getImageType, getNumDirectories, getNumEntries, getTags, getTileCodec, initialize, isBigEndian, isTagPresent, isTiled, readDouble, readFieldValue, readFloat, readHeader, readInt, readLong, readShort, readUnsignedInt, readUnsignedShort, registerTileCodec, setCompression, setFactory, setImageType, setIsTiled, sizeOfType, unRegisterTileCodecpublic GeoTIFFDirectory()
public GeoTIFFDirectory(com.sun.media.jai.codec.SeekableStream stream,
                long ifd_offset)
                 throws java.io.IOException
java.io.IOExceptionpublic GeoTIFFDirectory(com.sun.media.jai.codec.SeekableStream stream,
                int directory)
                 throws java.io.IOException
java.io.IOExceptionpublic XTIFFField[] getFields()
getFields in class XTIFFDirectorypublic void addGeoKey(int key,
             int type,
             int count,
             java.lang.Object data)
public void addGeoKey(XTIFFField geoKey)
public XTIFFField[] getGeoKeys()
public XTIFFField getGeoKey(int key)
public double[] getTiepoints()
public double[] getPixelScale()
public double[] getTransformationMatrix()
public void setTiepoints(double[] tiepoints)
public void setPixelScale(double[] scales)
public void setTransformationMatrix(double[] matrix)