public void OnFrameEnd(MMIStandard.MAvatarPostureValues newPosture) { #if SILVERLIGHT var asyncResult = Begin_OnFrameEnd(null, null, newPosture); End_OnFrameEnd(asyncResult); #else send_OnFrameEnd(newPosture); recv_OnFrameEnd(); #endif }
public List <MMIStandard.MGeometryConstraint> GetGraspPoses(MMIStandard.MAvatarPostureValues posture, MMIStandard.MJointType handType, MMIStandard.MSceneObject sceneObject, bool repositionHand) { #if SILVERLIGHT var asyncResult = Begin_GetGraspPoses(null, null, posture, handType, sceneObject, repositionHand); return(End_GetGraspPoses(asyncResult)); #else send_GetGraspPoses(posture, handType, sceneObject, repositionHand); return(recv_GetGraspPoses()); #endif }
public void send_RetargetToTarget(MMIStandard.MAvatarPostureValues intermediatePostureValues) { oprot_.WriteMessageBegin(new TMessage("RetargetToTarget", TMessageType.Call, seqid_)); RetargetToTarget_args args = new RetargetToTarget_args(); args.IntermediatePostureValues = intermediatePostureValues; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public MMIStandard.MAvatarPosture RetargetToTarget(MMIStandard.MAvatarPostureValues intermediatePostureValues) { #if SILVERLIGHT var asyncResult = Begin_RetargetToTarget(null, null, intermediatePostureValues); return(End_RetargetToTarget(asyncResult)); #else send_RetargetToTarget(intermediatePostureValues); return(recv_RetargetToTarget()); #endif }
public MMIStandard.MAvatarPostureValues Blend(MMIStandard.MAvatarPostureValues startPosture, MMIStandard.MAvatarPostureValues targetPosture, double weight, Dictionary <MMIStandard.MJointType, double> mask, Dictionary <string, string> properties) { #if SILVERLIGHT var asyncResult = Begin_Blend(null, null, startPosture, targetPosture, weight, mask, properties); return(End_Blend(asyncResult)); #else send_Blend(startPosture, targetPosture, weight, mask, properties); return(recv_Blend()); #endif }
public MIKServiceResult CalculateIKPosture(MMIStandard.MAvatarPostureValues postureValues, List <MMIStandard.MConstraint> constraints, Dictionary <string, string> properties) { #if SILVERLIGHT var asyncResult = Begin_CalculateIKPosture(null, null, postureValues, constraints, properties); return(End_CalculateIKPosture(asyncResult)); #else send_CalculateIKPosture(postureValues, constraints, properties); return(recv_CalculateIKPosture()); #endif }
public MMIStandard.MAvatarPostureValues ComputeIK(MMIStandard.MAvatarPostureValues postureValues, List <MIKProperty> properties) { #if SILVERLIGHT var asyncResult = Begin_ComputeIK(null, null, postureValues, properties); return(End_ComputeIK(asyncResult)); #else send_ComputeIK(postureValues, properties); return(recv_ComputeIK()); #endif }
public void send_OnFrameEnd(MMIStandard.MAvatarPostureValues newPosture) { oprot_.WriteMessageBegin(new TMessage("OnFrameEnd", TMessageType.Call, seqid_)); OnFrameEnd_args args = new OnFrameEnd_args(); args.NewPosture = newPosture; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public MMIStandard.MAvatarPostureValues Blend(MMIStandard.MAvatarPostureValues startPosture, MMIStandard.MAvatarPostureValues targetPosture, double weight) { #if SILVERLIGHT var asyncResult = Begin_Blend(null, null, startPosture, targetPosture, weight); return(End_Blend(asyncResult)); #else send_Blend(startPosture, targetPosture, weight); return(recv_Blend()); #endif }
public void send_ComputeIK(MMIStandard.MAvatarPostureValues postureValues, List <MIKProperty> properties) { oprot_.WriteMessageBegin(new TMessage("ComputeIK", TMessageType.Call, seqid_)); ComputeIK_args args = new ComputeIK_args(); args.PostureValues = postureValues; args.Properties = properties; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public IAsyncResult send_ComputeIK(AsyncCallback callback, object state, MMIStandard.MAvatarPostureValues postureValues, List <MIKProperty> properties) { oprot_.WriteMessageBegin(new TMessage("ComputeIK", TMessageType.Call, seqid_)); ComputeIK_args args = new ComputeIK_args(); args.PostureValues = postureValues; args.Properties = properties; args.Write(oprot_); oprot_.WriteMessageEnd(); return(oprot_.Transport.BeginFlush(callback, state)); }
public void send_CalculateIKPosture(MMIStandard.MAvatarPostureValues postureValues, List <MMIStandard.MConstraint> constraints, Dictionary <string, string> properties) { oprot_.WriteMessageBegin(new TMessage("CalculateIKPosture", TMessageType.Call, seqid_)); CalculateIKPosture_args args = new CalculateIKPosture_args(); args.PostureValues = postureValues; args.Constraints = constraints; args.Properties = properties; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public IAsyncResult send_Blend(AsyncCallback callback, object state, MMIStandard.MAvatarPostureValues startPosture, MMIStandard.MAvatarPostureValues targetPosture, double weight) { oprot_.WriteMessageBegin(new TMessage("Blend", TMessageType.Call, seqid_)); Blend_args args = new Blend_args(); args.StartPosture = startPosture; args.TargetPosture = targetPosture; args.Weight = weight; args.Write(oprot_); oprot_.WriteMessageEnd(); return(oprot_.Transport.BeginFlush(callback, state)); }
public void send_Blend(MMIStandard.MAvatarPostureValues startPosture, MMIStandard.MAvatarPostureValues targetPosture, double weight) { oprot_.WriteMessageBegin(new TMessage("Blend", TMessageType.Call, seqid_)); Blend_args args = new Blend_args(); args.StartPosture = startPosture; args.TargetPosture = targetPosture; args.Weight = weight; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public void send_GetGraspPoses(MMIStandard.MAvatarPostureValues posture, MMIStandard.MJointType handType, MMIStandard.MSceneObject sceneObject, bool repositionHand) { oprot_.WriteMessageBegin(new TMessage("GetGraspPoses", TMessageType.Call, seqid_)); GetGraspPoses_args args = new GetGraspPoses_args(); args.Posture = posture; args.HandType = handType; args.SceneObject = sceneObject; args.RepositionHand = repositionHand; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public void Read(TProtocol iprot) { iprot.IncrementRecursionDepth(); try { TField field; iprot.ReadStructBegin(); while (true) { field = iprot.ReadFieldBegin(); if (field.Type == TType.Stop) { break; } switch (field.ID) { case 0: if (field.Type == TType.List) { { Success = new List <MMIStandard.MAvatarPostureValues>(); TList _list132 = iprot.ReadListBegin(); for (int _i133 = 0; _i133 < _list132.Count; ++_i133) { MMIStandard.MAvatarPostureValues _elem134; _elem134 = new MMIStandard.MAvatarPostureValues(); _elem134.Read(iprot); Success.Add(_elem134); } iprot.ReadListEnd(); } } else { TProtocolUtil.Skip(iprot, field.Type); } break; default: TProtocolUtil.Skip(iprot, field.Type); break; } iprot.ReadFieldEnd(); } iprot.ReadStructEnd(); } finally { iprot.DecrementRecursionDepth(); } }
public IAsyncResult send_Blend(AsyncCallback callback, object state, MMIStandard.MAvatarPostureValues startPosture, MMIStandard.MAvatarPostureValues targetPosture, double weight, Dictionary <MMIStandard.MJointType, double> mask, Dictionary <string, string> properties) { oprot_.WriteMessageBegin(new TMessage("Blend", TMessageType.Call, seqid_)); Blend_args args = new Blend_args(); args.StartPosture = startPosture; args.TargetPosture = targetPosture; args.Weight = weight; args.Mask = mask; args.Properties = properties; args.Write(oprot_); oprot_.WriteMessageEnd(); return(oprot_.Transport.BeginFlush(callback, state)); }
public void send_Blend(MMIStandard.MAvatarPostureValues startPosture, MMIStandard.MAvatarPostureValues targetPosture, double weight, Dictionary <MMIStandard.MJointType, double> mask, Dictionary <string, string> properties) { oprot_.WriteMessageBegin(new TMessage("Blend", TMessageType.Call, seqid_)); Blend_args args = new Blend_args(); args.StartPosture = startPosture; args.TargetPosture = targetPosture; args.Weight = weight; args.Mask = mask; args.Properties = properties; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public void Read(TProtocol iprot) { iprot.IncrementRecursionDepth(); try { TField field; iprot.ReadStructBegin(); while (true) { field = iprot.ReadFieldBegin(); if (field.Type == TType.Stop) { break; } switch (field.ID) { case 0: if (field.Type == TType.Struct) { Success = new MMIStandard.MAvatarPostureValues(); Success.Read(iprot); } else { TProtocolUtil.Skip(iprot, field.Type); } break; default: TProtocolUtil.Skip(iprot, field.Type); break; } iprot.ReadFieldEnd(); } iprot.ReadStructEnd(); } finally { iprot.DecrementRecursionDepth(); } }
public IAsyncResult Begin_ComputeIK(AsyncCallback callback, object state, MMIStandard.MAvatarPostureValues postureValues, List <MIKProperty> properties) { return(send_ComputeIK(callback, state, postureValues, properties)); }
public void Read(TProtocol iprot) { iprot.IncrementRecursionDepth(); try { TField field; iprot.ReadStructBegin(); while (true) { field = iprot.ReadFieldBegin(); if (field.Type == TType.Stop) { break; } switch (field.ID) { case 1: if (field.Type == TType.Struct) { PostureValues = new MMIStandard.MAvatarPostureValues(); PostureValues.Read(iprot); } else { TProtocolUtil.Skip(iprot, field.Type); } break; case 2: if (field.Type == TType.List) { { Properties = new List <MIKProperty>(); TList _list90 = iprot.ReadListBegin(); for (int _i91 = 0; _i91 < _list90.Count; ++_i91) { MIKProperty _elem92; _elem92 = new MIKProperty(); _elem92.Read(iprot); Properties.Add(_elem92); } iprot.ReadListEnd(); } } else { TProtocolUtil.Skip(iprot, field.Type); } break; default: TProtocolUtil.Skip(iprot, field.Type); break; } iprot.ReadFieldEnd(); } iprot.ReadStructEnd(); } finally { iprot.DecrementRecursionDepth(); } }
public IAsyncResult send_CalculateIKPosture(AsyncCallback callback, object state, MMIStandard.MAvatarPostureValues postureValues, List <MMIStandard.MConstraint> constraints, Dictionary <string, string> properties) { oprot_.WriteMessageBegin(new TMessage("CalculateIKPosture", TMessageType.Call, seqid_)); CalculateIKPosture_args args = new CalculateIKPosture_args(); args.PostureValues = postureValues; args.Constraints = constraints; args.Properties = properties; args.Write(oprot_); oprot_.WriteMessageEnd(); return(oprot_.Transport.BeginFlush(callback, state)); }
public IAsyncResult Begin_GetGraspPoses(AsyncCallback callback, object state, MMIStandard.MAvatarPostureValues posture, MMIStandard.MJointType handType, MMIStandard.MSceneObject sceneObject, bool repositionHand) { return(send_GetGraspPoses(callback, state, posture, handType, sceneObject, repositionHand)); }
public IAsyncResult send_RetargetToTarget(AsyncCallback callback, object state, MMIStandard.MAvatarPostureValues intermediatePostureValues) { oprot_.WriteMessageBegin(new TMessage("RetargetToTarget", TMessageType.Call, seqid_)); RetargetToTarget_args args = new RetargetToTarget_args(); args.IntermediatePostureValues = intermediatePostureValues; args.Write(oprot_); oprot_.WriteMessageEnd(); return(oprot_.Transport.BeginFlush(callback, state)); }
public IAsyncResult send_GetGraspPoses(AsyncCallback callback, object state, MMIStandard.MAvatarPostureValues posture, MMIStandard.MJointType handType, MMIStandard.MSceneObject sceneObject, bool repositionHand) { oprot_.WriteMessageBegin(new TMessage("GetGraspPoses", TMessageType.Call, seqid_)); GetGraspPoses_args args = new GetGraspPoses_args(); args.Posture = posture; args.HandType = handType; args.SceneObject = sceneObject; args.RepositionHand = repositionHand; args.Write(oprot_); oprot_.WriteMessageEnd(); return(oprot_.Transport.BeginFlush(callback, state)); }
public IAsyncResult send_OnFrameEnd(AsyncCallback callback, object state, MMIStandard.MAvatarPostureValues newPosture) { oprot_.WriteMessageBegin(new TMessage("OnFrameEnd", TMessageType.Call, seqid_)); OnFrameEnd_args args = new OnFrameEnd_args(); args.NewPosture = newPosture; args.Write(oprot_); oprot_.WriteMessageEnd(); return(oprot_.Transport.BeginFlush(callback, state)); }
public void Read(TProtocol iprot) { iprot.IncrementRecursionDepth(); try { TField field; iprot.ReadStructBegin(); while (true) { field = iprot.ReadFieldBegin(); if (field.Type == TType.Stop) { break; } switch (field.ID) { case 1: if (field.Type == TType.Struct) { PostureValues = new MMIStandard.MAvatarPostureValues(); PostureValues.Read(iprot); } else { TProtocolUtil.Skip(iprot, field.Type); } break; case 2: if (field.Type == TType.List) { { Constraints = new List <MMIStandard.MConstraint>(); TList _list94 = iprot.ReadListBegin(); for (int _i95 = 0; _i95 < _list94.Count; ++_i95) { MMIStandard.MConstraint _elem96; _elem96 = new MMIStandard.MConstraint(); _elem96.Read(iprot); Constraints.Add(_elem96); } iprot.ReadListEnd(); } } else { TProtocolUtil.Skip(iprot, field.Type); } break; case 3: if (field.Type == TType.Map) { { Properties = new Dictionary <string, string>(); TMap _map97 = iprot.ReadMapBegin(); for (int _i98 = 0; _i98 < _map97.Count; ++_i98) { string _key99; string _val100; _key99 = iprot.ReadString(); _val100 = iprot.ReadString(); Properties[_key99] = _val100; } iprot.ReadMapEnd(); } } else { TProtocolUtil.Skip(iprot, field.Type); } break; default: TProtocolUtil.Skip(iprot, field.Type); break; } iprot.ReadFieldEnd(); } iprot.ReadStructEnd(); } finally { iprot.DecrementRecursionDepth(); } }
public IAsyncResult Begin_CalculateIKPosture(AsyncCallback callback, object state, MMIStandard.MAvatarPostureValues postureValues, List <MMIStandard.MConstraint> constraints, Dictionary <string, string> properties) { return(send_CalculateIKPosture(callback, state, postureValues, constraints, properties)); }
public IAsyncResult Begin_RetargetToTarget(AsyncCallback callback, object state, MMIStandard.MAvatarPostureValues intermediatePostureValues) { return(send_RetargetToTarget(callback, state, intermediatePostureValues)); }
public void Read(TProtocol iprot) { iprot.IncrementRecursionDepth(); try { TField field; iprot.ReadStructBegin(); while (true) { field = iprot.ReadFieldBegin(); if (field.Type == TType.Stop) { break; } switch (field.ID) { case 1: if (field.Type == TType.Struct) { Posture = new MMIStandard.MAvatarPostureValues(); Posture.Read(iprot); } else { TProtocolUtil.Skip(iprot, field.Type); } break; case 2: if (field.Type == TType.I32) { HandType = (MMIStandard.MJointType)iprot.ReadI32(); } else { TProtocolUtil.Skip(iprot, field.Type); } break; case 3: if (field.Type == TType.Struct) { SceneObject = new MMIStandard.MSceneObject(); SceneObject.Read(iprot); } else { TProtocolUtil.Skip(iprot, field.Type); } break; case 4: if (field.Type == TType.Bool) { RepositionHand = iprot.ReadBool(); } else { TProtocolUtil.Skip(iprot, field.Type); } break; default: TProtocolUtil.Skip(iprot, field.Type); break; } iprot.ReadFieldEnd(); } iprot.ReadStructEnd(); } finally { iprot.DecrementRecursionDepth(); } }