QrCode.State


class QrCode.State : Trackable.State


The representation of the current state of a QrCode. The centerPose is the Pose of the center of the detected QR code's bounding box in the world coordinate space. A QrCode is represented as a finite 2D bounding box around a centerPose.

Summary

Public functions

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

Public properties

Pose

The pose of the center of the QR code.

String

The content of the detected QR code

FloatSize2d

The dimensions of the bounding box of the detected QR code

QrCode

self-reference to the object that owns this state

open TrackingState

Whether this QR code is being tracked or not

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

centerPose

Added in 1.0.0-alpha15
val centerPosePose

The pose of the center of the QR code. The +Y axis relative to the centerPose is equivalent to the normal of the QrCode

data

Added in 1.0.0-alpha15
val dataString

The content of the detected QR code

extents

Added in 1.0.0-alpha15
val extentsFloatSize2d

The dimensions of the bounding box of the detected QR code

owner

Added in 1.0.0-alpha15
val ownerQrCode

self-reference to the object that owns this state

trackingState

open val trackingStateTrackingState

Whether this QR code is being tracked or not