1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306 |
-
- using OpenCVForUnity.CoreModule;
- using OpenCVForUnity.UtilsModule;
- using System;
- using System.Collections.Generic;
- using System.Runtime.InteropServices;
- namespace OpenCVForUnity.ArucoModule {
- // C++: class DetectorParameters
- //javadoc: DetectorParameters
- public class DetectorParameters : DisposableOpenCVObject {
- protected override void Dispose(bool disposing) {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- try {
- if (disposing) {
- }
- if (IsEnabledDispose) {
- if (nativeObj != IntPtr.Zero)
- aruco_DetectorParameters_delete(nativeObj);
- nativeObj = IntPtr.Zero;
- }
- } finally {
- base.Dispose(disposing);
- }
- #else
- return;
- #endif
- }
- protected internal DetectorParameters(IntPtr addr) : base(addr) { }
- public IntPtr getNativeObjAddr() { return nativeObj; }
- // internal usage only
- public static DetectorParameters __fromPtr__(IntPtr addr) { return new DetectorParameters(addr); }
- //
- // C++: static Ptr_DetectorParameters cv::aruco::DetectorParameters::create()
- //
- //javadoc: DetectorParameters::create()
- public static DetectorParameters create() {
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- DetectorParameters retVal = DetectorParameters.__fromPtr__(aruco_DetectorParameters_create_10());
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: int DetectorParameters::adaptiveThreshWinSizeMin
- //
- //javadoc: DetectorParameters::get_adaptiveThreshWinSizeMin()
- public int get_adaptiveThreshWinSizeMin() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- int retVal = aruco_DetectorParameters_get_1adaptiveThreshWinSizeMin_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::adaptiveThreshWinSizeMin
- //
- //javadoc: DetectorParameters::set_adaptiveThreshWinSizeMin(adaptiveThreshWinSizeMin)
- public void set_adaptiveThreshWinSizeMin(int adaptiveThreshWinSizeMin) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1adaptiveThreshWinSizeMin_10(nativeObj, adaptiveThreshWinSizeMin);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: int DetectorParameters::adaptiveThreshWinSizeMax
- //
- //javadoc: DetectorParameters::get_adaptiveThreshWinSizeMax()
- public int get_adaptiveThreshWinSizeMax() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- int retVal = aruco_DetectorParameters_get_1adaptiveThreshWinSizeMax_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::adaptiveThreshWinSizeMax
- //
- //javadoc: DetectorParameters::set_adaptiveThreshWinSizeMax(adaptiveThreshWinSizeMax)
- public void set_adaptiveThreshWinSizeMax(int adaptiveThreshWinSizeMax) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1adaptiveThreshWinSizeMax_10(nativeObj, adaptiveThreshWinSizeMax);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: int DetectorParameters::adaptiveThreshWinSizeStep
- //
- //javadoc: DetectorParameters::get_adaptiveThreshWinSizeStep()
- public int get_adaptiveThreshWinSizeStep() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- int retVal = aruco_DetectorParameters_get_1adaptiveThreshWinSizeStep_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::adaptiveThreshWinSizeStep
- //
- //javadoc: DetectorParameters::set_adaptiveThreshWinSizeStep(adaptiveThreshWinSizeStep)
- public void set_adaptiveThreshWinSizeStep(int adaptiveThreshWinSizeStep) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1adaptiveThreshWinSizeStep_10(nativeObj, adaptiveThreshWinSizeStep);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: double DetectorParameters::adaptiveThreshConstant
- //
- //javadoc: DetectorParameters::get_adaptiveThreshConstant()
- public double get_adaptiveThreshConstant() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- double retVal = aruco_DetectorParameters_get_1adaptiveThreshConstant_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::adaptiveThreshConstant
- //
- //javadoc: DetectorParameters::set_adaptiveThreshConstant(adaptiveThreshConstant)
- public void set_adaptiveThreshConstant(double adaptiveThreshConstant) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1adaptiveThreshConstant_10(nativeObj, adaptiveThreshConstant);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: double DetectorParameters::minMarkerPerimeterRate
- //
- //javadoc: DetectorParameters::get_minMarkerPerimeterRate()
- public double get_minMarkerPerimeterRate() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- double retVal = aruco_DetectorParameters_get_1minMarkerPerimeterRate_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::minMarkerPerimeterRate
- //
- //javadoc: DetectorParameters::set_minMarkerPerimeterRate(minMarkerPerimeterRate)
- public void set_minMarkerPerimeterRate(double minMarkerPerimeterRate) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1minMarkerPerimeterRate_10(nativeObj, minMarkerPerimeterRate);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: double DetectorParameters::maxMarkerPerimeterRate
- //
- //javadoc: DetectorParameters::get_maxMarkerPerimeterRate()
- public double get_maxMarkerPerimeterRate() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- double retVal = aruco_DetectorParameters_get_1maxMarkerPerimeterRate_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::maxMarkerPerimeterRate
- //
- //javadoc: DetectorParameters::set_maxMarkerPerimeterRate(maxMarkerPerimeterRate)
- public void set_maxMarkerPerimeterRate(double maxMarkerPerimeterRate) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1maxMarkerPerimeterRate_10(nativeObj, maxMarkerPerimeterRate);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: double DetectorParameters::polygonalApproxAccuracyRate
- //
- //javadoc: DetectorParameters::get_polygonalApproxAccuracyRate()
- public double get_polygonalApproxAccuracyRate() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- double retVal = aruco_DetectorParameters_get_1polygonalApproxAccuracyRate_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::polygonalApproxAccuracyRate
- //
- //javadoc: DetectorParameters::set_polygonalApproxAccuracyRate(polygonalApproxAccuracyRate)
- public void set_polygonalApproxAccuracyRate(double polygonalApproxAccuracyRate) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1polygonalApproxAccuracyRate_10(nativeObj, polygonalApproxAccuracyRate);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: double DetectorParameters::minCornerDistanceRate
- //
- //javadoc: DetectorParameters::get_minCornerDistanceRate()
- public double get_minCornerDistanceRate() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- double retVal = aruco_DetectorParameters_get_1minCornerDistanceRate_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::minCornerDistanceRate
- //
- //javadoc: DetectorParameters::set_minCornerDistanceRate(minCornerDistanceRate)
- public void set_minCornerDistanceRate(double minCornerDistanceRate) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1minCornerDistanceRate_10(nativeObj, minCornerDistanceRate);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: int DetectorParameters::minDistanceToBorder
- //
- //javadoc: DetectorParameters::get_minDistanceToBorder()
- public int get_minDistanceToBorder() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- int retVal = aruco_DetectorParameters_get_1minDistanceToBorder_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::minDistanceToBorder
- //
- //javadoc: DetectorParameters::set_minDistanceToBorder(minDistanceToBorder)
- public void set_minDistanceToBorder(int minDistanceToBorder) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1minDistanceToBorder_10(nativeObj, minDistanceToBorder);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: double DetectorParameters::minMarkerDistanceRate
- //
- //javadoc: DetectorParameters::get_minMarkerDistanceRate()
- public double get_minMarkerDistanceRate() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- double retVal = aruco_DetectorParameters_get_1minMarkerDistanceRate_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::minMarkerDistanceRate
- //
- //javadoc: DetectorParameters::set_minMarkerDistanceRate(minMarkerDistanceRate)
- public void set_minMarkerDistanceRate(double minMarkerDistanceRate) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1minMarkerDistanceRate_10(nativeObj, minMarkerDistanceRate);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: int DetectorParameters::cornerRefinementMethod
- //
- //javadoc: DetectorParameters::get_cornerRefinementMethod()
- public int get_cornerRefinementMethod() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- int retVal = aruco_DetectorParameters_get_1cornerRefinementMethod_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::cornerRefinementMethod
- //
- //javadoc: DetectorParameters::set_cornerRefinementMethod(cornerRefinementMethod)
- public void set_cornerRefinementMethod(int cornerRefinementMethod) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1cornerRefinementMethod_10(nativeObj, cornerRefinementMethod);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: int DetectorParameters::cornerRefinementWinSize
- //
- //javadoc: DetectorParameters::get_cornerRefinementWinSize()
- public int get_cornerRefinementWinSize() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- int retVal = aruco_DetectorParameters_get_1cornerRefinementWinSize_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::cornerRefinementWinSize
- //
- //javadoc: DetectorParameters::set_cornerRefinementWinSize(cornerRefinementWinSize)
- public void set_cornerRefinementWinSize(int cornerRefinementWinSize) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1cornerRefinementWinSize_10(nativeObj, cornerRefinementWinSize);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: int DetectorParameters::cornerRefinementMaxIterations
- //
- //javadoc: DetectorParameters::get_cornerRefinementMaxIterations()
- public int get_cornerRefinementMaxIterations() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- int retVal = aruco_DetectorParameters_get_1cornerRefinementMaxIterations_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::cornerRefinementMaxIterations
- //
- //javadoc: DetectorParameters::set_cornerRefinementMaxIterations(cornerRefinementMaxIterations)
- public void set_cornerRefinementMaxIterations(int cornerRefinementMaxIterations) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1cornerRefinementMaxIterations_10(nativeObj, cornerRefinementMaxIterations);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: double DetectorParameters::cornerRefinementMinAccuracy
- //
- //javadoc: DetectorParameters::get_cornerRefinementMinAccuracy()
- public double get_cornerRefinementMinAccuracy() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- double retVal = aruco_DetectorParameters_get_1cornerRefinementMinAccuracy_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::cornerRefinementMinAccuracy
- //
- //javadoc: DetectorParameters::set_cornerRefinementMinAccuracy(cornerRefinementMinAccuracy)
- public void set_cornerRefinementMinAccuracy(double cornerRefinementMinAccuracy) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1cornerRefinementMinAccuracy_10(nativeObj, cornerRefinementMinAccuracy);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: int DetectorParameters::markerBorderBits
- //
- //javadoc: DetectorParameters::get_markerBorderBits()
- public int get_markerBorderBits() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- int retVal = aruco_DetectorParameters_get_1markerBorderBits_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::markerBorderBits
- //
- //javadoc: DetectorParameters::set_markerBorderBits(markerBorderBits)
- public void set_markerBorderBits(int markerBorderBits) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1markerBorderBits_10(nativeObj, markerBorderBits);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: int DetectorParameters::perspectiveRemovePixelPerCell
- //
- //javadoc: DetectorParameters::get_perspectiveRemovePixelPerCell()
- public int get_perspectiveRemovePixelPerCell() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- int retVal = aruco_DetectorParameters_get_1perspectiveRemovePixelPerCell_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::perspectiveRemovePixelPerCell
- //
- //javadoc: DetectorParameters::set_perspectiveRemovePixelPerCell(perspectiveRemovePixelPerCell)
- public void set_perspectiveRemovePixelPerCell(int perspectiveRemovePixelPerCell) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1perspectiveRemovePixelPerCell_10(nativeObj, perspectiveRemovePixelPerCell);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: double DetectorParameters::perspectiveRemoveIgnoredMarginPerCell
- //
- //javadoc: DetectorParameters::get_perspectiveRemoveIgnoredMarginPerCell()
- public double get_perspectiveRemoveIgnoredMarginPerCell() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- double retVal = aruco_DetectorParameters_get_1perspectiveRemoveIgnoredMarginPerCell_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::perspectiveRemoveIgnoredMarginPerCell
- //
- //javadoc: DetectorParameters::set_perspectiveRemoveIgnoredMarginPerCell(perspectiveRemoveIgnoredMarginPerCell)
- public void set_perspectiveRemoveIgnoredMarginPerCell(double perspectiveRemoveIgnoredMarginPerCell) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1perspectiveRemoveIgnoredMarginPerCell_10(nativeObj, perspectiveRemoveIgnoredMarginPerCell);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: double DetectorParameters::maxErroneousBitsInBorderRate
- //
- //javadoc: DetectorParameters::get_maxErroneousBitsInBorderRate()
- public double get_maxErroneousBitsInBorderRate() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- double retVal = aruco_DetectorParameters_get_1maxErroneousBitsInBorderRate_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::maxErroneousBitsInBorderRate
- //
- //javadoc: DetectorParameters::set_maxErroneousBitsInBorderRate(maxErroneousBitsInBorderRate)
- public void set_maxErroneousBitsInBorderRate(double maxErroneousBitsInBorderRate) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1maxErroneousBitsInBorderRate_10(nativeObj, maxErroneousBitsInBorderRate);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: double DetectorParameters::minOtsuStdDev
- //
- //javadoc: DetectorParameters::get_minOtsuStdDev()
- public double get_minOtsuStdDev() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- double retVal = aruco_DetectorParameters_get_1minOtsuStdDev_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::minOtsuStdDev
- //
- //javadoc: DetectorParameters::set_minOtsuStdDev(minOtsuStdDev)
- public void set_minOtsuStdDev(double minOtsuStdDev) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1minOtsuStdDev_10(nativeObj, minOtsuStdDev);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: double DetectorParameters::errorCorrectionRate
- //
- //javadoc: DetectorParameters::get_errorCorrectionRate()
- public double get_errorCorrectionRate() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- double retVal = aruco_DetectorParameters_get_1errorCorrectionRate_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::errorCorrectionRate
- //
- //javadoc: DetectorParameters::set_errorCorrectionRate(errorCorrectionRate)
- public void set_errorCorrectionRate(double errorCorrectionRate) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1errorCorrectionRate_10(nativeObj, errorCorrectionRate);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: float DetectorParameters::aprilTagQuadDecimate
- //
- //javadoc: DetectorParameters::get_aprilTagQuadDecimate()
- public float get_aprilTagQuadDecimate() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- float retVal = aruco_DetectorParameters_get_1aprilTagQuadDecimate_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::aprilTagQuadDecimate
- //
- //javadoc: DetectorParameters::set_aprilTagQuadDecimate(aprilTagQuadDecimate)
- public void set_aprilTagQuadDecimate(float aprilTagQuadDecimate) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1aprilTagQuadDecimate_10(nativeObj, aprilTagQuadDecimate);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: float DetectorParameters::aprilTagQuadSigma
- //
- //javadoc: DetectorParameters::get_aprilTagQuadSigma()
- public float get_aprilTagQuadSigma() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- float retVal = aruco_DetectorParameters_get_1aprilTagQuadSigma_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::aprilTagQuadSigma
- //
- //javadoc: DetectorParameters::set_aprilTagQuadSigma(aprilTagQuadSigma)
- public void set_aprilTagQuadSigma(float aprilTagQuadSigma) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1aprilTagQuadSigma_10(nativeObj, aprilTagQuadSigma);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: int DetectorParameters::aprilTagMinClusterPixels
- //
- //javadoc: DetectorParameters::get_aprilTagMinClusterPixels()
- public int get_aprilTagMinClusterPixels() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- int retVal = aruco_DetectorParameters_get_1aprilTagMinClusterPixels_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::aprilTagMinClusterPixels
- //
- //javadoc: DetectorParameters::set_aprilTagMinClusterPixels(aprilTagMinClusterPixels)
- public void set_aprilTagMinClusterPixels(int aprilTagMinClusterPixels) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1aprilTagMinClusterPixels_10(nativeObj, aprilTagMinClusterPixels);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: int DetectorParameters::aprilTagMaxNmaxima
- //
- //javadoc: DetectorParameters::get_aprilTagMaxNmaxima()
- public int get_aprilTagMaxNmaxima() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- int retVal = aruco_DetectorParameters_get_1aprilTagMaxNmaxima_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::aprilTagMaxNmaxima
- //
- //javadoc: DetectorParameters::set_aprilTagMaxNmaxima(aprilTagMaxNmaxima)
- public void set_aprilTagMaxNmaxima(int aprilTagMaxNmaxima) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1aprilTagMaxNmaxima_10(nativeObj, aprilTagMaxNmaxima);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: float DetectorParameters::aprilTagCriticalRad
- //
- //javadoc: DetectorParameters::get_aprilTagCriticalRad()
- public float get_aprilTagCriticalRad() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- float retVal = aruco_DetectorParameters_get_1aprilTagCriticalRad_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::aprilTagCriticalRad
- //
- //javadoc: DetectorParameters::set_aprilTagCriticalRad(aprilTagCriticalRad)
- public void set_aprilTagCriticalRad(float aprilTagCriticalRad) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1aprilTagCriticalRad_10(nativeObj, aprilTagCriticalRad);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: float DetectorParameters::aprilTagMaxLineFitMse
- //
- //javadoc: DetectorParameters::get_aprilTagMaxLineFitMse()
- public float get_aprilTagMaxLineFitMse() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- float retVal = aruco_DetectorParameters_get_1aprilTagMaxLineFitMse_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::aprilTagMaxLineFitMse
- //
- //javadoc: DetectorParameters::set_aprilTagMaxLineFitMse(aprilTagMaxLineFitMse)
- public void set_aprilTagMaxLineFitMse(float aprilTagMaxLineFitMse) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1aprilTagMaxLineFitMse_10(nativeObj, aprilTagMaxLineFitMse);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: int DetectorParameters::aprilTagMinWhiteBlackDiff
- //
- //javadoc: DetectorParameters::get_aprilTagMinWhiteBlackDiff()
- public int get_aprilTagMinWhiteBlackDiff() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- int retVal = aruco_DetectorParameters_get_1aprilTagMinWhiteBlackDiff_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::aprilTagMinWhiteBlackDiff
- //
- //javadoc: DetectorParameters::set_aprilTagMinWhiteBlackDiff(aprilTagMinWhiteBlackDiff)
- public void set_aprilTagMinWhiteBlackDiff(int aprilTagMinWhiteBlackDiff) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1aprilTagMinWhiteBlackDiff_10(nativeObj, aprilTagMinWhiteBlackDiff);
- return;
- #else
- return;
- #endif
- }
- //
- // C++: int DetectorParameters::aprilTagDeglitch
- //
- //javadoc: DetectorParameters::get_aprilTagDeglitch()
- public int get_aprilTagDeglitch() {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- int retVal = aruco_DetectorParameters_get_1aprilTagDeglitch_10(nativeObj);
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: void DetectorParameters::aprilTagDeglitch
- //
- //javadoc: DetectorParameters::set_aprilTagDeglitch(aprilTagDeglitch)
- public void set_aprilTagDeglitch(int aprilTagDeglitch) {
- ThrowIfDisposed();
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- aruco_DetectorParameters_set_1aprilTagDeglitch_10(nativeObj, aprilTagDeglitch);
- return;
- #else
- return;
- #endif
- }
- #if (UNITY_ANDROID && !UNITY_EDITOR)
- const string LIBNAME = "opencvforunity";
- // C++: static Ptr_DetectorParameters cv::aruco::DetectorParameters::create()
- [DllImport(LIBNAME)]
- private static extern IntPtr aruco_DetectorParameters_create_10();
- // C++: int DetectorParameters::adaptiveThreshWinSizeMin
- [DllImport(LIBNAME)]
- private static extern int aruco_DetectorParameters_get_1adaptiveThreshWinSizeMin_10(IntPtr nativeObj);
- // C++: void DetectorParameters::adaptiveThreshWinSizeMin
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1adaptiveThreshWinSizeMin_10(IntPtr nativeObj, int adaptiveThreshWinSizeMin);
- // C++: int DetectorParameters::adaptiveThreshWinSizeMax
- [DllImport(LIBNAME)]
- private static extern int aruco_DetectorParameters_get_1adaptiveThreshWinSizeMax_10(IntPtr nativeObj);
- // C++: void DetectorParameters::adaptiveThreshWinSizeMax
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1adaptiveThreshWinSizeMax_10(IntPtr nativeObj, int adaptiveThreshWinSizeMax);
- // C++: int DetectorParameters::adaptiveThreshWinSizeStep
- [DllImport(LIBNAME)]
- private static extern int aruco_DetectorParameters_get_1adaptiveThreshWinSizeStep_10(IntPtr nativeObj);
- // C++: void DetectorParameters::adaptiveThreshWinSizeStep
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1adaptiveThreshWinSizeStep_10(IntPtr nativeObj, int adaptiveThreshWinSizeStep);
- // C++: double DetectorParameters::adaptiveThreshConstant
- [DllImport(LIBNAME)]
- private static extern double aruco_DetectorParameters_get_1adaptiveThreshConstant_10(IntPtr nativeObj);
- // C++: void DetectorParameters::adaptiveThreshConstant
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1adaptiveThreshConstant_10(IntPtr nativeObj, double adaptiveThreshConstant);
- // C++: double DetectorParameters::minMarkerPerimeterRate
- [DllImport(LIBNAME)]
- private static extern double aruco_DetectorParameters_get_1minMarkerPerimeterRate_10(IntPtr nativeObj);
- // C++: void DetectorParameters::minMarkerPerimeterRate
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1minMarkerPerimeterRate_10(IntPtr nativeObj, double minMarkerPerimeterRate);
- // C++: double DetectorParameters::maxMarkerPerimeterRate
- [DllImport(LIBNAME)]
- private static extern double aruco_DetectorParameters_get_1maxMarkerPerimeterRate_10(IntPtr nativeObj);
- // C++: void DetectorParameters::maxMarkerPerimeterRate
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1maxMarkerPerimeterRate_10(IntPtr nativeObj, double maxMarkerPerimeterRate);
- // C++: double DetectorParameters::polygonalApproxAccuracyRate
- [DllImport(LIBNAME)]
- private static extern double aruco_DetectorParameters_get_1polygonalApproxAccuracyRate_10(IntPtr nativeObj);
- // C++: void DetectorParameters::polygonalApproxAccuracyRate
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1polygonalApproxAccuracyRate_10(IntPtr nativeObj, double polygonalApproxAccuracyRate);
- // C++: double DetectorParameters::minCornerDistanceRate
- [DllImport(LIBNAME)]
- private static extern double aruco_DetectorParameters_get_1minCornerDistanceRate_10(IntPtr nativeObj);
- // C++: void DetectorParameters::minCornerDistanceRate
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1minCornerDistanceRate_10(IntPtr nativeObj, double minCornerDistanceRate);
- // C++: int DetectorParameters::minDistanceToBorder
- [DllImport(LIBNAME)]
- private static extern int aruco_DetectorParameters_get_1minDistanceToBorder_10(IntPtr nativeObj);
- // C++: void DetectorParameters::minDistanceToBorder
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1minDistanceToBorder_10(IntPtr nativeObj, int minDistanceToBorder);
- // C++: double DetectorParameters::minMarkerDistanceRate
- [DllImport(LIBNAME)]
- private static extern double aruco_DetectorParameters_get_1minMarkerDistanceRate_10(IntPtr nativeObj);
- // C++: void DetectorParameters::minMarkerDistanceRate
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1minMarkerDistanceRate_10(IntPtr nativeObj, double minMarkerDistanceRate);
- // C++: int DetectorParameters::cornerRefinementMethod
- [DllImport(LIBNAME)]
- private static extern int aruco_DetectorParameters_get_1cornerRefinementMethod_10(IntPtr nativeObj);
- // C++: void DetectorParameters::cornerRefinementMethod
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1cornerRefinementMethod_10(IntPtr nativeObj, int cornerRefinementMethod);
- // C++: int DetectorParameters::cornerRefinementWinSize
- [DllImport(LIBNAME)]
- private static extern int aruco_DetectorParameters_get_1cornerRefinementWinSize_10(IntPtr nativeObj);
- // C++: void DetectorParameters::cornerRefinementWinSize
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1cornerRefinementWinSize_10(IntPtr nativeObj, int cornerRefinementWinSize);
- // C++: int DetectorParameters::cornerRefinementMaxIterations
- [DllImport(LIBNAME)]
- private static extern int aruco_DetectorParameters_get_1cornerRefinementMaxIterations_10(IntPtr nativeObj);
- // C++: void DetectorParameters::cornerRefinementMaxIterations
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1cornerRefinementMaxIterations_10(IntPtr nativeObj, int cornerRefinementMaxIterations);
- // C++: double DetectorParameters::cornerRefinementMinAccuracy
- [DllImport(LIBNAME)]
- private static extern double aruco_DetectorParameters_get_1cornerRefinementMinAccuracy_10(IntPtr nativeObj);
- // C++: void DetectorParameters::cornerRefinementMinAccuracy
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1cornerRefinementMinAccuracy_10(IntPtr nativeObj, double cornerRefinementMinAccuracy);
- // C++: int DetectorParameters::markerBorderBits
- [DllImport(LIBNAME)]
- private static extern int aruco_DetectorParameters_get_1markerBorderBits_10(IntPtr nativeObj);
- // C++: void DetectorParameters::markerBorderBits
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1markerBorderBits_10(IntPtr nativeObj, int markerBorderBits);
- // C++: int DetectorParameters::perspectiveRemovePixelPerCell
- [DllImport(LIBNAME)]
- private static extern int aruco_DetectorParameters_get_1perspectiveRemovePixelPerCell_10(IntPtr nativeObj);
- // C++: void DetectorParameters::perspectiveRemovePixelPerCell
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1perspectiveRemovePixelPerCell_10(IntPtr nativeObj, int perspectiveRemovePixelPerCell);
- // C++: double DetectorParameters::perspectiveRemoveIgnoredMarginPerCell
- [DllImport(LIBNAME)]
- private static extern double aruco_DetectorParameters_get_1perspectiveRemoveIgnoredMarginPerCell_10(IntPtr nativeObj);
- // C++: void DetectorParameters::perspectiveRemoveIgnoredMarginPerCell
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1perspectiveRemoveIgnoredMarginPerCell_10(IntPtr nativeObj, double perspectiveRemoveIgnoredMarginPerCell);
- // C++: double DetectorParameters::maxErroneousBitsInBorderRate
- [DllImport(LIBNAME)]
- private static extern double aruco_DetectorParameters_get_1maxErroneousBitsInBorderRate_10(IntPtr nativeObj);
- // C++: void DetectorParameters::maxErroneousBitsInBorderRate
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1maxErroneousBitsInBorderRate_10(IntPtr nativeObj, double maxErroneousBitsInBorderRate);
- // C++: double DetectorParameters::minOtsuStdDev
- [DllImport(LIBNAME)]
- private static extern double aruco_DetectorParameters_get_1minOtsuStdDev_10(IntPtr nativeObj);
- // C++: void DetectorParameters::minOtsuStdDev
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1minOtsuStdDev_10(IntPtr nativeObj, double minOtsuStdDev);
- // C++: double DetectorParameters::errorCorrectionRate
- [DllImport(LIBNAME)]
- private static extern double aruco_DetectorParameters_get_1errorCorrectionRate_10(IntPtr nativeObj);
- // C++: void DetectorParameters::errorCorrectionRate
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1errorCorrectionRate_10(IntPtr nativeObj, double errorCorrectionRate);
- // C++: float DetectorParameters::aprilTagQuadDecimate
- [DllImport(LIBNAME)]
- private static extern float aruco_DetectorParameters_get_1aprilTagQuadDecimate_10(IntPtr nativeObj);
- // C++: void DetectorParameters::aprilTagQuadDecimate
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1aprilTagQuadDecimate_10(IntPtr nativeObj, float aprilTagQuadDecimate);
- // C++: float DetectorParameters::aprilTagQuadSigma
- [DllImport(LIBNAME)]
- private static extern float aruco_DetectorParameters_get_1aprilTagQuadSigma_10(IntPtr nativeObj);
- // C++: void DetectorParameters::aprilTagQuadSigma
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1aprilTagQuadSigma_10(IntPtr nativeObj, float aprilTagQuadSigma);
- // C++: int DetectorParameters::aprilTagMinClusterPixels
- [DllImport(LIBNAME)]
- private static extern int aruco_DetectorParameters_get_1aprilTagMinClusterPixels_10(IntPtr nativeObj);
- // C++: void DetectorParameters::aprilTagMinClusterPixels
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1aprilTagMinClusterPixels_10(IntPtr nativeObj, int aprilTagMinClusterPixels);
- // C++: int DetectorParameters::aprilTagMaxNmaxima
- [DllImport(LIBNAME)]
- private static extern int aruco_DetectorParameters_get_1aprilTagMaxNmaxima_10(IntPtr nativeObj);
- // C++: void DetectorParameters::aprilTagMaxNmaxima
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1aprilTagMaxNmaxima_10(IntPtr nativeObj, int aprilTagMaxNmaxima);
- // C++: float DetectorParameters::aprilTagCriticalRad
- [DllImport(LIBNAME)]
- private static extern float aruco_DetectorParameters_get_1aprilTagCriticalRad_10(IntPtr nativeObj);
- // C++: void DetectorParameters::aprilTagCriticalRad
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1aprilTagCriticalRad_10(IntPtr nativeObj, float aprilTagCriticalRad);
- // C++: float DetectorParameters::aprilTagMaxLineFitMse
- [DllImport(LIBNAME)]
- private static extern float aruco_DetectorParameters_get_1aprilTagMaxLineFitMse_10(IntPtr nativeObj);
- // C++: void DetectorParameters::aprilTagMaxLineFitMse
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1aprilTagMaxLineFitMse_10(IntPtr nativeObj, float aprilTagMaxLineFitMse);
- // C++: int DetectorParameters::aprilTagMinWhiteBlackDiff
- [DllImport(LIBNAME)]
- private static extern int aruco_DetectorParameters_get_1aprilTagMinWhiteBlackDiff_10(IntPtr nativeObj);
- // C++: void DetectorParameters::aprilTagMinWhiteBlackDiff
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1aprilTagMinWhiteBlackDiff_10(IntPtr nativeObj, int aprilTagMinWhiteBlackDiff);
- // C++: int DetectorParameters::aprilTagDeglitch
- [DllImport(LIBNAME)]
- private static extern int aruco_DetectorParameters_get_1aprilTagDeglitch_10(IntPtr nativeObj);
- // C++: void DetectorParameters::aprilTagDeglitch
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_set_1aprilTagDeglitch_10(IntPtr nativeObj, int aprilTagDeglitch);
- // native support for java finalize()
- [DllImport(LIBNAME)]
- private static extern void aruco_DetectorParameters_delete(IntPtr nativeObj);
- #endif
- }
- }
|