Device.java
Go to the documentation of this file.
1 
25  package org.openkinect.freenect;
26 
27 public interface Device {
28  double[] getAccel();
29  int setLed(LedStatus status);
30  void refreshTiltState();
31  double getTiltAngle();
32  int setTiltAngle(double angle);
34  void setDepthFormat(DepthFormat fmt);
35  void setVideoFormat(VideoFormat fmt);
36  void setDepthFormat(DepthFormat fmt, Resolution res);
37  void setVideoFormat(VideoFormat fmt, Resolution res);
41  int startVideo(VideoHandler handler);
42  int stopDepth();
43  int stopVideo();
44  void close();
45  public abstract int getDeviceIndex();
46 }
int setLed(LedStatus status)
int setTiltAngle(double angle)
void setDepthFormat(DepthFormat fmt)
int startDepth(DepthHandler handler)
void setVideoFormat(VideoFormat fmt)
def handler(signum, frame)
int startVideo(VideoHandler handler)


libfreenect
Author(s): Hector Martin, Josh Blake, Kyle Machulis, OpenKinect community
autogenerated on Mon Jun 10 2019 13:46:42