AugmentedImage.State


public final class AugmentedImage.State implements Trackable.State


The representation of the current state of an AugmentedImage. An AugmentedImage is represented as a finite 2D bounding box around a centerPose

Summary

Public methods

boolean
equals(Object other)
final @NonNull Pose

The Pose of the center of the detected image's bounding box in the world coordinate space.

final @NonNull FloatSize2d

The dimensions of the bounding box of the detected image

final int

The id of the detected image which correlates to its zero-based positional index from its originating image database

final @NonNull AugmentedImage

self-reference to the object that owns this state.

@NonNull TrackingState

Whether this image is being tracked or not

int

Public methods

equals

public boolean equals(Object other)

getCenterPose

Added in 1.0.0-alpha14
public final @NonNull Pose getCenterPose()

The Pose of the center of the detected image's bounding box in the world coordinate space. The +Y axis relative to the centerPose is equivalent to the normal of the AugmentedImage

getExtents

Added in 1.0.0-alpha14
public final @NonNull FloatSize2d getExtents()

The dimensions of the bounding box of the detected image

getIndex

Added in 1.0.0-alpha14
public final int getIndex()

The id of the detected image which correlates to its zero-based positional index from its originating image database

getOwner

Added in 1.0.0-alpha14
public final @NonNull AugmentedImage getOwner()

self-reference to the object that owns this state.

getTrackingState

public @NonNull TrackingState getTrackingState()

Whether this image is being tracked or not

hashCode

public int hashCode()