コード例 #1
0
 public virtual void writePoints(PointData points, uint numPoints, ProgressDelegate arg2)
 {
     LidarDSDKPINVOKE.SimplePointWriter_writePoints(swigCPtr, PointData.getCPtr(points), numPoints, ProgressDelegate.getCPtr(arg2));
     if (LidarDSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw LidarDSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: PointSource.cs プロジェクト: caller/OMC
        public uint read(Bounds bounds, PointData points, ProgressDelegate arg2)
        {
            uint ret = LidarDSDKPINVOKE.PointSource_read(swigCPtr, Bounds.getCPtr(bounds), PointData.getCPtr(points), ProgressDelegate.getCPtr(arg2));

            if (LidarDSDKPINVOKE.SWIGPendingException.Pending)
            {
                throw LidarDSDKPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #3
0
 public static HandleRef getCPtr(ProgressDelegate obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #4
0
ファイル: PointSource.cs プロジェクト: caller/OMC
        public virtual PointIterator createIterator(Bounds bounds, double fraction, PointInfo pointInfo, ProgressDelegate arg3)
        {
            IntPtr cPtr = LidarDSDKPINVOKE.PointSource_createIterator(swigCPtr, Bounds.getCPtr(bounds), fraction, PointInfo.getCPtr(pointInfo), ProgressDelegate.getCPtr(arg3));

            if (LidarDSDKPINVOKE.SWIGPendingException.Pending)
            {
                throw LidarDSDKPINVOKE.SWIGPendingException.Retrieve();
            }
            PointIterator ret = null;

            if (cPtr != IntPtr.Zero)
            {
                ret = new PointIterator(cPtr, true);
                ret.setProgressDelegateRef(arg3);
            }
            return(ret);
        }
コード例 #5
0
        public virtual long write(Bounds bounds, double fraction, PointInfo pointInfo, ProgressDelegate arg3)
        {
            long ret = LidarDSDKPINVOKE.PointWriter_write(swigCPtr, Bounds.getCPtr(bounds), fraction, PointInfo.getCPtr(pointInfo), ProgressDelegate.getCPtr(arg3));

            if (LidarDSDKPINVOKE.SWIGPendingException.Pending)
            {
                throw LidarDSDKPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #6
0
 internal void setProgressDelegateRef(ProgressDelegate obj)
 {
     refToProgressDelegate = obj;
 }