Tanoda
LeapInternal.LeapC Class Reference

Classes

struct  LEAP_RECORDING_PARAMETERS
 
struct  LEAP_RECORDING_STATUS
 

Public Member Functions

static long GetNow ()
 
static eLeapRS CreateClockRebaser (out IntPtr phClockRebaser)
 
static eLeapRS DestroyClockRebaser (IntPtr hClockRebaser)
 
static eLeapRS UpdateRebase (IntPtr hClockRebaser, Int64 userClock, Int64 leapClock)
 
static eLeapRS RebaseClock (IntPtr hClockRebaser, Int64 userClock, out Int64 leapClock)
 
static eLeapRS CreateConnection (ref LEAP_CONNECTION_CONFIG pConfig, out IntPtr pConnection)
 
static eLeapRS GetConnectionInfo (IntPtr hConnection, ref LEAP_CONNECTION_INFO pInfo)
 
static eLeapRS OpenConnection (IntPtr hConnection)
 
static eLeapRS SetAllocator (IntPtr hConnection, ref LEAP_ALLOCATOR pAllocator)
 
static eLeapRS GetDeviceList (IntPtr hConnection, [In, Out] LEAP_DEVICE_REF[] pArray, out UInt32 pnArray)
 
static eLeapRS OpenDevice (LEAP_DEVICE_REF rDevice, out IntPtr pDevice)
 
static eLeapRS GetDeviceInfo (IntPtr hDevice, ref LEAP_DEVICE_INFO info)
 
static eLeapRS SetPolicyFlags (IntPtr hConnection, UInt64 set, UInt64 clear)
 
static eLeapRS LeapSetPause (IntPtr hConnection, bool pause)
 
static eLeapRS PollConnection (IntPtr hConnection, UInt32 timeout, ref LEAP_CONNECTION_MESSAGE msg)
 
static eLeapRS GetFrameSize (IntPtr hConnection, Int64 timestamp, out UInt64 pncbEvent)
 
static eLeapRS InterpolateFrame (IntPtr hConnection, Int64 timestamp, IntPtr pEvent, UInt64 ncbEvent)
 
static eLeapRS InterpolateFrameFromTime (IntPtr hConnection, Int64 timestamp, Int64 sourceTimestamp, IntPtr pEvent, UInt64 ncbEvent)
 
static eLeapRS InterpolateHeadPose (IntPtr hConnection, Int64 timestamp, ref LEAP_HEAD_POSE_EVENT headPose)
 
static LEAP_VECTOR LeapPixelToRectilinear (IntPtr hConnection, eLeapPerspectiveType camera, LEAP_VECTOR pixel)
 
static LEAP_VECTOR LeapRectilinearToPixel (IntPtr hConnection, eLeapPerspectiveType camera, LEAP_VECTOR rectilinear)
 
static void CloseDevice (IntPtr pDevice)
 
static eLeapRS CloseConnection (IntPtr hConnection)
 
static void DestroyConnection (IntPtr connection)
 
static eLeapRS RequestConfigValue (IntPtr hConnection, string name, out UInt32 request_id)
 
static eLeapRS GetPointMappingSize (IntPtr hConnection, ref ulong pSize)
 
static eLeapRS GetPointMapping (IntPtr hConnection, IntPtr pointMapping, ref ulong pSize)
 
static eLeapRS RecordingOpen (ref IntPtr ppRecording, string userPath, LEAP_RECORDING_PARAMETERS parameters)
 
static eLeapRS RecordingClose (ref IntPtr ppRecording)
 
static eLeapRS LeapRecordingGetStatus (IntPtr pRecording, ref LEAP_RECORDING_STATUS status)
 
static eLeapRS RecordingReadSize (IntPtr pRecording, ref UInt64 pncbEvent)
 
static eLeapRS RecordingRead (IntPtr pRecording, ref LEAP_TRACKING_EVENT pEvent, UInt64 ncbEvent)
 
static eLeapRS RecordingWrite (IntPtr pRecording, ref LEAP_TRACKING_EVENT pEvent, ref UInt64 pnBytesWritten)
 
static eLeapRS LeapTelemetryProfiling (IntPtr hConnection, ref LEAP_TELEMETRY_DATA telemetryData)
 
static UInt64 TelemetryGetNow ()
 

Static Public Member Functions

static eLeapRS CreateConnection (out IntPtr pConnection)
 
static eLeapRS GetDeviceCount (IntPtr hConnection, out UInt32 deviceCount)
 
