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 TrackerGOTURN_Params { 011 012 protected final long nativeObj; 013 protected TrackerGOTURN_Params(long addr) { nativeObj = addr; } 014 015 public long getNativeObjAddr() { return nativeObj; } 016 017 // internal usage only 018 public static TrackerGOTURN_Params __fromPtr__(long addr) { return new TrackerGOTURN_Params(addr); } 019 020 // 021 // C++: cv::TrackerGOTURN::Params::Params() 022 // 023 024 public TrackerGOTURN_Params() { 025 nativeObj = TrackerGOTURN_Params_0(); 026 } 027 028 029 // 030 // C++: string TrackerGOTURN_Params::modelTxt 031 // 032 033 public String get_modelTxt() { 034 return get_modelTxt_0(nativeObj); 035 } 036 037 038 // 039 // C++: void TrackerGOTURN_Params::modelTxt 040 // 041 042 public void set_modelTxt(String modelTxt) { 043 set_modelTxt_0(nativeObj, modelTxt); 044 } 045 046 047 // 048 // C++: string TrackerGOTURN_Params::modelBin 049 // 050 051 public String get_modelBin() { 052 return get_modelBin_0(nativeObj); 053 } 054 055 056 // 057 // C++: void TrackerGOTURN_Params::modelBin 058 // 059 060 public void set_modelBin(String modelBin) { 061 set_modelBin_0(nativeObj, modelBin); 062 } 063 064 065 @Override 066 protected void finalize() throws Throwable { 067 delete(nativeObj); 068 } 069 070 071 072 // C++: cv::TrackerGOTURN::Params::Params() 073 private static native long TrackerGOTURN_Params_0(); 074 075 // C++: string TrackerGOTURN_Params::modelTxt 076 private static native String get_modelTxt_0(long nativeObj); 077 078 // C++: void TrackerGOTURN_Params::modelTxt 079 private static native void set_modelTxt_0(long nativeObj, String modelTxt); 080 081 // C++: string TrackerGOTURN_Params::modelBin 082 private static native String get_modelBin_0(long nativeObj); 083 084 // C++: void TrackerGOTURN_Params::modelBin 085 private static native void set_modelBin_0(long nativeObj, String modelBin); 086 087 // native support for java finalize() 088 private static native void delete(long nativeObj); 089 090}