SpatialAnnotationTrackingOptions


@ExperimentalSpatialAnnotationsApi
public final class SpatialAnnotationTrackingOptions


Configuration options required to start tracking Spatial Annotations.

Use the nested Builder to create an instance.

Summary

Nested types

Builder for SpatialAnnotationTrackingOptions.

Public methods

boolean
equals(Object other)
final @NonNull SpatialAnnotationQuadAlignment

the requested tracking alignment

final @NonNull SpatialAnnotationImageFormat

the format of the input image

final @NonNull ByteBuffer

the ByteBuffer containing the input image data

final @NonNull IntSize2d

the IntSize2d of the input image

final @NonNull Map<@NonNull SpatialAnnotationId, @NonNull Quad>

a map of SpatialAnnotationIds to bounding quads

final int

the row stride of the input image in bytes

final long

the system timestamp of the input image in nanoseconds, using the System.nanoTime clock base

int
@NonNull String

Public methods

equals

public boolean equals(Object other)

getAlignment

Added in 1.1.0-alpha01
public final @NonNull SpatialAnnotationQuadAlignment getAlignment()

the requested tracking alignment

getFormat

Added in 1.1.0-alpha01
public final @NonNull SpatialAnnotationImageFormat getFormat()

the format of the input image

getImageBuffer

Added in 1.1.0-alpha01
public final @NonNull ByteBuffer getImageBuffer()

the ByteBuffer containing the input image data

getImageSize

Added in 1.1.0-alpha01
public final @NonNull IntSize2d getImageSize()

the IntSize2d of the input image

getQuads

Added in 1.1.0-alpha01
public final @NonNull Map<@NonNull SpatialAnnotationId, @NonNull Quad> getQuads()

a map of SpatialAnnotationIds to bounding quads

getRowStride

Added in 1.1.0-alpha01
public final int getRowStride()

the row stride of the input image in bytes

getTimestampNanos

Added in 1.1.0-alpha01
public final long getTimestampNanos()

the system timestamp of the input image in nanoseconds, using the System.nanoTime clock base

hashCode

public int hashCode()

toString

public @NonNull String toString()