Exemplo n.º 1
0
 public virtual void setIntrinsicParameters(Matrix3x3f intrinsic_parameters)
 {
     solar_api_geomPINVOKE.IUndistortPoints_setIntrinsicParameters(swigCPtr, Matrix3x3f.getCPtr(intrinsic_parameters));
     if (solar_api_geomPINVOKE.SWIGPendingException.Pending)
     {
         throw solar_api_geomPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public virtual void setCameraParameters(Matrix3x3f intrinsicParams, Vector5f distorsionParams)
 {
     solar_api_geomPINVOKE.IUnproject_setCameraParameters(swigCPtr, Matrix3x3f.getCPtr(intrinsicParams), Vector5f.getCPtr(distorsionParams));
     if (solar_api_geomPINVOKE.SWIGPendingException.Pending)
     {
         throw solar_api_geomPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public virtual void setCameraParameters(Matrix3x3f intrinsic_parameters, Vector5f distorsion_parameters)
 {
     solar_api_displayPINVOKE.I3DOverlay_setCameraParameters(swigCPtr, Matrix3x3f.getCPtr(intrinsic_parameters), Vector5f.getCPtr(distorsion_parameters));
     if (solar_api_displayPINVOKE.SWIGPendingException.Pending)
     {
         throw solar_api_displayPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
 public virtual void setIntrinsicParameters(Matrix3x3f intrinsic_parameters)
 {
     solar_api_input_devicesPINVOKE.ICamera_setIntrinsicParameters(swigCPtr, Matrix3x3f.getCPtr(intrinsic_parameters));
     if (solar_api_input_devicesPINVOKE.SWIGPendingException.Pending)
     {
         throw solar_api_input_devicesPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 5
0
 public virtual void filter(DescriptorMatchVector inputMatches, DescriptorMatchVector outputMatches, KeypointArray inputKeyPoints1, KeypointArray inputKeyPoints2, Transform3Df pose1, Transform3Df pose2, Matrix3x3f intrinsicParams)
 {
     solar_api_featuresPINVOKE.IMatchesFilter_filter__SWIG_1(swigCPtr, DescriptorMatchVector.getCPtr(inputMatches), DescriptorMatchVector.getCPtr(outputMatches), KeypointArray.getCPtr(inputKeyPoints1), KeypointArray.getCPtr(inputKeyPoints2), Transform3Df.getCPtr(pose1), Transform3Df.getCPtr(pose2), Matrix3x3f.getCPtr(intrinsicParams));
     if (solar_api_featuresPINVOKE.SWIGPendingException.Pending)
     {
         throw solar_api_featuresPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 6
0
 public virtual void setCameraParameters(Matrix3x3f intrinsicParams, Vector5f distorsionParams)
 {
     solar_api_solver_posePINVOKE.I2Dto3DTransformDecomposer_setCameraParameters(swigCPtr, Matrix3x3f.getCPtr(intrinsicParams), Vector5f.getCPtr(distorsionParams));
     if (solar_api_solver_posePINVOKE.SWIGPendingException.Pending)
     {
         throw solar_api_solver_posePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 7
0
        public virtual double solve(KeyframeList framesToAdjust, CloudPointVector mapToAdjust, Matrix3x3f K, Vector5f D, IntVector selectKeyframes, Transform3DfList poseAdjusted, CloudPointVector mapAdjusted, Matrix3x3f KAdjusted, Vector5f DAdjusted)
        {
            double ret = solar_api_solver_mapPINVOKE.IBundler_solve(swigCPtr, KeyframeList.getCPtr(framesToAdjust), CloudPointVector.getCPtr(mapToAdjust), Matrix3x3f.getCPtr(K), Vector5f.getCPtr(D), IntVector.getCPtr(selectKeyframes), Transform3DfList.getCPtr(poseAdjusted), CloudPointVector.getCPtr(mapAdjusted), Matrix3x3f.getCPtr(KAdjusted), Vector5f.getCPtr(DAdjusted));

            if (solar_api_solver_mapPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_solver_mapPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }