123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451 |
- using System.Diagnostics.Contracts;
- using System.Runtime.InteropServices;
- using OpenCvSharp.Detail;
- #pragma warning disable 1591
- #pragma warning disable CA1401 // P/Invokes should not be visible
- #pragma warning disable CA1707 // Underscore
- #pragma warning disable IDE1006 // Naming style
- namespace OpenCvSharp.Internal;
- static partial class NativeMethods
- {
- #region uchar
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_uchar_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_uchar_new2(nuint size);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_uchar_new3([In] byte[] data, nuint dataLength);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_uchar_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_uchar_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_uchar_copy(IntPtr vector, IntPtr dst);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_uchar_delete(IntPtr vector);
- #endregion
- #region int
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_int32_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_int32_new2(nuint size);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_int32_new3([In] int[] data, nuint dataLength);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_int32_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_int32_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_int32_delete(IntPtr vector);
- #endregion
- #region float
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_float_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_float_new2(nuint size);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_float_new3([In] float[] data, nuint dataLength);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_float_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_float_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_float_delete(IntPtr vector);
- #endregion
- #region double
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_double_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_double_new2(nuint size);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_double_new3([In] double[] data, nuint dataLength);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_double_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_double_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_double_delete(IntPtr vector);
- #endregion
- #region cv::Vec2f
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Vec2f_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_Vec2f_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Vec2f_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_Vec2f_delete(IntPtr vector);
- #endregion
- #region cv::Vec3f
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Vec3f_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_Vec3f_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Vec3f_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_Vec3f_delete(IntPtr vector);
- #endregion
- #region cv::Vec4f
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Vec4f_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Vec4f_new3([In] Vec4f[] data, nuint dataLength);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_Vec4f_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Vec4f_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_Vec4f_delete(IntPtr vector);
- #endregion
- #region cv::Vec4i
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Vec4i_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Vec4i_new3([In] Vec4i[] data, nuint dataLength);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_Vec4i_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Vec4i_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_Vec4i_delete(IntPtr vector);
- #endregion
- #region cv::Vec6f
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Vec6f_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_Vec6f_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Vec6f_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_Vec6f_delete(IntPtr vector);
- #endregion
- #region cv::Point2i
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Point2i_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Point2i_new2(nuint size);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Point2i_new3([In] Point[] data, nuint dataLength);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_Point2i_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Point2i_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_Point2i_delete(IntPtr vector);
- #endregion
- #region cv::Point2f
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Point2f_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Point2f_new2(nuint size);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Point2f_new3([In] Point2f[] data, nuint dataLength);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_Point2f_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Point2f_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_Point2f_delete(IntPtr vector);
- #endregion
- #region cv::Point2d
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Point2d_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_Point2d_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Point2d_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_Point2d_delete(IntPtr vector);
- #endregion
- #region cv::Point3f
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Point3f_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Point3f_new2(nuint size);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Point3f_new3([In] Point3f[] data, nuint dataLength);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_Point3f_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Point3f_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_Point3f_delete(IntPtr vector);
- #endregion
- #region cv::Rect
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Rect_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Rect_new2(nuint size);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Rect_new3([In] Rect[] data, nuint dataLength);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_Rect_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Rect_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_Rect_delete(IntPtr vector);
- #endregion
- #region cv::Rect2d
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Rect2d_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Rect2d_new2(nuint size);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Rect2d_new3([In] Rect2d[] data, nuint dataLength);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_Rect2d_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Rect2d_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_Rect2d_delete(IntPtr vector);
- #endregion
- #region cv::RotatedRect
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_RotatedRect_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_RotatedRect_new2(nuint size);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_RotatedRect_new3([In] RotatedRect[] data, nuint dataLength);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_RotatedRect_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_RotatedRect_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_RotatedRect_delete(IntPtr vector);
- #endregion
- #region cv::KeyPoint
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_KeyPoint_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_KeyPoint_new2(nuint size);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_KeyPoint_new3([In]KeyPoint[] data, nuint dataLength);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_KeyPoint_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_KeyPoint_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_KeyPoint_delete(IntPtr vector);
- #endregion
- #region cv::KeyPoint
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_DMatch_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_DMatch_new2(nuint size);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_DMatch_new3([In] DMatch[] data, nuint dataLength);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_DMatch_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_DMatch_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_DMatch_delete(IntPtr vector);
- #endregion
- #region cv::Mat
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Mat_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Mat_new2(uint size);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Mat_new3(IntPtr[] data, uint dataLength);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_Mat_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_Mat_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_Mat_delete(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_Mat_assignToArray(IntPtr vector, [MarshalAs(UnmanagedType.LPArray)] IntPtr[] arr);
- #endregion
- #region cv::ml::DTrees::Node
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_DTrees_Node_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_DTrees_Node_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_DTrees_Node_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_DTrees_Node_delete(IntPtr vector);
- #endregion
- #region cv::ml::DTrees::Split
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_DTrees_Split_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_DTrees_Split_getSize(IntPtr vector);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_DTrees_Split_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_DTrees_Split_delete(IntPtr vector);
- #endregion
- #region cv::detail::ImageFeatures
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_ImageFeatures_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_ImageFeatures_getSize(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_ImageFeatures_getKeypointsSize(
- IntPtr vector, [Out] nuint[] dst);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_ImageFeatures_getElements(IntPtr vector, [Out] WImageFeatures[] dst);
-
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_ImageFeatures_delete(IntPtr vector);
- #endregion
- #region cv::line_descriptor::KeyLine
- #if false
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_KeyLine_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_KeyLine_getSize(IntPtr vector);
- //[Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- //public static extern void vector_KeyLine_getElements(IntPtr vector, [Out] KeyLine[] dst);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_KeyLine_getPointer(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_KeyLine_delete(IntPtr vector);
- #endif
- #endregion
- #region vector<uchar>
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_vector_uchar_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_vector_uchar_getSize1(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_uchar_getSize2(IntPtr vector, [In, Out] nuint[] size);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_uchar_copy(IntPtr vec, IntPtr[] dst);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_uchar_delete(IntPtr vector);
- #endregion
- #region vector<int>
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_vector_int_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_vector_int_getSize1(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_int_getSize2(IntPtr vector, [In, Out] nuint[] size);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_int_copy(IntPtr vec, IntPtr[] dst);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_int_delete(IntPtr vector);
- #endregion
- #region vector<double>
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_vector_double_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_vector_double_getSize1(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_double_getSize2(IntPtr vector, [In, Out] nuint[] size);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_double_copy(IntPtr vec, IntPtr[] dst);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_double_delete(IntPtr vector);
- #endregion
- #region vector<cv::KeyPoint>
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_vector_KeyPoint_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_vector_KeyPoint_new3(
- IntPtr[] values, int size1, int[] size2);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_vector_KeyPoint_getSize1(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_KeyPoint_getSize2(IntPtr vector, [In, Out] nuint[] size);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_KeyPoint_copy(IntPtr vec, IntPtr[] dst);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_KeyPoint_delete(IntPtr vector);
- #endregion
- #region vector<cv::DMatch>
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_vector_DMatch_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_vector_DMatch_getSize1(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_DMatch_getSize2(IntPtr vector, [In, Out] nuint[] size);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_DMatch_copy(IntPtr vec, IntPtr[] dst);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_DMatch_delete(IntPtr vector);
- #endregion
- #region vector<cv::Point>
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_vector_Point_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_vector_Point_new2(nuint size);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_vector_Point_getSize1(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_Point_getSize2(IntPtr vector, [In, Out] nuint[] size);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_Point_copy(IntPtr vec, IntPtr[] dst);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_Point_delete(IntPtr vector);
- #endregion
- #region vector<cv::Point2f>
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_vector_Point2f_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_vector_Point2f_getSize1(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_Point2f_getSize2(IntPtr vector, [In, Out] nuint[] size);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_Point2f_copy(IntPtr vec, IntPtr[] dst);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_Point2f_delete(IntPtr vector);
- #endregion
- #region vector<std::string>
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_string_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_string_new2(nuint size);
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_string_getSize(IntPtr vec);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_string_getElements(
- IntPtr vector,
- [MarshalAs(UnmanagedType.LPArray)] IntPtr[] cStringPointers,
- [MarshalAs(UnmanagedType.LPArray)] int[] stringLengths);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_string_delete(IntPtr vector);
- #endregion
- #region vector<cv::line_descriptor::KeyLine>
- #if false
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern IntPtr vector_vector_KeyLine_new1();
- [Pure, DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern nuint vector_vector_KeyLine_getSize1(IntPtr vector);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_KeyLine_getSize2(IntPtr vector, [In, Out] nuint[] size);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_KeyLine_copy(IntPtr vec, IntPtr[] dst);
- [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
- public static extern void vector_vector_KeyLine_delete(IntPtr vector);
- #endif
- #endregion
- }
|