Esempio n. 1
0
        public virtual FrameworkReturnCode undistort(Point2DfArray inputPoints, Point2DfArray outputPoints)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_geomPINVOKE.IUndistortPoints_undistort(swigCPtr, Point2DfArray.getCPtr(inputPoints), Point2DfArray.getCPtr(outputPoints));

            if (solar_api_geomPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_geomPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 2
0
        public virtual FrameworkReturnCode getMagnetometerData(Vector3f magData)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_input_devicesPINVOKE.IIMU_getMagnetometerData(swigCPtr, Vector3f.getCPtr(magData));

            if (solar_api_input_devicesPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_input_devicesPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 3
0
        public virtual FrameworkReturnCode display(CloudPointVector points, Transform3Df pose)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_displayPINVOKE.I3DPointsViewer_display__SWIG_4(swigCPtr, CloudPointVector.getCPtr(points), Transform3Df.getCPtr(pose));

            if (solar_api_displayPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_displayPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 4
0
        public virtual FrameworkReturnCode init(IComponentManager componentManager)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_pipelinePINVOKE.IPipeline_init(swigCPtr, IComponentManager.getCPtr(componentManager));

            if (solar_api_pipelinePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_pipelinePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 5
0
        public virtual FrameworkReturnCode stop()
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_pipelinePINVOKE.IPipeline_stop(swigCPtr);

            if (solar_api_pipelinePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_pipelinePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 6
0
        public virtual FrameworkReturnCode correct(Image inputImg, Point2DfArray contour, Image patch)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_imagePINVOKE.IPerspectiveController_correct__SWIG_1(swigCPtr, Image.getCPtr(inputImg), Point2DfArray.getCPtr(contour), Image.getCPtr(patch));

            if (solar_api_imagePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_imagePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 7
0
        public virtual FrameworkReturnCode transform(Point2DfArray inputPoints, Transform2Df transformation, Point2DfArray outputPoints)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_geomPINVOKE.I2DTransform_transform(swigCPtr, Point2DfArray.getCPtr(inputPoints), Transform2Df.getCPtr(transformation), Point2DfArray.getCPtr(outputPoints));

            if (solar_api_geomPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_geomPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 8
0
        public virtual FrameworkReturnCode process(Transform3Df outputData)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_fusionPINVOKE.IVisualInertialFusion_process(swigCPtr, Transform3Df.getCPtr(outputData));

            if (solar_api_fusionPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_fusionPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 9
0
        public virtual FrameworkReturnCode map(Point2DfArray digitalPoints, Point3DfArray worldPoints)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_geomPINVOKE.IImage2WorldMapper_map(swigCPtr, Point2DfArray.getCPtr(digitalPoints), Point3DfArray.getCPtr(worldPoints));

            if (solar_api_geomPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_geomPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 10
0
        public virtual FrameworkReturnCode update(Map map, Keyframe newKeyframe, CloudPointVector newCloud, SWIGTYPE_p_std__vectorT_std__tupleT_unsigned_int_int_unsigned_int_t_t newPointMatches)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_solver_mapPINVOKE.IMapper_update__SWIG_1(swigCPtr, Map.getCPtr(map), Keyframe.getCPtr(newKeyframe), CloudPointVector.getCPtr(newCloud), SWIGTYPE_p_std__vectorT_std__tupleT_unsigned_int_int_unsigned_int_t_t.getCPtr(newPointMatches));

            if (solar_api_solver_mapPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_solver_mapPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 11
0
        public virtual FrameworkReturnCode update(Transform3DfList correctedPoses, CloudPointVector correctedMap)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_solver_mapPINVOKE.IMapper_update__SWIG_2(swigCPtr, Transform3DfList.getCPtr(correctedPoses), CloudPointVector.getCPtr(correctedMap));

            if (solar_api_solver_mapPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_solver_mapPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 12
0
        public virtual FrameworkReturnCode update(Map map, Keyframe newKeyframe, CloudPointVector newCloud, DescriptorMatchVector newPointsMatches, DescriptorMatchVector existingPointsMatches)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_solver_mapPINVOKE.IMapper_update__SWIG_0(swigCPtr, Map.getCPtr(map), Keyframe.getCPtr(newKeyframe), CloudPointVector.getCPtr(newCloud), DescriptorMatchVector.getCPtr(newPointsMatches), DescriptorMatchVector.getCPtr(existingPointsMatches));

            if (solar_api_solver_mapPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_solver_mapPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 13
0
        public virtual FrameworkReturnCode getImage(Image img)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_input_filesPINVOKE.IMarker2DNaturalImage_getImage(swigCPtr, Image.getCPtr(img));

            if (solar_api_input_filesPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_input_filesPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 14
0
        public virtual FrameworkReturnCode filter(Image input, Image output)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_imagePINVOKE.IImageFilter_filter(swigCPtr, Image.getCPtr(input), Image.getCPtr(output));

            if (solar_api_imagePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_imagePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 15
0
        public virtual FrameworkReturnCode reindex(KeypointArray keypoints1, KeypointArray keypoints2, DescriptorMatchVector matches, Point2DfArray matchedKeypoints1, Point2DfArray matchedKeypoints2)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_featuresPINVOKE.IKeypointsReIndexer_reindex(swigCPtr, KeypointArray.getCPtr(keypoints1), KeypointArray.getCPtr(keypoints2), DescriptorMatchVector.getCPtr(matches), Point2DfArray.getCPtr(matchedKeypoints1), Point2DfArray.getCPtr(matchedKeypoints2));

            if (solar_api_featuresPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_featuresPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 16
0
        public virtual FrameworkReturnCode find(Frame lastFrame, Frame currentFrame, DescriptorMatchVector current_matches, Map worldMap, Point3DfArray shared_3dpoint, Point2DfArray shared_2dpoint, DescriptorMatchVector found_matches, DescriptorMatchVector remaining_matches)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_solver_posePINVOKE.I2D3DCorrespondencesFinder_find__SWIG_1(swigCPtr, Frame.getCPtr(lastFrame), Frame.getCPtr(currentFrame), DescriptorMatchVector.getCPtr(current_matches), Map.getCPtr(worldMap), Point3DfArray.getCPtr(shared_3dpoint), Point2DfArray.getCPtr(shared_2dpoint), DescriptorMatchVector.getCPtr(found_matches), DescriptorMatchVector.getCPtr(remaining_matches));

            if (solar_api_solver_posePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_solver_posePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 17
0
        public FrameworkReturnCode setPatternMatrix(SquaredBinaryPatternMatrix pattern)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_datastructurePINVOKE.SquaredBinaryPattern_setPatternMatrix(swigCPtr, SquaredBinaryPatternMatrix.getCPtr(pattern));

            if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 18
0
        public virtual FrameworkReturnCode filter(Contour2DfArray inContours, Contour2DfArray outContours)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_featuresPINVOKE.IContoursFilter_filter(swigCPtr, Contour2DfArray.getCPtr(inContours), Contour2DfArray.getCPtr(outContours));

            if (solar_api_featuresPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_featuresPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 19
0
        public virtual FrameworkReturnCode estimate(Image previousImage, Image currentImage, Point2DfArray pointsToTrack, Point2DfArray trackedPoints, UCharList status, FloatList error)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_trackingPINVOKE.IOpticalFlowEstimator_estimate__SWIG_1(swigCPtr, Image.getCPtr(previousImage), Image.getCPtr(currentImage), Point2DfArray.getCPtr(pointsToTrack), Point2DfArray.getCPtr(trackedPoints), UCharList.getCPtr(status), FloatList.getCPtr(error));

            if (solar_api_trackingPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_trackingPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 20
0
        public virtual FrameworkReturnCode addKeyframe(Keyframe keyframe)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_relocPINVOKE.IKeyframeRetriever_addKeyframe(swigCPtr, Keyframe.getCPtr(keyframe));

            if (solar_api_relocPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_relocPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 21
0
        public virtual FrameworkReturnCode loadMarker()
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_input_filesPINVOKE.IMarker_loadMarker(swigCPtr);

            if (solar_api_input_filesPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_input_filesPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 22
0
        public virtual FrameworkReturnCode retrieve(Frame frame, KeyframeList keyframes)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_relocPINVOKE.IKeyframeRetriever_retrieve__SWIG_0(swigCPtr, Frame.getCPtr(frame), KeyframeList.getCPtr(keyframes));

            if (solar_api_relocPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_relocPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 23
0
        public virtual FrameworkReturnCode start(global::System.IntPtr textureHandle)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_pipelinePINVOKE.IPipeline_start(swigCPtr, textureHandle);

            if (solar_api_pipelinePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_pipelinePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 24
0
        public virtual FrameworkReturnCode retrieve(Frame frame, SWIGTYPE_p_std__setT_unsigned_int_t idxKfCandidates, KeyframeList keyframes)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_relocPINVOKE.IKeyframeRetriever_retrieve__SWIG_1(swigCPtr, Frame.getCPtr(frame), SWIGTYPE_p_std__setT_unsigned_int_t.getCPtr(idxKfCandidates), KeyframeList.getCPtr(keyframes));

            if (solar_api_relocPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_relocPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 25
0
        public virtual FrameworkReturnCode start()
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_input_devicesPINVOKE.IIMU_start(swigCPtr);

            if (solar_api_input_devicesPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_input_devicesPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 26
0
        public virtual FrameworkReturnCode match(Frame frame, int index, DescriptorMatchVector matches)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_relocPINVOKE.IKeyframeRetriever_match__SWIG_0(swigCPtr, Frame.getCPtr(frame), index, DescriptorMatchVector.getCPtr(matches));

            if (solar_api_relocPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_relocPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 27
0
        public virtual FrameworkReturnCode getAllSensorsData(Vector3f gyroData, Vector3f accelData, Vector3f magData)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_input_devicesPINVOKE.IIMU_getAllSensorsData(swigCPtr, Vector3f.getCPtr(gyroData), Vector3f.getCPtr(accelData), Vector3f.getCPtr(magData));

            if (solar_api_input_devicesPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_input_devicesPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 28
0
        public virtual FrameworkReturnCode match(IntVector indexDescriptors, DescriptorBuffer descriptors, int indexKeyframe, DescriptorMatchVector matches)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_relocPINVOKE.IKeyframeRetriever_match__SWIG_1(swigCPtr, IntVector.getCPtr(indexDescriptors), DescriptorBuffer.getCPtr(descriptors), indexKeyframe, DescriptorMatchVector.getCPtr(matches));

            if (solar_api_relocPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_relocPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 29
0
        public virtual FrameworkReturnCode getWorldCorners(Point3DfArray worldCorners)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_input_filesPINVOKE.IMarker2DSquared_getWorldCorners(swigCPtr, Point3DfArray.getCPtr(worldCorners));

            if (solar_api_input_filesPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_input_filesPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 30
0
        public virtual FrameworkReturnCode setImageBuffer(global::System.IntPtr imageBufferPointer)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_sinkPINVOKE.ISinkPoseImage_setImageBuffer(swigCPtr, imageBufferPointer);

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