示例#1
0
 static void n_SetHardwareRev_I(IntPtr jnienv, IntPtr native__this, int p0)
 {
     global::Com.Thalmic.Myo.Internal.Classifier.Classifier.IPoseClassifier __this = global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Classifier.Classifier.IPoseClassifier> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.SetHardwareRev(p0);
 }
示例#2
0
            static bool n_Train_Lcom_thalmic_myo_internal_classifier_Classifier_TrainingData_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
            {
                global::Com.Thalmic.Myo.Internal.Classifier.Classifier.IPoseClassifier __this = global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Classifier.Classifier.IPoseClassifier> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
                global::Com.Thalmic.Myo.Internal.Classifier.Classifier.TrainingData    p0     = global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Classifier.Classifier.TrainingData> (native_p0, JniHandleOwnership.DoNotTransfer);
                bool __ret = __this.Train(p0);

                return(__ret);
            }
示例#3
0
 static void n_PushImuData_arrayF(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Thalmic.Myo.Internal.Classifier.Classifier.IPoseClassifier __this = global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Classifier.Classifier.IPoseClassifier> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     float[] p0 = (float[])JNIEnv.GetArray(native_p0, JniHandleOwnership.DoNotTransfer, typeof(float));
     __this.PushImuData(p0);
     if (p0 != null)
     {
         JNIEnv.CopyArray(p0, native_p0);
     }
 }
示例#4
0
 static void n_Destroy(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Thalmic.Myo.Internal.Classifier.Classifier.IPoseClassifier __this = global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Classifier.Classifier.IPoseClassifier> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Destroy();
 }
示例#5
0
            static int n_Classify_arrayFS(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, short p1)
            {
                global::Com.Thalmic.Myo.Internal.Classifier.Classifier.IPoseClassifier __this = global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Classifier.Classifier.IPoseClassifier> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
                float[] p0    = (float[])JNIEnv.GetArray(native_p0, JniHandleOwnership.DoNotTransfer, typeof(float));
                int     __ret = __this.Classify(p0, p1);

                if (p0 != null)
                {
                    JNIEnv.CopyArray(p0, native_p0);
                }
                return(__ret);
            }
示例#6
0
 static int n_GetXDirection(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Thalmic.Myo.Internal.Classifier.Classifier.IPoseClassifier __this = global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Classifier.Classifier.IPoseClassifier> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.XDirection);
 }
示例#7
0
 static bool n_IsTrained(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Thalmic.Myo.Internal.Classifier.Classifier.IPoseClassifier __this = global::Java.Lang.Object.GetObject <global::Com.Thalmic.Myo.Internal.Classifier.Classifier.IPoseClassifier> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.IsTrained);
 }