|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.libtiff.jai.codec.XTIFFDirectory
org.geotiff.image.jai.GeoTIFFDirectory
public class GeoTIFFDirectory
An extension of the XTIFFDirectory that understands the structure of the GeoTIFF key set
| Field Summary |
|---|
| Fields inherited from class org.libtiff.jai.codec.XTIFFDirectory |
|---|
factory, stream, tileCodecs |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.libtiff.jai.codec.XTIFFDirectory |
|---|
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, unRegisterTileCodec |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeoTIFFDirectory()
public GeoTIFFDirectory(com.sun.media.jai.codec.SeekableStream stream,
long ifd_offset)
throws java.io.IOException
java.io.IOException
public GeoTIFFDirectory(com.sun.media.jai.codec.SeekableStream stream,
int directory)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public XTIFFField[] getFields()
getFields in class XTIFFDirectory
public 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||