public class
AugmentedImage
Describes the current best knowledge of a real-world augmented image.
ARCore will return an AugmentedImage once it initially detects the image in the environment, even if it does not yet have enough information to estimate its pose and physical size. In that case, the AugmentedImage will have the tracking state Paused. Specifying the optional physical size in the database will help speed up the initial pose and physical size estimation process. Note that an AugmentedImage can have tracking state PAUSED even if the overall motion tracking system is tracking (i.e. the frame's camera tracking state is TRACKING).
Nested Classes
enum
|
AugmentedImage.TrackingMethod |
Indicates whether an image is being tracked using the camera image, or is being tracked based on its last known pose. |
Public Methods
Anchor
|
createAnchor(Pose pose)
Creates an anchor that is attached to this trackable, using the given initial pose in the world
coordinate space.
|
boolean
|
|
Collection<Anchor>
|
getAnchors()
Gets the Anchors attached to this trackable.
|
Pose
|
getCenterPose()
Returns the pose of the center of the augmented image, in world coordinates.
|
float
|
getExtentX()
Returns the estimated width, in metres, of the corresponding physical image, as measured along
the local X-axis of the coordinate space centered on the image.
|
float
|
getExtentZ()
Returns the estimated height, in metres, of the corresponding physical image, as measured along
the local Z-axis of the coordinate space centered on the image.
|
int
|
getIndex()
Returns the zero-based positional index of this augmented image from its originating image
database.
|
String
|
getName()
Returns the name of this augmented image.
|
AugmentedImage.TrackingMethod
|
|
TrackingState
|
getTrackingState()
Gets this trackable's
TrackingState . |
int
|
hashCode()
Returns a hash code value for the object.
|