Class GLFImageRecord

All Implemented Interfaces:
Serializable, Cloneable, SonarImageRecordI, SonarRecordI

public class GLFImageRecord extends GeminiImageRecord implements Serializable
See Also:
  • 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:
      getRecordTime in interface SonarRecordI
      Returns:
      Image time in milliseconds UTC.
    • getMaxRange

      public double getMaxRange()
      Specified by:
      getMaxRange in interface SonarImageRecordI
      Returns:
      The maximum range for this frame in metres.
    • getSonarType

      public int getSonarType()
      Description copied from interface: SonarImageRecordI
      Generic type of sonar
      Imager = 0
      Profiler = 1
      Specified by:
      getSonarType in interface SonarImageRecordI
      Returns:
      The type of sonar
    • getSonarPlatform

      public int getSonarPlatform()
      Description copied from interface: SonarRecordI
      Specific type of sonar
      720is=1
      720ik=2
      720im=3
      1200ik=4
      Specified by:
      getSonarPlatform in interface SonarRecordI
      Returns:
      type of sonar
    • getSonarIndex

      public int getSonarIndex()
      Specified by:
      getSonarIndex in interface SonarRecordI
      Returns:
      the index (0 if only one sonar, 0,1,etc for multiple sonars)
    • getDeviceId

      public int getDeviceId()
      Specified by:
      getDeviceId in interface SonarRecordI
      Returns:
      the sonar unique id,
    • getnRange

      public int getnRange()
      Specified by:
      getnRange in interface SonarImageRecordI
      Returns:
      The number of range bins
    • getnBeam

      public int getnBeam()
      Specified by:
      getnBeam in interface SonarImageRecordI
      Returns:
      the total number of beams
    • getSoS

      public double getSoS()
      Description copied from interface: SonarImageRecordI
      Get the speed of sound in m/s
      Specified by:
      getSoS in interface SonarImageRecordI
      Returns:
      speed of sound
    • clone

      public GLFImageRecord clone()
      Description copied from interface: SonarImageRecordI
      Clone in interface which is properly overridden in inherited classes
      Specified by:
      clone in interface SonarImageRecordI
      Overrides:
      clone in class GeminiImageRecord
      Returns:
      cloned record.
    • getChirp

      public int getChirp()
      Description copied from interface: SonarImageRecordI
      Get if chirp was on 0 off, 1 on, -1 unknown
      Specified by:
      getChirp in interface SonarImageRecordI
      Returns:
      true if chirp mode
    • getGain

      public int getGain()
      Specified by:
      getGain in interface SonarImageRecordI
      Returns:
      the gain for that frame
    • isHF

      public boolean isHF()
      Is HF - 1200 only I think.
      Returns:
      true if HF - means 1.2MHz.
    • getDeviceType

      public String getDeviceType()
      Get the device type as a string.
      Returns: