Class IfmuData

java.lang.Object
  |
  +--IfmuData

public class IfmuData
extends java.lang.Object

Storage structure for the ifmu data records of a file.


Constructor Summary
IfmuData(int len, java.lang.String imageID)
          Creates and initializes a IfmuData object.
 
Method Summary
 void display()
          Used for testing only.
 double getAltitude(int num)
          Gets the records altitude
 double getEastVel(int num)
          Gets the records east velocity
 double getGpsTime(int num)
          Gets the records gps time
 double getGpsTimeFract(int num)
          Gets the records gps time fraction
 double getGpsTimeWhole(int num)
          Gets the records gps time whole
 int getGpsWeek(int num)
          Gets the records gps week
 HeaderData getHeaderData()
          Gets the HeaderData object
 double getHeading(int num)
          Gets the records heading
 java.lang.String getIfmuID()
          Gets the ifmu ID
 double getLatitude(int num)
          Gets the records latitude
 double getLongitude(int num)
          Gets the records longitude
 double getNorthVel(int num)
          Gets the records north velocity
 double getPitch(int num)
          Gets the records pitch
 double getRoll(int num)
          Gets the records roll
 int getStatus(int num)
          Gets the records status
 int getTimeTag(int num)
          Gets the records time tag
 double getUpVel(int num)
          Gets the records up velocity
 void setAltitude(int num, double val)
          Sets the records altitude
 void setEastVel(int num, double val)
          Sets the records east velocity
 void setGpsTime(int num, double val)
          Sets the records gps time
 void setGpsTimeFract(int num, double val)
          Sets the records gps time fraction
 void setGpsTimeWhole(int num, double val)
          Sets the records gps time whole
 void setGpsWeek(int num, int val)
          Sets the records gps week
 void setHeaderValues(java.lang.String id, int c, int pass, int file, int len, int ver, int cnt, java.lang.String date, java.lang.String time)
          Sets the records HeaderData, method is just a wrapper function for method in HeaderData
 void setHeading(int num, double val)
          Sets the records heading
 void setLatitude(int num, double val)
          Sets the records latitude
 void setLongitude(int num, double val)
          Sets the records longitude
 void setNorthVel(int num, double val)
          Sets the records north velocity
 void setPitch(int num, double val)
          Sets the records pitch
 void setRoll(int num, double val)
          Sets the records roll
 void setStatus(int num, int val)
          Sets the records status
 void setTimeTag(int num, int val)
          Sets the records time tag
 void setUpVel(int num, double val)
          Sets the records up velocity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IfmuData

public IfmuData(int len,
                java.lang.String imageID)
Creates and initializes a IfmuData object.
Parameters:
len - the number of ifmu records
imageID - the image ID
Method Detail

display

public void display()
Used for testing only. Displays the fields of some of the ifmu records (records 1 and 5) to System.out

getIfmuID

public java.lang.String getIfmuID()
Gets the ifmu ID
Returns:
the ifmu ID

getHeaderData

public HeaderData getHeaderData()
Gets the HeaderData object
Returns:
the HeaderData

getLatitude

public double getLatitude(int num)
Gets the records latitude
Parameters:
num - the record number
Returns:
the latitude for the record

getLongitude

public double getLongitude(int num)
Gets the records longitude
Parameters:
num - the record number
Returns:
the longitude for the record

getAltitude

public double getAltitude(int num)
Gets the records altitude
Parameters:
num - the record number
Returns:
the altitude for the record

getNorthVel

public double getNorthVel(int num)
Gets the records north velocity
Parameters:
num - the record number
Returns:
the north velocity for the record

getEastVel

public double getEastVel(int num)
Gets the records east velocity
Parameters:
num - the record number
Returns:
the east velocity for the record

getUpVel

public double getUpVel(int num)
Gets the records up velocity
Parameters:
num - the record number
Returns:
the up velocity for the record

getRoll

