public class StreamOpenKinectRgbDepth
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
StreamOpenKinectRgbDepth.Listener
Listener for kinect data
|
| Constructor and Description |
|---|
StreamOpenKinectRgbDepth() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
processDepth(java.nio.ByteBuffer frame,
int timestamp) |
protected void |
processRgb(java.nio.ByteBuffer frame,
int timestamp) |
void |
start(Device device,
Resolution resolution,
StreamOpenKinectRgbDepth.Listener listener)
Adds listeners to the device and sets its resolutions.
|
void |
stop()
Stops all the threads from running and closes the video channels and video device
|
public void start(Device device, Resolution resolution, StreamOpenKinectRgbDepth.Listener listener)
device - Kinect deviceresolution - Resolution that images are being processed at. Must be medium for nowlistener - Listener for datapublic void stop()
protected void processDepth(java.nio.ByteBuffer frame,
int timestamp)
protected void processRgb(java.nio.ByteBuffer frame,
int timestamp)