public class OpenNIView
extends GLSurfaceView
限定符和类型 | 字段和说明 |
---|---|
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 |
构造器和说明 |
---|
OpenNIView(Context context) |
OpenNIView(Context context,
AttributeSet attrs) |
限定符和类型 | 方法和说明 |
---|---|
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()