public double getRoll(int num)
Gets the records roll
Parameters:
num - the record number
Returns:
the roll for the record

getPitch

public double getPitch(int num)
Gets the records pitch
Parameters:
num - the record number
Returns:
the pitch for the record

getHeading

public double getHeading(int num)
Gets the records heading
Parameters:
num - the record number
Returns:
the heading for the record

getGpsTimeWhole

public double getGpsTimeWhole(int num)
Gets the records gps time whole
Parameters:
num - the record number
Returns:
the gps time whole for the record

getGpsTimeFract

public double getGpsTimeFract(int num)
Gets the records gps time fraction
Parameters:
num - the record number
Returns:
the gps time fraction for the record

getGpsTime

public double getGpsTime(int num)
Gets the records gps time
Parameters:
num - the record number
Returns:
the gps time for the record

getGpsWeek

public int getGpsWeek(int num)
Gets the records gps week
Parameters:
num - the record number
Returns:
the gps week for the record

getTimeTag

public int getTimeTag(int num)
Gets the records time tag
Parameters:
num - the record number
Returns:
the time tag for the record

getStatus

public int getStatus(int num)
Gets the records status
Parameters:
num - the record number
Returns:
the status for the record

setHeaderValues

public void setHeaderValues(java.lang.String id,
                            int c,
                            int pass,
                            int file,
                            int len,
                            int ver,
                            int cnt,
                            java.lang.String date,
                            java.lang.String time)
Sets the records HeaderData, method is just a wrapper function for method in HeaderData
Parameters:
id - the header id
c - a constant value
pass - the image pass number
file - the file ID
len - the length of a single record
ver - the structure version of the file type
cnt - the number of records in the file
date - the tape date
time - the tape time

setLatitude

public void setLatitude(int num,
                        double val)
Sets the records latitude
Parameters:
num - the record number
val - the latitude for the record

setLongitude

public void setLongitude(int num,
                         double val)
Sets the records longitude
Parameters:
num - the record number
val - the longitude for the record

setAltitude

public void setAltitude(int num,
                        double val)
Sets the records altitude
Parameters:
num - the record number
val - the altitude for the record

setNorthVel

public void setNorthVel(int num,
                        double val)
Sets the records north velocity
Parameters:
num - the record number
val - the north velocity for the record

setEastVel

public void setEastVel(int num,
                       double val)
Sets the records east velocity
Parameters:
num - the record number
val - the east velocity for the record

setUpVel

public void setUpVel(int num,
                     double val)
Sets the records up velocity
Parameters:
num - the record number
val - the up velocity for the record

setRoll

public void setRoll(int num,
                    double val)
Sets the records roll
Parameters:
num - the record number
val - the roll for the record

setPitch

public void setPitch(int num,
                     double val)
Sets the records pitch
Parameters:
num - the record number
val - the pitch for the record

setHeading

public void setHeading(int num,
                       double val)
Sets the records heading
Parameters:
num - the record number
val - the heading for the record

setGpsTimeWhole

public void setGpsTimeWhole(int num,
                            double val)
Sets the records gps time whole
Parameters:
num - the record number
val - the gps time whole for the record

setGpsTimeFract

public void setGpsTimeFract(int num,
                            double val)
Sets the records gps time fraction
Parameters:
num - the record number
val - the gps time fraction for the record

setGpsTime

public void setGpsTime(int num,
                       double val)
Sets the records gps time
Parameters:
num - the record number
val - the gps time for the record

setGpsWeek

public void setGpsWeek(int num,
                       int val)
Sets the records gps week
Parameters:
num - the record number
val - the gps week for the record

setTimeTag

public void setTimeTag(int num,
                       int val)
Sets the records time tag
Parameters:
num - the record number
val - the time tag for the record

setStatus

public void setStatus(int num,
                      int val)
Sets the records status
Parameters:
num - the record number
val - the status for the record