com.supermap.ar.areffect

Class RecordParameter

  • java.lang.Object
    • com.supermap.ar.areffect.RecordParameter
  • All Implemented Interfaces:
    java.lang.Cloneable
    Direct Known Subclasses:
    ARRecordParameter


    public abstract class RecordParameter
    extends java.lang.Object
    implements java.lang.Cloneable
    record parameters

    Direct sub class: UAV parametersUAVRecordParameter AR parametersARRecordParameter

    • Constructor Detail

      • RecordParameter

        public RecordParameter()
        The constructor.
    • Method Detail

      • calculateFocalLength35mmEq

        public static float calculateFocalLength35mmEq(float ratio,
                                                       float vFov)
        Calculates 35mm equivalent focal length
        Parameters:
        ratio - the aspect ratio of videos or images.
        vFov - vertical FOV
        Returns:
        35mm equivalent focal length
      • calculateVerticalFOV

        public static float calculateVerticalFOV(float ratio,
                                                 float focalLength35mmEq)
        Calculates the virtical FOV
        Parameters:
        ratio - the aspect ratio of videos or images.
        focalLength35mmEq - 35mm equivalent focal length of camera
        Returns:
      • calculateHorizontalFOV

        public static float calculateHorizontalFOV(float ratio,
                                                   float focalLength35mmEq)
        Calculates horizontal FOV
        Parameters:
        ratio - the aspect ratio of videos or images.
        focalLength35mmEq - 35mm equivalent focal length of camera
        Returns:
      • getUniqueIdentifier

        public java.lang.String getUniqueIdentifier()
        Gets the unique identifier
        Returns:
        the unique identifier
      • setUniqueIdentifier

        public void setUniqueIdentifier(java.lang.String uniqueIdentifier)
        Sets the unique identifier
        Parameters:
        uniqueIdentifier -
      • getTimeStamp

        public long getTimeStamp()
        Gets the time stamp
        Returns:
        unit is microsecond (us)
      • setTimeStamp

        public void setTimeStamp(long unixTimeStamp)
        Sets the time stamp
        Parameters:
        unixTimeStamp - unit is microsecond (us)
      • getSensorLatitude

        public double getSensorLatitude()
        Gets the latitude of the sensor
        Returns:
        latitude (coordinate system: WGS-84)
      • setSensorLatitude

        public void setSensorLatitude(double sensorLatitude)
        Sets the latitude of the sensor
        Parameters:
        sensorLatitude - latitude (coordinate system: WGS-84)
      • getSensorLongitude

        public double getSensorLongitude()
        Gets the longitude of the sensor
        Returns:
        longitude (coordinate system: WGS-84)
      • setSensorLongitude

        public void setSensorLongitude(double sensorLongitude)
        Sets the longitude of the sensor
        Parameters:
        sensorLongitude - latitude (coordinate system: WGS-84)
      • getPlatformHeight

        public float getPlatformHeight()
        Gets the height of the platform
        Returns:
        the height of the platform
      • setPlatformHeight

        public void setPlatformHeight(float platformHeight)
        Sets the height of the platform
        Parameters:
        platformHeight - the height of the platform relative to the ground
      • getHorizontalFOV

        public float getHorizontalFOV()
        Gets the horizontal FOV of camera
        Returns:
        the horizontal FOV of camera
      • setHorizontalFOV

        public void setHorizontalFOV(float horizontalFOV)
        Sets the horizontal FOV of camera
        Parameters:
        horizontalFOV - field of view
      • getVerticalFOV

        public float getVerticalFOV()
        Gets the vertical FOV of camera
        Returns:
        vertical FOV
      • setVerticalFOV

        public void setVerticalFOV(float verticalFOV)
        Sets the vertical FOV of camera
        Parameters:
        verticalFOV - the vertical FOV of camera
      • getFocalLength35mmEq

        public float getFocalLength35mmEq()
        Gets 35mm equivalent focal length of camera
        Returns:
        the got 35mm equivalent focal length of camera
      • setFocalLength35mmEq

        public void setFocalLength35mmEq(float focalLength35mmEq)
        Sets 35mm equivalent focal length of camera
        Parameters:
        focalLength35mmEq - 35mm equivalent focal length of camera