static eLeapRS SaveConfigValue (IntPtr hConnection, string key, bool value, out UInt32 requestId)
 
static eLeapRS SaveConfigValue (IntPtr hConnection, string key, Int32 value, out UInt32 requestId)
 
static eLeapRS SaveConfigValue (IntPtr hConnection, string key, float value, out UInt32 requestId)
 
static eLeapRS SaveConfigValue (IntPtr hConnection, string key, string value, out UInt32 requestId)
 

Static Public Attributes

static int DistortionSize = 64
 

Detailed Description

Definition at line 790 of file LeapC.cs.

Member Function Documentation

◆ CloseConnection()

static eLeapRS LeapInternal.LeapC.CloseConnection ( IntPtr  hConnection)

◆ CloseDevice()

static void LeapInternal.LeapC.CloseDevice ( IntPtr  pDevice)

◆ CreateClockRebaser()

static eLeapRS LeapInternal.LeapC.CreateClockRebaser ( out IntPtr  phClockRebaser)

◆ CreateConnection() [1/2]

static eLeapRS LeapInternal.LeapC.CreateConnection ( out IntPtr  pConnection)
static

Definition at line 815 of file LeapC.cs.

◆ CreateConnection() [2/2]

static eLeapRS LeapInternal.LeapC.CreateConnection ( ref LEAP_CONNECTION_CONFIG  pConfig,
out IntPtr  pConnection 
)

◆ DestroyClockRebaser()

static eLeapRS LeapInternal.LeapC.DestroyClockRebaser ( IntPtr  hClockRebaser)

◆ DestroyConnection()

static void LeapInternal.LeapC.DestroyConnection ( IntPtr  connection)

◆ GetConnectionInfo()

static eLeapRS LeapInternal.LeapC.GetConnectionInfo ( IntPtr  hConnection,
ref LEAP_CONNECTION_INFO  pInfo 
)

◆ GetDeviceCount()

static eLeapRS LeapInternal.LeapC.GetDeviceCount ( IntPtr  hConnection,
out UInt32  deviceCount 
)
static

Definition at line 834 of file LeapC.cs.

◆ GetDeviceInfo()

static eLeapRS LeapInternal.LeapC.GetDeviceInfo ( IntPtr  hDevice,
ref LEAP_DEVICE_INFO  info 
)

◆ GetDeviceList()

static eLeapRS LeapInternal.LeapC.GetDeviceList ( IntPtr  hConnection,
[In, Out] LEAP_DEVICE_REF[]  pArray,
out UInt32  pnArray 
)

◆ GetFrameSize()

static eLeapRS LeapInternal.LeapC.GetFrameSize ( IntPtr  hConnection,
Int64  timestamp,
out UInt64  pncbEvent 
)

◆ GetNow()

static long LeapInternal.LeapC.GetNow ( )

◆ GetPointMapping()

static eLeapRS LeapInternal.LeapC.GetPointMapping ( IntPtr  hConnection,
IntPtr  pointMapping,
ref ulong  pSize 
)

◆ GetPointMappingSize()

static eLeapRS LeapInternal.LeapC.GetPointMappingSize ( IntPtr  hConnection,
ref ulong  pSize 
)

◆ InterpolateFrame()

static eLeapRS LeapInternal.LeapC.InterpolateFrame ( IntPtr  hConnection,
Int64  timestamp,
IntPtr  pEvent,
UInt64  ncbEvent 
)

◆ InterpolateFrameFromTime()

static eLeapRS LeapInternal.LeapC.InterpolateFrameFromTime ( IntPtr  hConnection,
Int64  timestamp,
Int64  sourceTimestamp,
IntPtr  pEvent,
UInt64  ncbEvent 
)

◆ InterpolateHeadPose()

static eLeapRS LeapInternal.LeapC.InterpolateHeadPose ( IntPtr  hConnection,
Int64  timestamp,
ref LEAP_HEAD_POSE_EVENT  headPose 
)

◆ LeapPixelToRectilinear()

static LEAP_VECTOR LeapInternal.LeapC.LeapPixelToRectilinear ( IntPtr  hConnection,
eLeapPerspectiveType  camera,
LEAP_VECTOR  pixel 
)

◆ LeapRecordingGetStatus()

static eLeapRS LeapInternal.LeapC.LeapRecordingGetStatus ( IntPtr  pRecording,
ref LEAP_RECORDING_STATUS  status 
)

