Classes | Static Public Member Functions | Protected Member Functions | Static Private Member Functions | List of all members
org.openkinect.freenect.Freenect Class Reference
Inheritance diagram for org.openkinect.freenect.Freenect:
Inheritance graph
[legend]

Classes

class  EventThread
 
class  NativeContext
 
interface  NativeDepthCallback
 
class  NativeDevice
 
interface  NativeLogCallback
 
interface  NativeVideoCallback
 
class  TiltState
 

Static Public Member Functions

static Context createContext ()
 

Protected Member Functions

 Freenect ()
 

Static Private Member Functions

static native int freenect_close_device (NativeDevice dev)
 
static native FrameMode.ByValue freenect_find_depth_mode (int res, int fmt)
 
static native FrameMode.ByValue freenect_find_video_mode (int res, int fmt)
 
static native FrameMode.ByValue freenect_get_current_depth_mode (NativeDevice dev)
 
static native FrameMode.ByValue freenect_get_current_video_mode (NativeDevice dev)
 
static native FrameMode.ByValue freenect_get_depth_mode (int mode_num)
 
static native int freenect_get_depth_mode_count ()
 
static native void freenect_get_mks_accel (TiltState tiltState, DoubleBuffer x, DoubleBuffer y, DoubleBuffer z)
 
static native double freenect_get_tilt_degs (TiltState tiltState)
 
static native TiltState freenect_get_tilt_state (NativeDevice dev)
 
static native byte freenect_get_tilt_status (TiltState tiltState)
 
static native Pointer freenect_get_user (NativeDevice dev)
 
static native FrameMode.ByValue freenect_get_video_mode (int mode_num)
 
static native int freenect_get_video_mode_count ()
 
static native int freenect_init (PointerByReference ctx, Pointer usb_ctx)
 
static native int freenect_num_devices (NativeContext ctx)
 
static native int freenect_open_device (NativeContext ctx, PointerByReference dev, int index)
 
static native int freenect_process_events (NativeContext ctx)
 
static native int freenect_select_subdevices (NativeContext ctx, int flag)
 
static native int freenect_set_depth_buffer (NativeDevice dev, ByteBuffer buf)
 
static native void freenect_set_depth_callback (NativeDevice dev, NativeDepthCallback cb)
 
static native int freenect_set_depth_mode (NativeDevice dev, FrameMode.ByValue mode)
 
static native int freenect_set_led (NativeDevice dev, int option)
 
static native void freenect_set_log_callback (NativeContext ctx, NativeLogCallback cb)
 
static native void freenect_set_log_level (NativeContext ctx, int level)
 
static native int freenect_set_tilt_degs (NativeDevice dev, double angle)
 
static native void freenect_set_user (NativeDevice dev, Pointer user)
 
static native int freenect_set_video_buffer (NativeDevice dev, ByteBuffer buf)
 
static native void freenect_set_video_callback (NativeDevice dev, NativeVideoCallback cb)
 
static native int freenect_set_video_mode (NativeDevice dev, FrameMode.ByValue mode)
 
static native int freenect_shutdown (NativeContext ctx)
 
static native int freenect_start_depth (NativeDevice dev)
 
static native int freenect_start_video (NativeDevice dev)
 
static native int freenect_stop_depth (NativeDevice dev)
 
static native int freenect_stop_video (NativeDevice dev)
 
static native int freenect_update_tilt_state (NativeDevice dev)
 

Detailed Description

Definition at line 35 of file Freenect.java.

Constructor & Destructor Documentation

org.openkinect.freenect.Freenect.Freenect ( )
inlineprotected

Definition at line 47 of file Freenect.java.

Member Function Documentation

static Context org.openkinect.freenect.Freenect.createContext ( )
inlinestatic

Definition at line 50 of file Freenect.java.

static native int org.openkinect.freenect.Freenect.freenect_close_device ( NativeDevice  dev)
staticprivate
static native FrameMode.ByValue org.openkinect.freenect.Freenect.freenect_find_depth_mode ( int  res,
int  fmt 
)
staticprivate
static native FrameMode.ByValue org.openkinect.freenect.Freenect.freenect_find_video_mode ( int  res,
int  fmt 
)
staticprivate
static native FrameMode.ByValue org.openkinect.freenect.Freenect.freenect_get_current_depth_mode ( NativeDevice  dev)
staticprivate
static native FrameMode.ByValue org.openkinect.freenect.Freenect.freenect_get_current_video_mode ( NativeDevice  dev)
staticprivate
static native FrameMode.ByValue org.openkinect.freenect.Freenect.freenect_get_depth_mode ( int  mode_num)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_get_depth_mode_count ( )
staticprivate
static native void org.openkinect.freenect.Freenect.freenect_get_mks_accel ( TiltState  tiltState,
DoubleBuffer  x,
DoubleBuffer  y,
DoubleBuffer  z 
)
staticprivate
static native double org.openkinect.freenect.Freenect.freenect_get_tilt_degs ( TiltState  tiltState)
staticprivate
static native TiltState org.openkinect.freenect.Freenect.freenect_get_tilt_state ( NativeDevice  dev)
staticprivate
static native byte org.openkinect.freenect.Freenect.freenect_get_tilt_status ( TiltState  tiltState)
staticprivate
static native Pointer org.openkinect.freenect.Freenect.freenect_get_user ( NativeDevice  dev)
staticprivate
static native FrameMode.ByValue org.openkinect.freenect.Freenect.freenect_get_video_mode ( int  mode_num)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_get_video_mode_count ( )
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_init ( PointerByReference  ctx,
Pointer  usb_ctx 
)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_num_devices ( NativeContext  ctx)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_open_device ( NativeContext  ctx,
PointerByReference  dev,
int  index 
)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_process_events ( NativeContext  ctx)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_select_subdevices ( NativeContext  ctx,
int  flag 
)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_set_depth_buffer ( NativeDevice  dev,
ByteBuffer  buf 
)
staticprivate
static native void org.openkinect.freenect.Freenect.freenect_set_depth_callback ( NativeDevice  dev,
NativeDepthCallback  cb 
)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_set_depth_mode ( NativeDevice  dev,
FrameMode.ByValue  mode 
)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_set_led ( NativeDevice  dev,
int  option 
)
staticprivate
static native void org.openkinect.freenect.Freenect.freenect_set_log_callback ( NativeContext  ctx,
NativeLogCallback  cb 
)
staticprivate
static native void org.openkinect.freenect.Freenect.freenect_set_log_level ( NativeContext  ctx,
int  level 
)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_set_tilt_degs ( NativeDevice  dev,
double  angle 
)
staticprivate
static native void org.openkinect.freenect.Freenect.freenect_set_user ( NativeDevice  dev,
Pointer  user 
)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_set_video_buffer ( NativeDevice  dev,
ByteBuffer  buf 
)
staticprivate
static native void org.openkinect.freenect.Freenect.freenect_set_video_callback ( NativeDevice  dev,
NativeVideoCallback  cb 
)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_set_video_mode ( NativeDevice  dev,
FrameMode.ByValue  mode 
)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_shutdown ( NativeContext  ctx)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_start_depth ( NativeDevice  dev)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_start_video ( NativeDevice  dev)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_stop_depth ( NativeDevice  dev)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_stop_video ( NativeDevice  dev)
staticprivate
static native int org.openkinect.freenect.Freenect.freenect_update_tilt_state ( NativeDevice  dev)
staticprivate

The documentation for this class was generated from the following file:


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