|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wisc.ssec.mcidas.AreaDirectory
AreaDirectory interface for the metadata of McIDAS 'area' file format image data.
| Field Summary | |
(package private) static long |
serialVersionUID
|
| Constructor Summary | |
AreaDirectory(AreaDirectory directory)
Create an AreaDirectory from another AreaDirectory object. |
|
AreaDirectory(int[] dirblock)
Create an AreaDirectory from the raw block of data of an AreaFile. |
|
| Method Summary | |
boolean |
equals(Object o)
Check the equality of the object in question with this. |
int[] |
getBands()
returns the bands in each of the images |
int |
getCalibrationScaleFactor()
Get the scaling factor of the values for this calibration type |
String |
getCalibrationType()
Returns the calibration type |
String |
getCalibrationUnitName()
Get the string representing the calibration unit |
Vector[] |
getCalInfo()
get the valid band calibration information |
double |
getCenterLatitude()
get Latutide at center of image |
double |
getCenterLatitudeResolution()
get Latutide-wise resolution at center of image |
double |
getCenterLongitude()
get longitude at center of image |
double |
getCenterLongitudeResolution()
get longitude-wise resolution at center of image |
int[] |
getDirectoryBlock()
Get the raw directory block |
int |
getElements()
returns the number of elements in the image |
int |
getLines()
returns the number of lines in the image |
String |
getMemoField()
Returns memo field of the directory |
Date |
getNominalTime()
returns the nominal time of the image |
int |
getNumberOfBands()
returns the number of bands in the image |
int |
getSensorID()
|
String |
getSensorType()
Returns the sensor type |
String |
getSourceType()
Returns the source type |
Date |
getStartTime()
returns the nominal time of the image |
int |
getValue(int pointer)
Return a specific value from the directory |
void |
setCalInfo(Vector[] v)
set the band calibration info (Vector) array order is identical to bands array, each Vector element is a pair of String values: first, the code value and second the descriptive name. |
void |
setCenterLatitude(double lat)
set Latitude at center of image |
void |
setCenterLatitudeResolution(double res)
set Latitude-wise resolution at center of image |
void |
setCenterLongitude(double lon)
set Longitude at center of image |
void |
setCenterLongitudeResolution(double res)
set Longitude-wise resolution at center of image |
String |
toString()
Prints out a formatted listing of the directory info |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
static final long serialVersionUID
| Constructor Detail |
public AreaDirectory(int[] dirblock)
throws AreaFileException
dirblock - the integer block
AreaFileException - not a valid directory
public AreaDirectory(AreaDirectory directory)
throws AreaFileException
directory - the source AreaDirectory
AreaFileException - not a valid directory| Method Detail |
public int getValue(int pointer)
throws AreaFileException
pointer - part of the directory you want returned.
Use AreaFile static fields as pointers.
AreaFileException - invalid pointerpublic int[] getDirectoryBlock()
public Date getNominalTime()
public Date getStartTime()
public int getNumberOfBands()
public int getLines()
public int getElements()
public void setCalInfo(Vector[] v)
public Vector[] getCalInfo()
public int[] getBands()
public String getMemoField()
public String getSensorType()
public int getSensorID()
public String getSourceType()
public String getCalibrationType()
public double getCenterLatitude()
public void setCenterLatitude(double lat)
public double getCenterLongitude()
public void setCenterLongitude(double lon)
public double getCenterLatitudeResolution()
public void setCenterLatitudeResolution(double res)
public double getCenterLongitudeResolution()
public void setCenterLongitudeResolution(double res)
public String getCalibrationUnitName()
public int getCalibrationScaleFactor()
public boolean equals(Object o)
o - object in questionpublic String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||