◆ LeapRectilinearToPixel()

static LEAP_VECTOR LeapInternal.LeapC.LeapRectilinearToPixel ( IntPtr  hConnection,
eLeapPerspectiveType  camera,
LEAP_VECTOR  rectilinear 
)

◆ LeapSetPause()

static eLeapRS LeapInternal.LeapC.LeapSetPause ( IntPtr  hConnection,
bool  pause 
)

◆ LeapTelemetryProfiling()

static eLeapRS LeapInternal.LeapC.LeapTelemetryProfiling ( IntPtr  hConnection,
ref LEAP_TELEMETRY_DATA  telemetryData 
)

◆ OpenConnection()

static eLeapRS LeapInternal.LeapC.OpenConnection ( IntPtr  hConnection)

◆ OpenDevice()

static eLeapRS LeapInternal.LeapC.OpenDevice ( LEAP_DEVICE_REF  rDevice,
out IntPtr  pDevice 
)

◆ PollConnection()

static eLeapRS LeapInternal.LeapC.PollConnection ( IntPtr  hConnection,
UInt32  timeout,
ref LEAP_CONNECTION_MESSAGE  msg 
)

◆ RebaseClock()

static eLeapRS LeapInternal.LeapC.RebaseClock ( IntPtr  hClockRebaser,
Int64  userClock,
out Int64  leapClock 
)

◆ RecordingClose()

static eLeapRS LeapInternal.LeapC.RecordingClose ( ref IntPtr  ppRecording)

◆ RecordingOpen()

static eLeapRS LeapInternal.LeapC.RecordingOpen ( ref IntPtr  ppRecording,
string  userPath,
LEAP_RECORDING_PARAMETERS  parameters 
)

◆ RecordingRead()

static eLeapRS LeapInternal.LeapC.RecordingRead ( IntPtr  pRecording,
ref LEAP_TRACKING_EVENT  pEvent,
UInt64  ncbEvent 
)

◆ RecordingReadSize()

static eLeapRS LeapInternal.LeapC.RecordingReadSize ( IntPtr  pRecording,
ref UInt64  pncbEvent 
)

◆ RecordingWrite()

static eLeapRS LeapInternal.LeapC.RecordingWrite ( IntPtr  pRecording,
ref LEAP_TRACKING_EVENT  pEvent,
ref UInt64  pnBytesWritten 
)

◆ RequestConfigValue()

static eLeapRS LeapInternal.LeapC.RequestConfigValue ( IntPtr  hConnection,
string  name,
out UInt32  request_id 
)

◆ SaveConfigValue() [1/4]

static eLeapRS LeapInternal.LeapC.SaveConfigValue ( IntPtr  hConnection,
string  key,
bool  value,
out UInt32  requestId 
)
static

Definition at line 886 of file LeapC.cs.

◆ SaveConfigValue() [2/4]

static eLeapRS LeapInternal.LeapC.SaveConfigValue ( IntPtr  hConnection,
string  key,
float  value,
out UInt32  requestId 
)
static

Definition at line 898 of file LeapC.cs.

◆ SaveConfigValue() [3/4]

static eLeapRS LeapInternal.LeapC.SaveConfigValue ( IntPtr  hConnection,
string  key,
Int32  value,
out UInt32  requestId 
)
static

Definition at line 892 of file LeapC.cs.

◆ SaveConfigValue() [4/4]

static eLeapRS LeapInternal.LeapC.SaveConfigValue ( IntPtr  hConnection,
string  key,
string  value,
out UInt32  requestId 
)
static

Definition at line 904 of file LeapC.cs.

◆ SetAllocator()

static eLeapRS LeapInternal.LeapC.SetAllocator ( IntPtr  hConnection,
ref LEAP_ALLOCATOR  pAllocator 
)

◆ SetPolicyFlags()

static eLeapRS LeapInternal.LeapC.SetPolicyFlags ( IntPtr  hConnection,
UInt64  set,
UInt64  clear 
)

◆ TelemetryGetNow()

static UInt64 LeapInternal.LeapC.TelemetryGetNow ( )

◆ UpdateRebase()

static eLeapRS LeapInternal.LeapC.UpdateRebase ( IntPtr  hClockRebaser,
Int64  userClock,
Int64  leapClock 
)

Member Data Documentation

◆ DistortionSize

int LeapInternal.LeapC.DistortionSize = 64
static

Definition at line 792 of file LeapC.cs.


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