001// 002// This file is auto-generated. Please don't modify it! 003// 004package org.opencv.video; 005 006 007 008// C++: class Params 009 010public class TrackerMIL_Params { 011 012 protected final long nativeObj; 013 protected TrackerMIL_Params(long addr) { nativeObj = addr; } 014 015 public long getNativeObjAddr() { return nativeObj; } 016 017 // internal usage only 018 public static TrackerMIL_Params __fromPtr__(long addr) { return new TrackerMIL_Params(addr); } 019 020 // 021 // C++: cv::TrackerMIL::Params::Params() 022 // 023 024 public TrackerMIL_Params() { 025 nativeObj = TrackerMIL_Params_0(); 026 } 027 028 029 // 030 // C++: float TrackerMIL_Params::samplerInitInRadius 031 // 032 033 public float get_samplerInitInRadius() { 034 return get_samplerInitInRadius_0(nativeObj); 035 } 036 037 038 // 039 // C++: void TrackerMIL_Params::samplerInitInRadius 040 // 041 042 public void set_samplerInitInRadius(float samplerInitInRadius) { 043 set_samplerInitInRadius_0(nativeObj, samplerInitInRadius); 044 } 045 046 047 // 048 // C++: int TrackerMIL_Params::samplerInitMaxNegNum 049 // 050 051 public int get_samplerInitMaxNegNum() { 052 return get_samplerInitMaxNegNum_0(nativeObj); 053 } 054 055 056 // 057 // C++: void TrackerMIL_Params::samplerInitMaxNegNum 058 // 059 060 public void set_samplerInitMaxNegNum(int samplerInitMaxNegNum) { 061 set_samplerInitMaxNegNum_0(nativeObj, samplerInitMaxNegNum); 062 } 063 064 065 // 066 // C++: float TrackerMIL_Params::samplerSearchWinSize 067 // 068 069 public float get_samplerSearchWinSize() { 070 return get_samplerSearchWinSize_0(nativeObj); 071 } 072 073 074 // 075 // C++: void TrackerMIL_Params::samplerSearchWinSize 076 // 077 078 public void set_samplerSearchWinSize(float samplerSearchWinSize) { 079 set_samplerSearchWinSize_0(nativeObj, samplerSearchWinSize); 080 } 081 082 083 // 084 // C++: float TrackerMIL_Params::samplerTrackInRadius 085 // 086 087 public float get_samplerTrackInRadius() { 088 return get_samplerTrackInRadius_0(nativeObj); 089 } 090 091 092 // 093 // C++: void TrackerMIL_Params::samplerTrackInRadius 094 // 095 096 public void set_samplerTrackInRadius(float samplerTrackInRadius) { 097 set_samplerTrackInRadius_0(nativeObj, samplerTrackInRadius); 098 } 099 100 101 // 102 // C++: int TrackerMIL_Params::samplerTrackMaxPosNum 103 // 104 105 public int get_samplerTrackMaxPosNum() { 106 return get_samplerTrackMaxPosNum_0(nativeObj); 107 } 108 109 110 // 111 // C++: void TrackerMIL_Params::samplerTrackMaxPosNum 112 // 113 114 public void set_samplerTrackMaxPosNum(int samplerTrackMaxPosNum) { 115 set_samplerTrackMaxPosNum_0(nativeObj, samplerTrackMaxPosNum); 116 } 117 118 119 // 120 // C++: int TrackerMIL_Params::samplerTrackMaxNegNum 121 // 122 123 public int get_samplerTrackMaxNegNum() { 124 return get_samplerTrackMaxNegNum_0(nativeObj); 125 } 126 127 128 // 129 // C++: void TrackerMIL_Params::samplerTrackMaxNegNum 130 // 131 132 public void set_samplerTrackMaxNegNum(int samplerTrackMaxNegNum) { 133 set_samplerTrackMaxNegNum_0(nativeObj, samplerTrackMaxNegNum); 134 } 135 136 137 // 138 // C++: int TrackerMIL_Params::featureSetNumFeatures 139 // 140 141 public int get_featureSetNumFeatures() { 142 return get_featureSetNumFeatures_0(nativeObj); 143 } 144 145 146 // 147 // C++: void TrackerMIL_Params::featureSetNumFeatures 148 // 149 150 public void set_featureSetNumFeatures(int featureSetNumFeatures) { 151 set_featureSetNumFeatures_0(nativeObj, featureSetNumFeatures); 152 } 153 154 155 @Override 156 protected void finalize() throws Throwable { 157 delete(nativeObj); 158 } 159 160 161 162 // C++: cv::TrackerMIL::Params::Params() 163 private static native long TrackerMIL_Params_0(); 164 165 // C++: float TrackerMIL_Params::samplerInitInRadius 166 private static native float get_samplerInitInRadius_0(long nativeObj); 167 168 // C++: void TrackerMIL_Params::samplerInitInRadius 169 private static native void set_samplerInitInRadius_0(long nativeObj, float samplerInitInRadius); 170 171 // C++: int TrackerMIL_Params::samplerInitMaxNegNum 172 private static native int get_samplerInitMaxNegNum_0(long nativeObj); 173 174 // C++: void TrackerMIL_Params::samplerInitMaxNegNum 175 private static native void set_samplerInitMaxNegNum_0(long nativeObj, int samplerInitMaxNegNum); 176 177 // C++: float TrackerMIL_Params::samplerSearchWinSize 178 private static native float get_samplerSearchWinSize_0(long nativeObj); 179 180 // C++: void TrackerMIL_Params::samplerSearchWinSize 181 private static native void set_samplerSearchWinSize_0(long nativeObj, float samplerSearchWinSize); 182 183 // C++: float TrackerMIL_Params::samplerTrackInRadius 184 private static native float get_samplerTrackInRadius_0(long nativeObj); 185 186 // C++: void TrackerMIL_Params::samplerTrackInRadius 187 private static native void set_samplerTrackInRadius_0(long nativeObj, float samplerTrackInRadius); 188 189 // C++: int TrackerMIL_Params::samplerTrackMaxPosNum 190 private static native int get_samplerTrackMaxPosNum_0(long nativeObj); 191 192 // C++: void TrackerMIL_Params::samplerTrackMaxPosNum 193 private static native void set_samplerTrackMaxPosNum_0(long nativeObj, int samplerTrackMaxPosNum); 194 195 // C++: int TrackerMIL_Params::samplerTrackMaxNegNum 196 private static native int get_samplerTrackMaxNegNum_0(long nativeObj); 197 198 // C++: void TrackerMIL_Params::samplerTrackMaxNegNum 199 private static native void set_samplerTrackMaxNegNum_0(long nativeObj, int samplerTrackMaxNegNum); 200 201 // C++: int TrackerMIL_Params::featureSetNumFeatures 202 private static native int get_featureSetNumFeatures_0(long nativeObj); 203 204 // C++: void TrackerMIL_Params::featureSetNumFeatures 205 private static native void set_featureSetNumFeatures_0(long nativeObj, int featureSetNumFeatures); 206 207 // native support for java finalize() 208 private static native void delete(long nativeObj); 209 210}