public KeypointArrayEnumerator(KeypointArray collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public KeypointArray(KeypointArray other) : this(solar_datastructurePINVOKE.new_KeypointArray__SWIG_1(KeypointArray.getCPtr(other)), true) { if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } }
public Frame(KeypointArray keypoints, DescriptorBuffer descriptors, Image view) : this(solar_datastructurePINVOKE.new_Frame__SWIG_5(KeypointArray.getCPtr(keypoints), DescriptorBuffer.getCPtr(descriptors), Image.getCPtr(view)), true) { if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } }
public Frame(KeypointArray keypoints, DescriptorBuffer descriptors, Image view, Keyframe refKeyframe, Transform3Df pose) : this(solar_datastructurePINVOKE.new_Frame__SWIG_2(KeypointArray.getCPtr(keypoints), DescriptorBuffer.getCPtr(descriptors), Image.getCPtr(view), Keyframe.getCPtr(refKeyframe), Transform3Df.getCPtr(pose)), true) { if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } }
public void SetRange(int index, KeypointArray values) { solar_datastructurePINVOKE.KeypointArray_SetRange(swigCPtr, index, KeypointArray.getCPtr(values)); if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } }
public void setKeypoints(KeypointArray kpts) { solar_datastructurePINVOKE.Frame_setKeypoints(swigCPtr, KeypointArray.getCPtr(kpts)); if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } }
public KeypointArray getKeypoints() { KeypointArray ret = new KeypointArray(solar_datastructurePINVOKE.Frame_getKeypoints(swigCPtr), false); if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static KeypointArray Repeat(Keypoint value, int count) { global::System.IntPtr cPtr = solar_datastructurePINVOKE.KeypointArray_Repeat(Keypoint.getCPtr(value), count); KeypointArray ret = (cPtr == global::System.IntPtr.Zero) ? null : new KeypointArray(cPtr, true); if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public KeypointArray GetRange(int index, int count) { global::System.IntPtr cPtr = solar_datastructurePINVOKE.KeypointArray_GetRange(swigCPtr, index, count); KeypointArray ret = (cPtr == global::System.IntPtr.Zero) ? null : new KeypointArray(cPtr, true); if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(KeypointArray obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }