Package | com.as3nui.nativeExtensions.air.kinect.frameworks.openni |
Class | public class OpenNIKinect |
Inheritance | OpenNIKinect ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | cameraElevationAngle : int
Gets the current angle of the Device. | Kinect | |
![]() | capabilities : DeviceCapabilities [read-only]
Get the capabilities of the Device. | Kinect | |
![]() | nr : uint [read-only]
Get the index / nr of the Device. | Kinect | |
openNISettings : OpenNIKinectSettings [read-only] | OpenNIKinect | ||
![]() | settings : KinectSettings [read-only] | Kinect | |
![]() | state : String [read-only]
Get the current state of the Device. | Kinect | |
![]() | users : Vector.<User> [read-only]
Get a list of all users
| Kinect | |
![]() | usersWithSkeleton : Vector.<User> [read-only]
Get a list of the users with a tracked skeleton
| Kinect |
Property | Defined By | ||
---|---|---|---|
infraredImageBytes : ByteArray | OpenNIKinect | ||
infraredImageData : BitmapData | OpenNIKinect |
Method | Defined By | ||
---|---|---|---|
OpenNIKinect(nr:uint = 0) | OpenNIKinect | ||
![]() | chooseSkeletons(trackingIds:Vector.<uint>):void
Only track the skeletons of the given trackingIds
| Kinect | |
![]() | dispose():void
Cleanup the Device instance. | 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 | |
![]() | getDeviceByClass(deviceClass:Class, nr:uint = 0):Kinect [static]
Get an instance of the Kinect class. | Kinect | |
![]() | getDeviceByFramework(framework:String, nr:uint = 0):Kinect [static]
Get an instance of the Kinect class. | Kinect | |
![]() | isSupported():Boolean [static]
Check if there is a Sensor available for use
| Kinect | |
![]() | numDevices():uint [static]
Get the current number of sensors connected to the system
| Kinect | |
![]() | setChooseSkeletonsEnabled(value:Boolean):void
Change the skeleton chosing mode while the device is running
| Kinect | |
![]() | setDepthMirror(value:Boolean):void
Change the depth image mirroring while the device is running
| Kinect | |
![]() | setNearModeEnabled(value:Boolean):void
Change the near mode while the device is running
| Kinect | |
![]() | setPointCloudDensity(value:uint):void
Change the density of the point cloud while the device is running. | Kinect | |
![]() | setPointCloudIncludeRGB(value:Boolean):void
Change the inclusion of RGB data in the point cloud while the device is running
| Kinect | |
![]() | setPointCloudMirror(value:Boolean):void
Change the point cloud mirroring while the device is running
| Kinect | |
![]() | setRGBMirror(value:Boolean):void
Change the rgb image mirroring while the device is running
| Kinect | |
![]() | setSeatedSkeletonEnabled(value:Boolean):void
Change the seated skeleton mode while the device is running
| Kinect | |
![]() | setSkeletonMirror(value:Boolean):void
Change the skeleton mirroring while the device is running
| Kinect | |
![]() | setUserMaskMirror(value:Boolean):void
Change the user mask mirroring while the device is running
| Kinect | |
![]() | start(deviceSettings:Object):void
Starts the kinect sensor, with the given configuration. | Kinect | |
![]() | stop():void
Stops the Device. | Kinect |
Method | Defined By | ||
---|---|---|---|
applyInfraredSettings():void | OpenNIKinect | ||
contextStatusHandler(event:StatusEvent):void [override] | OpenNIKinect | ||
![]() | createContextBridge():void | Kinect | |
handleInfraredFrame():void | OpenNIKinect | ||
initSettings():void [override] | OpenNIKinect | ||
parseSettings(deviceSettings:Object):KinectSettings [override] | OpenNIKinect |
Event | Summary | Defined By | ||
---|---|---|---|---|
![]() | Dispatched when the depth bitmapdata is updated. | Kinect | ||
OpenNIKinect | ||||
![]() | Dispatched when new point cloud information is available. | Kinect | ||
![]() | Dispatched when the rgb bitmapdata is updated. | Kinect | ||
![]() | Dispatched when the device has started. | Kinect | ||
![]() | Dispatched when the device stops. | Kinect | ||
![]() | Dispatched when new user(s) enter the scene. | Kinect | ||
![]() | Dispatched when user mask bitmap(s) are updated. | Kinect | ||
![]() | Dispatched when user(s) leave the scene. | Kinect | ||
![]() | Dispatched when user(s) coordinates are updated. | Kinect | ||
![]() | Dispatched when new user skeleton(s) are detected. | Kinect | ||
![]() | Dispatched when user(s) with a skeleton leave the scene. | Kinect |
infraredImageBytes | property |
protected var infraredImageBytes:ByteArray
infraredImageData | property |
protected var infraredImageData:BitmapData
openNISettings | property |
openNISettings:OpenNIKinectSettings
[read-only] public function get openNISettings():OpenNIKinectSettings
OpenNIKinect | () | Constructor |
public function OpenNIKinect(nr:uint = 0)
nr:uint (default = 0 )
|
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 |
KinectSettings |
infraredImageUpdate | Event |
com.as3nui.nativeExtensions.air.kinect.frameworks.openni.events.OpenNICameraImageEvent