-
- All Implemented Interfaces:
public final class AutoZoomParams
Computation result of the autozoom logic. Used to trigger Atlas Engine API.
-
-
Field Summary
Fields Modifier and Type Field Description private final AutoZoomInstructionType
type
private final Integer
distanceToCoverMeters
private final Integer
lookAheadDistanceMeters
private final Float
cameraDeclinationDegrees
private final String
routeId
private final Integer
behindRouteSteps
private final Integer
aheadRouteSteps
private final Integer
stepsCount
private final Float
paddingPercentageOfViewport
-
Constructor Summary
Constructors Constructor Description AutoZoomParams(AutoZoomInstructionType type, Integer distanceToCoverMeters, Integer lookAheadDistanceMeters, Float cameraDeclinationDegrees, String routeId, Integer behindRouteSteps, Integer aheadRouteSteps, Integer stepsCount, Float paddingPercentageOfViewport)
-
Method Summary
Modifier and Type Method Description final AutoZoomInstructionType
getType()
Auto zoom instruction type final Integer
getDistanceToCoverMeters()
Distance in meters to be covered until desired values are reached. final Integer
getLookAheadDistanceMeters()
Desired look ahead distance in meters. final Float
getCameraDeclinationDegrees()
Desired camera declination in degrees. final String
getRouteId()
The string ID of a current route Applies when type is AutoZoomInstructionType.ON_ROUTE_STEPS or AutoZoomInstructionType.ON_ROUTE_STEPS_CAMERA final Integer
getBehindRouteSteps()
The amount of steps behind the cvp which should be kept inside the padding viewport Applies when type is AutoZoomInstructionType.ON_ROUTE_STEPS or AutoZoomInstructionType.ON_ROUTE_STEPS_CAMERA final Integer
getAheadRouteSteps()
The amount of steps ahead of the cvp which should be kept inside the padding viewport Applies when type is AutoZoomInstructionType.ON_ROUTE_STEPS or AutoZoomInstructionType.ON_ROUTE_STEPS_CAMERA final Integer
getStepsCount()
Autozoom will stop after the steps count has been passed Applies when type is AutoZoomInstructionType.ON_ROUTE_STEPS or AutoZoomInstructionType.ON_ROUTE_STEPS_CAMERA final Float
getPaddingPercentageOfViewport()
The amount of padding (as a percentage of the size of the viewport) from each of the edges of the viewport Applies when type is AutoZoomInstructionType.ON_ROUTE_STEPS or AutoZoomInstructionType.ON_ROUTE_STEPS_CAMERA String
toString()
-
-
Method Detail
-
getType
final AutoZoomInstructionType getType()
Auto zoom instruction type
-
getDistanceToCoverMeters
final Integer getDistanceToCoverMeters()
Distance in meters to be covered until desired values are reached. Applies when type is AutoZoomInstructionType.DURATION or AutoZoomInstructionType.DISTANCE_CAMERA.
-
getLookAheadDistanceMeters
final Integer getLookAheadDistanceMeters()
Desired look ahead distance in meters.
-
getCameraDeclinationDegrees
final Float getCameraDeclinationDegrees()
Desired camera declination in degrees. Applies when type is AutoZoomInstructionType.DURATION_CAMERA or AutoZoomInstructionType.DISTANCE_CAMERA.
-
getRouteId
final String getRouteId()
The string ID of a current route Applies when type is AutoZoomInstructionType.ON_ROUTE_STEPS or AutoZoomInstructionType.ON_ROUTE_STEPS_CAMERA
-
getBehindRouteSteps
final Integer getBehindRouteSteps()
The amount of steps behind the cvp which should be kept inside the padding viewport Applies when type is AutoZoomInstructionType.ON_ROUTE_STEPS or AutoZoomInstructionType.ON_ROUTE_STEPS_CAMERA
-
getAheadRouteSteps
final Integer getAheadRouteSteps()
The amount of steps ahead of the cvp which should be kept inside the padding viewport Applies when type is AutoZoomInstructionType.ON_ROUTE_STEPS or AutoZoomInstructionType.ON_ROUTE_STEPS_CAMERA
-
getStepsCount
final Integer getStepsCount()
Autozoom will stop after the steps count has been passed Applies when type is AutoZoomInstructionType.ON_ROUTE_STEPS or AutoZoomInstructionType.ON_ROUTE_STEPS_CAMERA
-
getPaddingPercentageOfViewport
final Float getPaddingPercentageOfViewport()
The amount of padding (as a percentage of the size of the viewport) from each of the edges of the viewport Applies when type is AutoZoomInstructionType.ON_ROUTE_STEPS or AutoZoomInstructionType.ON_ROUTE_STEPS_CAMERA
-
-
-
-