예제 #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
 public static extern XnStatus xnAddGesture(XnNodeHandle hInstance, string strGesture, ref BoundingBox3D pArea);
예제 #3
0
 public static extern XnStatus xnSetUserPosition(XnNodeHandle hInstance, XnUInt32 nIndex, ref BoundingBox3D pPosition);
예제 #4
0
 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);
 }