コード例 #1
0
 public MapIntInt(MapIntInt other) : this(solar_datastructurePINVOKE.new_MapIntInt__SWIG_1(MapIntInt.getCPtr(other)), true)
 {
     if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
     {
         throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public MapIntIntEnumerator(MapIntInt collection)
 {
     collectionRef = collection;
     keyCollection = new global::System.Collections.Generic.List <uint>(collection.Keys);
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
コード例 #3
0
 public void addVisibleMapPoints(MapIntInt mapPoints)
 {
     solar_datastructurePINVOKE.Frame_addVisibleMapPoints(swigCPtr, MapIntInt.getCPtr(mapPoints));
     if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
     {
         throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
        public MapIntInt getVisibility()
        {
            MapIntInt ret = new MapIntInt(solar_datastructurePINVOKE.CloudPoint_getVisibility(swigCPtr), false);

            if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #5
0
        public MapIntInt getVisibleKeypoints()
        {
            MapIntInt ret = new MapIntInt(solar_datastructurePINVOKE.Frame_getVisibleKeypoints(swigCPtr), false);

            if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #6
0
ファイル: Keyframe.cs プロジェクト: Staskkk/VRPhone
        public MapIntInt getNeighborKeyframes()
        {
            MapIntInt ret = new MapIntInt(solar_datastructurePINVOKE.Keyframe_getNeighborKeyframes(swigCPtr), false);

            if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #7
0
 public CloudPoint(float x, float y, float z, float r, float g, float b, double reproj_error, MapIntInt visibility, SWIGTYPE_p_boost__shared_ptrT_DescriptorBuffer_t descriptor) : this(solar_datastructurePINVOKE.new_CloudPoint__SWIG_2(x, y, z, r, g, b, reproj_error, MapIntInt.getCPtr(visibility), SWIGTYPE_p_boost__shared_ptrT_DescriptorBuffer_t.getCPtr(descriptor)), true)
 {
     if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
     {
         throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #8
0
 public CloudPoint(float x, float y, float z, float r, float g, float b, double reproj_error, MapIntInt visibility) : this(solar_datastructurePINVOKE.new_CloudPoint__SWIG_1(x, y, z, r, g, b, reproj_error, MapIntInt.getCPtr(visibility)), true)
 {
     if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
     {
         throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #9
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MapIntInt obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }