コード例 #1
0
 public BoundingBox3D GetPosition(int index)
 {
     BoundingBox3D pos = new BoundingBox3D();
     int status = SafeNativeMethods.xnGetUserPosition(this.InternalObject, (uint)index, ref pos);
     WrapperUtils.ThrowOnError(status);
     return pos;
 }
コード例 #2
0
ファイル: OpenNIImporter.cs プロジェクト: huangxm/OpenNI
 public static extern XnStatus xnAddGesture(XnNodeHandle hInstance, string strGesture, ref BoundingBox3D pArea);
コード例 #3
0
ファイル: OpenNIImporter.cs プロジェクト: huangxm/OpenNI
 public static extern XnStatus xnSetUserPosition(XnNodeHandle hInstance, XnUInt32 nIndex, ref BoundingBox3D pPosition);
コード例 #4
0
ファイル: GestureGenerator.cs プロジェクト: huangxm/OpenNI
 public void AddGesture(string gesture, BoundingBox3D area)
 {
     int status = SafeNativeMethods.xnAddGesture(InternalObject, gesture, ref area);
     WrapperUtils.ThrowOnError(status);
 }
コード例 #5
0
 public void SetPosition(int index, BoundingBox3D pos)
 {
     int status = SafeNativeMethods.xnSetUserPosition(this.InternalObject, (uint)index, ref pos);
     WrapperUtils.ThrowOnError(status);
 }