Packagecom.as3nui.nativeExtensions.air.kinect.frameworks.openni
Classpublic class OpenNIKinect
InheritanceOpenNIKinect Inheritance Kinect Inheritance flash.events.EventDispatcher



Public Properties
 PropertyDefined By
 InheritedcameraElevationAngle : int
Gets the current angle of the Device.
Kinect
 Inheritedcapabilities : DeviceCapabilities
[read-only] Get the capabilities of the Device.
Kinect
 Inheritednr : uint
[read-only] Get the index / nr of the Device.
Kinect
  openNISettings : OpenNIKinectSettings
[read-only]
OpenNIKinect
 Inheritedsettings : KinectSettings
[read-only]
Kinect
 Inheritedstate : String
[read-only] Get the current state of the Device.
Kinect
 Inheritedusers : Vector.<User>
[read-only] Get a list of all users
Kinect
 InheritedusersWithSkeleton : Vector.<User>
[read-only] Get a list of the users with a tracked skeleton
Kinect
Protected Properties
 PropertyDefined By
  infraredImageBytes : ByteArray
OpenNIKinect
  infraredImageData : BitmapData
OpenNIKinect
Public Methods
 MethodDefined By
  
OpenNIKinect(nr:uint = 0)
OpenNIKinect
 Inherited
chooseSkeletons(trackingIds:Vector.<uint>):void
Only track the skeletons of the given trackingIds
Kinect
 Inherited
dispose():void
Cleanup the Device instance.
Kinect
 Inherited
getDevice(nr:uint = 0):Kinect
[static] Automatically chooses from the "default" devices for an operating system this is currently OpenNI for OSX and MSSDK / OpenNI for windows (depending on the ane)
Kinect
 Inherited
getDeviceByClass(deviceClass:Class, nr:uint = 0):Kinect
[static] Get an instance of the Kinect class.
Kinect
 Inherited
getDeviceByFramework(framework:String, nr:uint = 0):Kinect
[static] Get an instance of the Kinect class.
Kinect
 Inherited
isSupported():Boolean
[static] Check if there is a Sensor available for use
Kinect
 Inherited
numDevices():uint
[static] Get the current number of sensors connected to the system
Kinect
 Inherited
setChooseSkeletonsEnabled(value:Boolean):void
Change the skeleton chosing mode while the device is running
Kinect
 Inherited
setDepthMirror(value:Boolean):void
Change the depth image mirroring while the device is running
Kinect
 Inherited
setNearModeEnabled(value:Boolean):void
Change the near mode while the device is running
Kinect
 Inherited
setPointCloudDensity(value:uint):void
Change the density of the point cloud while the device is running.
Kinect
 Inherited
setPointCloudIncludeRGB(value:Boolean):void
Change the inclusion of RGB data in the point cloud while the device is running
Kinect
 Inherited
setPointCloudMirror(value:Boolean):void
Change the point cloud mirroring while the device is running
Kinect
 Inherited
setRGBMirror(value:Boolean):void
Change the rgb image mirroring while the device is running
Kinect
 Inherited
setSeatedSkeletonEnabled(value:Boolean):void
Change the seated skeleton mode while the device is running
Kinect
 Inherited
setSkeletonMirror(value:Boolean):void
Change the skeleton mirroring while the device is running
Kinect
 Inherited
setUserMaskMirror(value:Boolean):void
Change the user mask mirroring while the device is running
Kinect
 Inherited
start(deviceSettings:Object):void
Starts the kinect sensor, with the given configuration.
Kinect
 Inherited
stop():void
Stops the Device.
Kinect
Protected Methods
 MethodDefined By
  
OpenNIKinect
  
contextStatusHandler(event:StatusEvent):void
[override]
OpenNIKinect
 Inherited
Kinect
  
OpenNIKinect
  
[override]
OpenNIKinect
  
parseSettings(deviceSettings:Object):KinectSettings
[override]
OpenNIKinect
Events
 Event Summary Defined By
 InheritedDispatched when the depth bitmapdata is updated.Kinect
  OpenNIKinect
 InheritedDispatched when new point cloud information is available.Kinect
 InheritedDispatched when the rgb bitmapdata is updated.Kinect
 InheritedDispatched when the device has started.Kinect
 InheritedDispatched when the device stops.Kinect
 InheritedDispatched when new user(s) enter the scene.Kinect
 InheritedDispatched when user mask bitmap(s) are updated.Kinect
 InheritedDispatched when user(s) leave the scene.Kinect
 InheritedDispatched when user(s) coordinates are updated.Kinect
 InheritedDispatched when new user skeleton(s) are detected.Kinect
 InheritedDispatched when user(s) with a skeleton leave the scene.Kinect
Property Detail
infraredImageBytesproperty
protected var infraredImageBytes:ByteArray

infraredImageDataproperty 
protected var infraredImageData:BitmapData

openNISettingsproperty 
openNISettings:OpenNIKinectSettings  [read-only]


Implementation
    public function get openNISettings():OpenNIKinectSettings
Constructor Detail
OpenNIKinect()Constructor
public function OpenNIKinect(nr:uint = 0)



Parameters
nr:uint (default = 0)
Method Detail
applyInfraredSettings()method
protected function applyInfraredSettings():void

contextStatusHandler()method 
override protected function contextStatusHandler(event:StatusEvent):void

Parameters

event:StatusEvent

handleInfraredFrame()method 
protected function handleInfraredFrame():void

initSettings()method 
override protected function initSettings():void

parseSettings()method 
override protected function parseSettings(deviceSettings:Object):KinectSettings

Parameters

deviceSettings:Object

Returns
KinectSettings
Event Detail
infraredImageUpdate Event
Event Object Type: com.as3nui.nativeExtensions.air.kinect.frameworks.openni.events.OpenNICameraImageEvent