public void SetData(Int32 frameID, Int64 timestamp, Int32 dataSize, IntPtr buffer) { int status = SafeNativeMethods.xnMockIRSetData(this.InternalObject, (UInt32)frameID, (UInt64)timestamp, (UInt32)dataSize, buffer); WrapperUtils.ThrowOnError(status); }
public void LoadScriptFromFile(string fileName) { int status = SafeNativeMethods.xnLoadScriptFromFile(this.InternalObject, fileName); WrapperUtils.ThrowOnError(status); }
public void Run() { int status = SafeNativeMethods.xnScriptNodeRun(this.InternalObject); WrapperUtils.ThrowOnError(status); }
public void SetStringProperty(string propName, string value) { int status = SafeNativeMethods.xnSetStringProperty(this.InternalObject, propName, value); WrapperUtils.ThrowOnError(status); }
public void StartTracking(Point3D position) { int status = SafeNativeMethods.xnStartTracking(this.InternalObject, ref position); WrapperUtils.ThrowOnError(status); }
public void StartGenerating() { int status = SafeNativeMethods.xnStartGenerating(this.InternalObject); WrapperUtils.ThrowOnError(status); }
public void LockedNodeEndChanges(LockHandle lockHandle) { int status = SafeNativeMethods.xnLockedNodeEndChanges(this.InternalObject, lockHandle.InternalHandle); WrapperUtils.ThrowOnError(status); }
public void SetPosition(int index, BoundingBox3D pos) { int status = SafeNativeMethods.xnSetUserPosition(this.InternalObject, (uint)index, ref pos); WrapperUtils.ThrowOnError(status); }
public void SetJointActive(SkeletonJoint joint, bool state) { int status = SafeNativeMethods.xnSetJointActive(this.InternalObject, joint, state); WrapperUtils.ThrowOnError(status); }
public void RemoveGesture(string gesture) { int status = SafeNativeMethods.xnRemoveGesture(InternalObject, gesture); WrapperUtils.ThrowOnError(status); }
public StatusException(Int32 status) : base(WrapperUtils.GetErrorMessage(status)) { this.status = status; }
public void AddGesture(string gesture) { int status = SafeNativeMethods.xnAddGesture(InternalObject, gesture, IntPtr.Zero); WrapperUtils.ThrowOnError(status); }
public void AddGesture(string gesture, BoundingBox3D area) { int status = SafeNativeMethods.xnAddGesture(InternalObject, gesture, ref area); WrapperUtils.ThrowOnError(status); }
public void StopPoseDetection(UserID user) { int status = SafeNativeMethods.xnStopPoseDetection(this.InternalObject, user); WrapperUtils.ThrowOnError(status); }
public void SetSkeletonProfile(SkeletonProfile profile) { int status = SafeNativeMethods.xnSetSkeletonProfile(this.InternalObject, profile); WrapperUtils.ThrowOnError(status); }
public void RequestCalibration(UserID user, bool force) { int status = SafeNativeMethods.xnRequestSkeletonCalibration(this.InternalObject, user, force); WrapperUtils.ThrowOnError(status); }
public void WaitAndUpdateData() { int status = SafeNativeMethods.xnWaitAndUpdateData(this.InternalObject); WrapperUtils.ThrowOnError(status); }
public void AbortCalibration(UserID user) { int status = SafeNativeMethods.xnAbortSkeletonCalibration(this.InternalObject, user); WrapperUtils.ThrowOnError(status); }
public void StopFrameSyncWith(Generator other) { int status = SafeNativeMethods.xnStopFrameSyncWith(this.InternalObject, other.InternalObject); WrapperUtils.ThrowOnError(status); }
public void LoadCalibrationDataFromFile(UserID user, string fileName) { int status = SafeNativeMethods.xnLoadSkeletonCalibrationDataFromFile(this.InternalObject, user, fileName); WrapperUtils.ThrowOnError(status); }
public void RemoveNeededNode(ProductionNode needed) { int status = SafeNativeMethods.xnRemoveNeededNode(this.InternalObject, needed.InternalObject); WrapperUtils.ThrowOnError(status); }
public void LoadCalibrationData(UserID user, Int32 slot) { int status = SafeNativeMethods.xnLoadSkeletonCalibrationData(this.InternalObject, user, (UInt32)slot); WrapperUtils.ThrowOnError(status); }
public void SetGeneralProperty(string propName, int size, IntPtr buff) { int status = SafeNativeMethods.xnSetGeneralProperty(this.InternalObject, propName, (UInt32)size, buff); WrapperUtils.ThrowOnError(status); }
public void ClearCalibrationData(Int32 slot) { int status = SafeNativeMethods.xnClearSkeletonCalibrationData(this.InternalObject, (UInt32)slot); WrapperUtils.ThrowOnError(status); }
public void SetSmoothing(float factor) { int status = SafeNativeMethods.xnSetTrackingSmoothing(this.InternalObject, factor); WrapperUtils.ThrowOnError(status); }
public void StopTracking(UserID user) { int status = SafeNativeMethods.xnStopSkeletonTracking(this.InternalObject, user); WrapperUtils.ThrowOnError(status); }
public void LoadScriptFromString(string script) { int status = SafeNativeMethods.xnLoadScriptFromString(this.InternalObject, script); WrapperUtils.ThrowOnError(status); }
public void Reset(UserID user) { int status = SafeNativeMethods.xnResetSkeleton(this.InternalObject, user); WrapperUtils.ThrowOnError(status); }
public void StopTrackingAll() { int status = SafeNativeMethods.xnStopTrackingAll(this.InternalObject); WrapperUtils.ThrowOnError(status); }
public void SetMirror(bool mirror) { int status = SafeNativeMethods.xnSetMirror(this.InternalObject, mirror); WrapperUtils.ThrowOnError(status); }