AugmentedImage.State


class AugmentedImage.State : 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 functions

open operator Boolean
equals(other: Any?)
open Int
open String

Returns a string representation of AugmentedImage.State for debugging.

Public properties

Pose

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

FloatSize2d

the dimensions of the bounding box of the detected image

Int

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

AugmentedImage

self-reference to the object that owns this state

open TrackingState

whether this image is being tracked or not

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Returns a string representation of AugmentedImage.State for debugging.

Note: Not intended for production use.

Public properties

centerPose

Added in 1.0.0-beta02
val centerPosePose

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

extents

Added in 1.0.0-beta02
val extentsFloatSize2d

the dimensions of the bounding box of the detected image

index

Added in 1.0.0-beta02
val indexInt

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

owner

Added in 1.0.0-beta02
val ownerAugmentedImage

self-reference to the object that owns this state

trackingState

open val trackingStateTrackingState

whether this image is being tracked or not