Package tritechgemini.imagedata
Class GLFImageRecord
java.lang.Object
tritechgemini.imagedata.PublicMessageHeader
tritechgemini.imagedata.GeminiImageRecord
tritechgemini.imagedata.GLFImageRecord
- All Implemented Interfaces:
Serializable,Cloneable,SonarImageRecordI,SonarRecordI
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintintintintintdoublefloatintfloatintintintintintintbyteintintintFields inherited from class tritechgemini.imagedata.GeminiImageRecord
bearingTable, filePos, imageData, isFullyRead, recordIndexFields inherited from class tritechgemini.imagedata.PublicMessageHeader
genericHeader -
Constructor Summary
ConstructorsConstructorDescriptionGLFImageRecord(GLFGenericHeader genericHeader, String filePath, int filePos, int recordIndex) -
Method Summary
Modifier and TypeMethodDescriptionclone()Clone in interface which is properly overridden in inherited classesintgetChirp()Get if chirp was on 0 off, 1 on, -1 unknownintGet the device type as a string.intgetGain()doubleintgetnBeam()intlongintintSpecific type of sonar
720is=1
720ik=2
720im=3
1200ik=4intGeneric type of sonar
Imager = 0
Profiler = 1doublegetSoS()Get the speed of sound in m/sbooleanisHF()Is HF - 1200 only I think.Methods inherited from class tritechgemini.imagedata.GeminiImageRecord
freeImageData, getBearingIndex, getBearingTable, getEchoLineStore, getFilePath, getImageData, getLoadTime, getNBeam, getRangeIndex, getRecordNumber, getShortImageData, isFullyLoaded, setImageData, setLoadTime, setRecordNumber
-
Field Details
-
imageVersion
public int imageVersion -
startRange
public int startRange -
endRange
public int endRange -
rangeCompression
public int rangeCompression -
startBearing
public int startBearing -
endBearing
public int endBearing -
dataSize
public int dataSize -
m_uiStateFlags
public int m_uiStateFlags -
m_UiModulationFrequency
public int m_UiModulationFrequency -
m_fBeamFormAperture
public float m_fBeamFormAperture -
m_dbTxtime
public double m_dbTxtime -
m_usPingFlags
public int m_usPingFlags -
m_sosAtXd
public float m_sosAtXd -
m_sPercentGain
public int m_sPercentGain -
m_fChirp
public int m_fChirp -
m_ucSonartype
public int m_ucSonartype -
m_ucPlatform
public int m_ucPlatform -
oneSpare
public byte oneSpare -
dede
public int dede
-
-
Constructor Details
-
GLFImageRecord
public GLFImageRecord(GLFGenericHeader genericHeader, String filePath, int filePos, int recordIndex)
-
-
Method Details
-
getRecordTime
public long getRecordTime()- Specified by:
getRecordTimein interfaceSonarRecordI- Returns:
- Image time in milliseconds UTC.
-
getMaxRange
public double getMaxRange()- Specified by:
getMaxRangein interfaceSonarImageRecordI- Returns:
- The maximum range for this frame in metres.
-
getSonarType
public int getSonarType()Description copied from interface:SonarImageRecordIGeneric type of sonar
Imager = 0
Profiler = 1- Specified by:
getSonarTypein interfaceSonarImageRecordI- Returns:
- The type of sonar
-
getSonarPlatform
public int getSonarPlatform()Description copied from interface:SonarRecordISpecific type of sonar
720is=1
720ik=2
720im=3
1200ik=4- Specified by:
getSonarPlatformin interfaceSonarRecordI- Returns:
- type of sonar
-
getSonarIndex
public int getSonarIndex()- Specified by:
getSonarIndexin interfaceSonarRecordI- Returns:
- the index (0 if only one sonar, 0,1,etc for multiple sonars)
-
getDeviceId
public int getDeviceId()- Specified by:
getDeviceIdin interfaceSonarRecordI- Returns:
- the sonar unique id,
-
getnRange
public int getnRange()- Specified by:
getnRangein interfaceSonarImageRecordI- Returns:
- The number of range bins
-
getnBeam
public int getnBeam()- Specified by:
getnBeamin interfaceSonarImageRecordI- Returns:
- the total number of beams
-
getSoS
public double getSoS()Description copied from interface:SonarImageRecordIGet the speed of sound in m/s- Specified by:
getSoSin interfaceSonarImageRecordI- Returns:
- speed of sound
-
clone
Description copied from interface:SonarImageRecordIClone in interface which is properly overridden in inherited classes- Specified by:
clonein interfaceSonarImageRecordI- Overrides:
clonein classGeminiImageRecord- Returns:
- cloned record.
-
getChirp
public int getChirp()Description copied from interface:SonarImageRecordIGet if chirp was on 0 off, 1 on, -1 unknown- Specified by:
getChirpin interfaceSonarImageRecordI- Returns:
- true if chirp mode
-
getGain
public int getGain()- Specified by:
getGainin interfaceSonarImageRecordI- Returns:
- the gain for that frame
-
isHF
public boolean isHF()Is HF - 1200 only I think.- Returns:
- true if HF - means 1.2MHz.
-
getDeviceType
Get the device type as a string.- Returns:
-