public class OpenNIView
extends GLSurfaceView
Modifier and Type | Field and Description |
---|---|
protected int |
mDrawHeight |
protected int |
mDrawWidth |
protected int |
mDrawX |
protected int |
mDrawY |
protected int |
mSurfaceHeight |
protected int |
mSurfaceWidth |
protected java.nio.ByteBuffer |
mTexture |
protected int |
mTextureHeight |
protected int |
mTextureId |
protected int |
mTextureWidth |
Constructor and Description |
---|
OpenNIView(Context context) |
OpenNIView(Context context,
AttributeSet attrs) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
protected void |
finalize() |
int |
getBaseColor() |
protected void |
onDrawGL() |
void |
setBaseColor(int color) |
void |
update(VideoFrameRef frame)
Requests update of the view with an OpenNI frame.
|
protected int mDrawX
protected int mDrawY
protected int mDrawWidth
protected int mDrawHeight
protected int mSurfaceWidth
protected int mSurfaceHeight
protected int mTextureWidth
protected int mTextureHeight
protected java.nio.ByteBuffer mTexture
protected int mTextureId
public OpenNIView(Context context)
public OpenNIView(Context context, AttributeSet attrs)
protected void finalize() throws java.lang.Throwable
java.lang.Throwable
public void setBaseColor(int color)
public int getBaseColor()
public void update(VideoFrameRef frame)
frame
- The frame to be drawnpublic void clear()
protected void onDrawGL()