TestQrCode
public final class TestQrCode extends TestTrackable
Represents a QR code in the test environment.
Summary
Public constructors |
|---|
TestQrCode(@NonNull String data) |
Public methods |
|
|---|---|
final @NonNull Pose |
|
final @NonNull String |
getData()the data of the QR code |
final @NonNull FloatSize2d |
the |
boolean |
indicates whether the trackable object is currently in view of the runtime |
final void |
setCenterPose(@NonNull Pose value)
|
final void |
the data of the QR code |
final void |
setExtents(@NonNull FloatSize2d value)the |
void |
setVisible(boolean value)indicates whether the trackable object is currently in view of the runtime |
Public constructors
Public methods
getCenterPose
public final @NonNull Pose getCenterPose()
Pose at the center of the augmented image
getExtents
public final @NonNull FloatSize2d getExtents()
the FloatSize2d extents used to determine the size of the image
isVisible
public boolean isVisible()
indicates whether the trackable object is currently in view of the runtime
setCenterPose
public final void setCenterPose(@NonNull Pose value)
Pose at the center of the augmented image
setData
public final void setData(@NonNull String value)
the data of the QR code
setExtents
public final void setExtents(@NonNull FloatSize2d value)
the FloatSize2d extents used to determine the size of the image
setVisible
public void setVisible(boolean value)
indicates whether the trackable object is currently in view of the runtime