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 parametersDirect sub class: UAV parameters
UAVRecordParameter
AR parametersARRecordParameter
-
-
Constructor Summary
Constructors Constructor and Description RecordParameter()
The constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static float
calculateFocalLength35mmEq(float ratio, float vFov)
Calculates 35mm equivalent focal lengthstatic float
calculateHorizontalFOV(float ratio, float focalLength35mmEq)
Calculates horizontal FOVstatic float
calculateVerticalFOV(float ratio, float focalLength35mmEq)
Calculates the virtical FOVfloat
getFocalLength35mmEq()
Gets 35mm equivalent focal length of camerafloat
getHorizontalFOV()
Gets the horizontal FOV of camerafloat
getPlatformHeight()
Gets the height of the platformdouble
getSensorLatitude()
Gets the latitude of the sensordouble
getSensorLongitude()
Gets the longitude of the sensorlong
getTimeStamp()
Gets the time stampjava.lang.String
getUniqueIdentifier()
Gets the unique identifierfloat
getVerticalFOV()
Gets the vertical FOV of cameravoid
setFocalLength35mmEq(float focalLength35mmEq)
Sets 35mm equivalent focal length of cameravoid
setHorizontalFOV(float horizontalFOV)
Sets the horizontal FOV of cameravoid
setPlatformHeight(float platformHeight)
Sets the height of the platformvoid
setSensorLatitude(double sensorLatitude)
Sets the latitude of the sensorvoid
setSensorLongitude(double sensorLongitude)
Sets the longitude of the sensorvoid
setTimeStamp(long unixTimeStamp)
Sets the time stampvoid
setUniqueIdentifier(java.lang.String uniqueIdentifier)
Sets the unique identifiervoid
setVerticalFOV(float verticalFOV)
Sets the vertical FOV of camera
-
-
-
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
-
-