Exemplo n.º 1
0
 public XsMatrix3x3(XsMatrix other) : this(xsensdeviceapiPINVOKE.new_XsMatrix3x3__SWIG_1(XsMatrix.getCPtr(other)), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public XsMatrix(XsMatrix other, SWIGTYPE_p_double arg1, uint rows, uint cols, uint stride) : this(xsensdeviceapiPINVOKE.new_XsMatrix__SWIG_9(XsMatrix.getCPtr(other), SWIGTYPE_p_double.getCPtr(arg1), rows, cols, stride), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public XsQuaternion(XsMatrix ori) : this(xsensdeviceapiPINVOKE.new_XsQuaternion__SWIG_7(XsMatrix.getCPtr(ori)), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setOrientationMatrix(XsMatrix data, XsDataIdentifier coordinateSystem)
 {
     xsensdeviceapiPINVOKE.XsDataPacket_setOrientationMatrix(swigCPtr, XsMatrix.getCPtr(data), (int)coordinateSystem);
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 5
0
 public void swap(XsMatrix b)
 {
     xsensdeviceapiPINVOKE.XsMatrix_swap(swigCPtr, XsMatrix.getCPtr(b));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 6
0
        public bool setAlignmentRotationMatrix(XsAlignmentFrame frame, XsMatrix matrix)
        {
            bool ret = xsensdeviceapiPINVOKE.XsDevice_setAlignmentRotationMatrix(swigCPtr, (int)frame, XsMatrix.getCPtr(matrix));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 7
0
        public bool setObjectAlignment(XsMatrix matrix)
        {
            bool ret = xsensdeviceapiPINVOKE.XsDevice_setObjectAlignment(swigCPtr, XsMatrix.getCPtr(matrix));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 8
0
        public XsQuaternion fromRotationMatrix(XsMatrix ori)
        {
            XsQuaternion ret = new XsQuaternion(xsensdeviceapiPINVOKE.XsQuaternion_fromRotationMatrix(swigCPtr, XsMatrix.getCPtr(ori)), false);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 9
0
        public bool compare(XsMatrix other, double tolerance)
        {
            bool ret = xsensdeviceapiPINVOKE.XsMatrix_compare(swigCPtr, XsMatrix.getCPtr(other), tolerance);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 10
0
        public XsMatrix fromQuaternion(XsQuaternion quat)
        {
            XsMatrix ret = new XsMatrix(xsensdeviceapiPINVOKE.XsMatrix_fromQuaternion(swigCPtr, XsQuaternion.getCPtr(quat)), false);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 11
0
        public XsMatrix alignmentRotationMatrix(XsAlignmentFrame frame)
        {
            XsMatrix ret = new XsMatrix(xsensdeviceapiPINVOKE.XsDevice_alignmentRotationMatrix(swigCPtr, (int)frame), true);

            return(ret);
        }
Exemplo n.º 12
0
        public XsMatrix objectAlignment()
        {
            XsMatrix ret = new XsMatrix(xsensdeviceapiPINVOKE.XsDevice_objectAlignment(swigCPtr), true);

            return(ret);
        }
        public XsMatrix orientationMatrix()
        {
            XsMatrix ret = new XsMatrix(xsensdeviceapiPINVOKE.XsDataPacket_orientationMatrix__SWIG_1(swigCPtr), true);

            return(ret);
        }
        public XsMatrix orientationMatrix(XsDataIdentifier coordinateSystem)
        {
            XsMatrix ret = new XsMatrix(xsensdeviceapiPINVOKE.XsDataPacket_orientationMatrix__SWIG_0(swigCPtr, (int)coordinateSystem), true);

            return(ret);
        }
Exemplo n.º 15
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(XsMatrix obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }