| Modifier | Constructor and Description |
|---|---|
|
Freenect.NativeDevice() |
protected |
Freenect.NativeDevice(com.sun.jna.Pointer ptr,
int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
double[] |
getAccel() |
FrameMode |
getDepthMode() |
int |
getDeviceIndex() |
double |
getTiltAngle() |
TiltStatus |
getTiltStatus() |
FrameMode |
getVideoMode() |
void |
refreshTiltState() |
void |
setDepthFormat(DepthFormat fmt) |
void |
setDepthFormat(DepthFormat fmt,
Resolution res) |
protected void |
setDeviceIndex(int index) |
int |
setLed(LedStatus status) |
int |
setTiltAngle(double angle) |
void |
setVideoFormat(VideoFormat fmt) |
void |
setVideoFormat(VideoFormat fmt,
Resolution res) |
int |
startDepth(DepthHandler handler) |
int |
startVideo(VideoHandler handler) |
int |
stopDepth() |
int |
stopVideo() |
public Freenect.NativeDevice()
protected Freenect.NativeDevice(com.sun.jna.Pointer ptr,
int index)
protected void setDeviceIndex(int index)
public int getDeviceIndex()
getDeviceIndex in interface Devicepublic void setDepthFormat(DepthFormat fmt)
setDepthFormat in interface Devicepublic void setVideoFormat(VideoFormat fmt)
setVideoFormat in interface Devicepublic void setDepthFormat(DepthFormat fmt, Resolution res)
setDepthFormat in interface Devicepublic void setVideoFormat(VideoFormat fmt, Resolution res)
setVideoFormat in interface Devicepublic FrameMode getDepthMode()
getDepthMode in interface Devicepublic FrameMode getVideoMode()
getVideoMode in interface Devicepublic void refreshTiltState()
refreshTiltState in interface Devicepublic double getTiltAngle()
getTiltAngle in interface Devicepublic int setTiltAngle(double angle)
setTiltAngle in interface Devicepublic TiltStatus getTiltStatus()
getTiltStatus in interface Devicepublic int startVideo(VideoHandler handler)
startVideo in interface Devicepublic int startDepth(DepthHandler handler)
startDepth in interface Device