FakeRuntimeDepthMap


public final class FakeRuntimeDepthMap


Fake implementation of DepthMap for testing purposes.

Summary

Public constructors

FakeRuntimeDepthMap(
    int width,
    int height,
    FloatBuffer rawDepthMap,
    ByteBuffer rawConfidenceMap,
    FloatBuffer smoothDepthMap,
    ByteBuffer smoothConfidenceMap
)

Public methods

int

the height of the depth map

ByteBuffer

confidence values for the raw depth map

FloatBuffer

raw depth values representing meters from the image plane

ByteBuffer

confidence values for the smooth depth map

FloatBuffer

smooth depth values representing meters from the image plane

int

the width of the depth map

void
setHeight(int value)

the height of the depth map

void

confidence values for the raw depth map

void

raw depth values representing meters from the image plane

void

confidence values for the smooth depth map

void

smooth depth values representing meters from the image plane

void
setWidth(int value)

the width of the depth map

Public constructors

FakeRuntimeDepthMap

Added in 1.0.0-alpha12
public FakeRuntimeDepthMap(
    int width,
    int height,
    FloatBuffer rawDepthMap,
    ByteBuffer rawConfidenceMap,
    FloatBuffer smoothDepthMap,
    ByteBuffer smoothConfidenceMap
)

Public methods

getHeight

Added in 1.0.0-alpha12
public int getHeight()

the height of the depth map

getRawConfidenceMap

Added in 1.0.0-alpha12
public ByteBuffer getRawConfidenceMap()

confidence values for the raw depth map

getRawDepthMap

Added in 1.0.0-alpha12
public FloatBuffer getRawDepthMap()

raw depth values representing meters from the image plane

getSmoothConfidenceMap

Added in 1.0.0-alpha12
public ByteBuffer getSmoothConfidenceMap()

confidence values for the smooth depth map

getSmoothDepthMap

Added in 1.0.0-alpha12
public FloatBuffer getSmoothDepthMap()

smooth depth values representing meters from the image plane

getWidth

Added in 1.0.0-alpha12
public int getWidth()

the width of the depth map

setHeight

Added in 1.0.0-alpha12
public void setHeight(int value)

the height of the depth map

setRawConfidenceMap

Added in 1.0.0-alpha12
public void setRawConfidenceMap(ByteBuffer value)

confidence values for the raw depth map

setRawDepthMap

Added in 1.0.0-alpha12
public void setRawDepthMap(FloatBuffer value)

raw depth values representing meters from the image plane

setSmoothConfidenceMap

Added in 1.0.0-alpha12
public void setSmoothConfidenceMap(ByteBuffer value)

confidence values for the smooth depth map

setSmoothDepthMap

Added in 1.0.0-alpha12
public void setSmoothDepthMap(FloatBuffer value)

smooth depth values representing meters from the image plane

setWidth

Added in 1.0.0-alpha12
public void setWidth(int value)

the width of the depth map