Tanoda
|
Functions | |
delegate IntPtr | Allocate (UInt32 size, eLeapAllocatorType typeHint, IntPtr state) |
delegate void | Deallocate (IntPtr buffer, IntPtr state) |
enum LeapInternal.eLeapAllocatorType : uint |
enum LeapInternal.eLeapConnectionStatus : uint |
enum LeapInternal.eLeapDeviceCaps : uint |
enum LeapInternal.eLeapDeviceFlag : uint |
Enumerator | |
---|---|
eLeapDeviceFlag_Stream | Flag set if the device is presently streaming frames This flag is updated when the user pauses or resumes tracking on the device from the Leap control panel. Modification of this flag will fail if the AllowPauseResume policy is not set on this device object. |
enum LeapInternal.eLeapDeviceStatus : uint |
enum LeapInternal.eLeapDeviceType : uint |
Enumerator | |
---|---|
eLeapDeviceType_Peripheral | The Leap Motion consumer peripheral |
eLeapDeviceType_Dragonfly | Internal research product codename "Dragonfly". |
eLeapDeviceType_Nightcrawler | Internal research product codename "Nightcrawler". |
eLeapDevicePID_Rigel | Research product codename "Rigel". |
Enumerator | |
---|---|
eLeapEventType_None | No event has occurred within the timeout period specified when calling LeapPollConnection(). |
eLeapEventType_Connection | A connection to the Leap Motion service has been established. |
eLeapEventType_ConnectionLost | The connection to the Leap Motion service has been lost. |
eLeapEventType_Device | A device has been detected or plugged-in. A device event is dispatched after a connection is established for any devices already plugged in. (The system currently only supports one streaming device at a time.) |
eLeapEventType_DeviceFailure | Note that unplugging a device generates an eLeapEventType_DeviceLost event message, not a failure message. |
eLeapEventType_Policy | A policy change has occurred. This can be due to setting a policy with LeapSetPolicyFlags() or due to changing or policy-related config settings, including images_mode. (A user can also change these policies using the Leap Motion Control Panel.) |
eLeapEventType_Tracking | A tracking frame. The message contains the tracking data for the frame. |
eLeapEventType_ImageRequestError | The request for an image has failed. The message contains information about the failure. The client application will not receive the requested image set. |
eLeapEventType_ImageComplete | The request for an image is complete. The image data has been completely written to the application-provided buffer. |
eLeapEventType_LogEvent | A system message. |
eLeapEventType_DeviceLost | The device connection has been lost. This event is generally asserted when the device has been detached from the system, when the connection to the service has been lost, or if the device is closed while streaming. Generally, any event where the system can conclude no further frames will be received will result in this message. The DeviceEvent field will be filled with the id of the formerly attached device. |
eLeapEventType_ConfigResponse | The asynchronous response to a call to LeapRequestConfigValue(). Contains the value of requested configuration item. |
eLeapEventType_ConfigChange | The asynchronous response to a call to LeapSaveConfigValue(). Reports whether the change succeeded or failed. |
eLeapEventType_DeviceStatusChange | Notification that a status change has been detected on an attached device. |
eLeapEventType_DroppedFrame | A tracking frame has been dropped by the service. |
eLeapEventType_Image | Notification that an unrequested stereo image pair is available. |
eLeapEventType_PointMappingChange | Notification that point mapping has changed. |
eLeapEventType_LogEvents | An array of system messages. |
eLeapEventType_HeadPose | A new head pose is available. |
enum LeapInternal.eLeapImageFormat : uint |
enum LeapInternal.eLeapPolicyFlag : uint |
enum LeapInternal.eLeapRS : uint |
Enumerator | |
---|---|
eLeapRS_Success | The operation completed successfully. |
eLeapRS_UnknownError | An undetermined error has occurred. This is usually the result of an abnormal operating condition in LeapC, the Leap Motion service, or the host computer itself. |
eLeapRS_InvalidArgument | An invalid argument was specified. |
eLeapRS_InsufficientResources | Insufficient resources existed to complete the request. |
eLeapRS_InsufficientBuffer | The specified buffer was not large enough to complete the request. |
eLeapRS_Timeout | The requested operation has timed out. |
eLeapRS_NotConnected | The operation is invalid because there is no current connection. |
eLeapRS_HandshakeIncomplete | The operation is invalid because the connection is not complete. |
eLeapRS_BufferSizeOverflow | The specified buffer size is too large. |
eLeapRS_ProtocolError | A communications protocol error occurred. |
eLeapRS_InvalidClientID | The server incorrectly specified zero as a client ID. |
eLeapRS_UnexpectedClosed | The connection to the service was unexpectedly closed while reading or writing a message. The server may have terminated. |
eLeapRS_UnknownImageFrameRequest | The specified request token does not appear to be valid Provided that the token value which identifies the request itself was, at one point, valid, this error condition occurs when the request to which the token refers has already been satisfied or is currently being satisfied. |
eLeapRS_UnknownTrackingFrameID | The specified frame ID is not valid or is no longer valid Provided that frame ID was, at one point, valid, this error condition occurs when the identifier refers to a frame that occurred further in the past than is currently recorded in the rolling frame window. |
eLeapRS_RoutineIsNotSeer | The specified timestamp references a future point in time The related routine can only operate on time points having occurred in the past, and the provided timestamp occurs in the future. |
eLeapRS_TimestampTooEarly | The specified timestamp references a point too far in the past The related routine can only operate on time points occurring within its immediate record of the past. |
eLeapRS_ConcurrentPoll | LeapPollConnection is called concurrently. |
eLeapRS_NotAvailable | A connection to the Leap Motion service could not be established. |
eLeapRS_NotStreaming | The requested operation can only be performed while the device is sending data. |
eLeapRS_CannotOpenDevice | The specified device could not be opened. It is possible that the device identifier is invalid, or that the device has been disconnected since being enumerated. |
enum LeapInternal.eLeapServiceDisposition : uint |
enum LeapInternal.eLeapValueType : int |
delegate IntPtr LeapInternal.Allocate | ( | UInt32 | size, |
eLeapAllocatorType | typeHint, | ||
IntPtr | state | ||
) |
delegate void LeapInternal.Deallocate | ( | IntPtr | buffer, |
IntPtr | state | ||
) |