TestAugmentedImage


public final class TestAugmentedImage extends TestTrackable


Represents an image in the test environment.

Summary

Public constructors

TestAugmentedImage(int index)

Public methods

final @NonNull Pose

Pose at the center of the augmented image

final @NonNull FloatSize2d

the FloatSize2d extents used to determine the size of the image

final int

the index of the augmented image in the database

boolean

indicates whether the trackable object is currently in view of the runtime

final void

Pose at the center of the augmented image

final void

the FloatSize2d extents used to determine the size of the image

final void
setIndex(int value)

the index of the augmented image in the database

void
setVisible(boolean value)

indicates whether the trackable object is currently in view of the runtime

Public constructors

TestAugmentedImage

Added in 1.0.0-alpha14
public TestAugmentedImage(int index)

Public methods

getCenterPose

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

Pose at the center of the augmented image

getExtents

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

the FloatSize2d extents used to determine the size of the image

getIndex

Added in 1.0.0-alpha14
public final int getIndex()

the index of the augmented image in the database

isVisible

public boolean isVisible()

indicates whether the trackable object is currently in view of the runtime

setCenterPose

Added in 1.0.0-alpha14
public final void setCenterPose(@NonNull Pose value)

Pose at the center of the augmented image

setExtents

Added in 1.0.0-alpha14
public final void setExtents(@NonNull FloatSize2d value)

the FloatSize2d extents used to determine the size of the image

setIndex

Added in 1.0.0-alpha14
public final void setIndex(int value)

the index of the augmented image in the database

setVisible

public void setVisible(boolean value)

indicates whether the trackable object is currently in view of the runtime