-
- All Implemented Interfaces:
public final class AutoZoomParamsComputation result of the autozoom logic. Used to trigger Atlas Engine API.
-
-
Field Summary
Fields Modifier and Type Field Description private final AutoZoomInstructionTypetypeprivate final IntegerdistanceToCoverMetersprivate final IntegerlookAheadDistanceMetersprivate final FloatcameraDeclinationDegreesprivate final StringrouteIdprivate final IntegerbehindRouteStepsprivate final IntegeraheadRouteStepsprivate final IntegerstepsCountprivate final FloatpaddingPercentageOfViewport
-
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 AutoZoomInstructionTypegetType()Auto zoom instruction type final IntegergetDistanceToCoverMeters()Distance in meters to be covered until desired values are reached. final IntegergetLookAheadDistanceMeters()Desired look ahead distance in meters. final FloatgetCameraDeclinationDegrees()Desired camera declination in degrees. final StringgetRouteId()The string ID of a current route Applies when type is AutoZoomInstructionType.ON_ROUTE_STEPS or AutoZoomInstructionType.ON_ROUTE_STEPS_CAMERA final IntegergetBehindRouteSteps()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 IntegergetAheadRouteSteps()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 IntegergetStepsCount()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 FloatgetPaddingPercentageOfViewport()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 StringtoString()-
-
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
-
-
-
-