Notice: MediaWiki has been updated. Report any rough edges to marcan@marcan.st

Difference between revisions of "High Level"

From OpenKinect
Jump to: navigation, search
(This edit incorporates a more detailed High-level documentation. Functions signatures for all relevant c files have been included, sans return and parameters.)
Line 108: Line 108:
 
cameras.c
 
cameras.c
 
<pre>
 
<pre>
freenect_start_depth()
 
freenect_start_video()
 
freenect_stop_depth()
 
freenect_stop_video()
 
freenect_set_depth_callback()
 
freenect_set_video_callback()
 
freenect_set_video_format()
 
freenect_set_depth_format()
 
freenect_set_depth_buffer()
 
freenect_set_video_buffer
 
 
stream_process()
 
stream_process()
 
stream_init()
 
stream_init()
 
stream_freebufs()
 
stream_freebufs()
 
stream_setbuf()
 
stream_setbuf()
conver_packed_to_16bit()
+
convert_packed_to_16bit()
conver_packed_to_8bit()
+
convert_packed_to_8bit()
 +
convert_packed11_to_16bit()
 
depth_process()
 
depth_process()
 
convert_uyuy_to_rgb()
 
convert_uyuy_to_rgb()
 
convert_bayer_to_rgb()
 
convert_bayer_to_rgb()
 
video_process()
 
video_process()
 +
send_cmd()
 
write_register()
 
write_register()
</pre>
+
freenect_start_depth()
 
+
freenect_start_video()
internal.c
+
freenect_stop_depth()
<pre>
+
freenect_stop_video()
send_cmd()
+
freenect_set_depth_callback()
 +
freenect_set_video_callback()
 +
freenect_get_video_mode_count()
 +
freenect_get_video_mode()
 +
freenect_get_current_video_mode()
 +
freenect_find_video_mode()
 +
freenect_set_video_mode()
 +
freenect_get_depth_mode_count()
 +
freenect_get_depth_mode()
 +
freenect_get_current_depth_mode()
 +
freenect_find_depth_mode()
 +
freenect_set_depth_mode()
 +
freenect_set_depth_buffer()
 +
freenect_set_video_buffer()
 
</pre>
 
</pre>

Revision as of 20:11, 22 April 2011

KEY

Type Character
boolean Z
byte B
char C
double D
float F
int I
long J
object L
short S
void V
array [

Kinect Device

public class KinectDevice {
     public KinectDevice()
          Signature: ()V;

     public setLEDStatus(LEDStatus)
          Signature: (LLEDStatus;)V
     public getLEDStatus()
          Signature: ()LLEDStatus;

     public setMotorPosition(float)
          Signature: (F)V
     public getMotorPosition()
          Signature: ()F

     public getRGBImage()
          Signature: ()LI

     public getDepthImage()
          Signature: ()LI

}

Kinect LED


public class KinectLed {
     public KinectLed(KinectDevice);
          Signature: (LKinectDevice;)V
     public LEDStatus getStatus();
          Signature: ()LEDStatus;
     public void setStatus(LEDStatus);
          Signature: (LLEDStatus;)V
}


core.c

freenect_init()
freenect_shutdown()
freenect_process_events()
freenect_num_devices()
freenect_open_device()
freenect_close_device()
freenect_set_user()
freenect_get_user()
freenect_set_log_level()
freenect_set_log_callback()
fn_log()

tilt.c

freenect_get_tilt_state()
freenect_update_tilt_state()
freenect_set_tilt_degs()
freenect_set_led()
freenect_get_tilt_degs()
freenect_get_tilt_status()
freenect_get_mks_accel()

cameras.c

stream_process()
stream_init()
stream_freebufs()
stream_setbuf()
convert_packed_to_16bit()
convert_packed_to_8bit()
convert_packed11_to_16bit()
depth_process()
convert_uyuy_to_rgb()
convert_bayer_to_rgb()
video_process()
send_cmd()
write_register()
freenect_start_depth()
freenect_start_video()
freenect_stop_depth()
freenect_stop_video()
freenect_set_depth_callback()
freenect_set_video_callback()
freenect_get_video_mode_count()
freenect_get_video_mode()
freenect_get_current_video_mode()
freenect_find_video_mode()
freenect_set_video_mode()
freenect_get_depth_mode_count()
freenect_get_depth_mode()
freenect_get_current_depth_mode()
freenect_find_depth_mode()
freenect_set_depth_mode()
freenect_set_depth_buffer()
freenect_set_video_buffer()