public final class TestDepth


Represents a camera view perspective on the device.

Summary

Public methods

final int

the height of the androidx.xr.arcore.Depth

final ByteBuffer

the ByteBuffer containing raw depth confidence

final FloatBuffer

the FloatBuffer containing raw depth data

final ByteBuffer

the ByteBuffer containing smooth depth confidence

final FloatBuffer

the FloatBuffer containing smooth depth data

final int

the width of the androidx.xr.arcore.Depth

final void
setHeight(int value)

the height of the androidx.xr.arcore.Depth

final void

the ByteBuffer containing raw depth confidence

final void

the FloatBuffer containing raw depth data

final void

the ByteBuffer containing smooth depth confidence

final void

the FloatBuffer containing smooth depth data

final void
setWidth(int value)

the width of the androidx.xr.arcore.Depth

Public methods

getHeight

Added in 1.0.0-alpha14
public final int getHeight()

the height of the androidx.xr.arcore.Depth

getRawConfidenceMap

Added in 1.0.0-alpha14
public final ByteBuffer getRawConfidenceMap()

the ByteBuffer containing raw depth confidence

getRawDepthMap

Added in 1.0.0-alpha14
public final FloatBuffer getRawDepthMap()

the FloatBuffer containing raw depth data

getSmoothConfidenceMap

Added in 1.0.0-alpha14
public final ByteBuffer getSmoothConfidenceMap()

the ByteBuffer containing smooth depth confidence

getSmoothDepthMap

Added in 1.0.0-alpha14
public final FloatBuffer getSmoothDepthMap()

the FloatBuffer containing smooth depth data

getWidth

Added in 1.0.0-alpha14
public final int getWidth()

the width of the androidx.xr.arcore.Depth

setHeight

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

the height of the androidx.xr.arcore.Depth

setRawConfidenceMap

Added in 1.0.0-alpha14
public final void setRawConfidenceMap(ByteBuffer value)

the ByteBuffer containing raw depth confidence

setRawDepthMap

Added in 1.0.0-alpha14
public final void setRawDepthMap(FloatBuffer value)

the FloatBuffer containing raw depth data

setSmoothConfidenceMap

Added in 1.0.0-alpha14
public final void setSmoothConfidenceMap(ByteBuffer value)

the ByteBuffer containing smooth depth confidence

setSmoothDepthMap

Added in 1.0.0-alpha14
public final void setSmoothDepthMap(FloatBuffer value)

the FloatBuffer containing smooth depth data

setWidth

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

the width of the androidx.xr.arcore.Depth