AugmentedObject.State


public final class AugmentedObject.State implements Trackable.State


The representation of the current state of an AugmentedObject.

Summary

Public methods

final @NonNull AugmentedObjectCategory
  • The category of the augmented object.

final @NonNull Pose

The Pose determined to represent the center of this object.

final @NonNull FloatSize3d

The dimensions of the object, axis aligned relative to the center pose.

@NonNull TrackingState

Whether this trackable is being tracked or not.

Public methods

getCategory

Added in 1.0.0-alpha06
public final @NonNull AugmentedObjectCategory getCategory()
  • The category of the augmented object.

getCenterPose

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

The Pose determined to represent the center of this object.

This value may or may not overlap with the object's center of gravity.

getExtents

Added in 1.0.0-alpha06
public final @NonNull FloatSize3d getExtents()

The dimensions of the object, axis aligned relative to the center pose. These values represent the full length of the specific axis.

getTrackingState

public @NonNull TrackingState getTrackingState()

Whether this trackable is being tracked or not.