Beispiel #1
0
        public static SWIGTYPE_p_cv__Matx33d AxisAngle2RotationMatrix(SWIGTYPE_p_cv__Vec3d axis_angle)
        {
            SWIGTYPE_p_cv__Matx33d ret = new SWIGTYPE_p_cv__Matx33d(LandmarkDetectorPINVOKE.AxisAngle2RotationMatrix(SWIGTYPE_p_cv__Vec3d.getCPtr(axis_angle)), true);

            if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
            {
                throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #2
0
        public static SWIGTYPE_p_cv__Vec3d RotationMatrix2AxisAngle(SWIGTYPE_p_cv__Matx33d rotation_matrix)
        {
            SWIGTYPE_p_cv__Vec3d ret = new SWIGTYPE_p_cv__Vec3d(LandmarkDetectorPINVOKE.RotationMatrix2AxisAngle(SWIGTYPE_p_cv__Matx33d.getCPtr(rotation_matrix)), true);

            if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
            {
                throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #3
0
        public static SWIGTYPE_p_cv__Matx33d Euler2RotationMatrix(SWIGTYPE_p_cv__Vec3d eulerAngles)
        {
            SWIGTYPE_p_cv__Matx33d ret = new SWIGTYPE_p_cv__Matx33d(LandmarkDetectorPINVOKE.Euler2RotationMatrix(SWIGTYPE_p_cv__Vec3d.getCPtr(eulerAngles)), true);

            if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
            {
                throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public static System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_cv__Matx33d obj)
 {
     return(new System.Runtime.InteropServices.HandleRef(obj, obj.swigCPtr));
 }