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 TrackerDaSiamRPN_Params { 011 012 protected final long nativeObj; 013 protected TrackerDaSiamRPN_Params(long addr) { nativeObj = addr; } 014 015 public long getNativeObjAddr() { return nativeObj; } 016 017 // internal usage only 018 public static TrackerDaSiamRPN_Params __fromPtr__(long addr) { return new TrackerDaSiamRPN_Params(addr); } 019 020 // 021 // C++: cv::TrackerDaSiamRPN::Params::Params() 022 // 023 024 public TrackerDaSiamRPN_Params() { 025 nativeObj = TrackerDaSiamRPN_Params_0(); 026 } 027 028 029 // 030 // C++: string TrackerDaSiamRPN_Params::model 031 // 032 033 public String get_model() { 034 return get_model_0(nativeObj); 035 } 036 037 038 // 039 // C++: void TrackerDaSiamRPN_Params::model 040 // 041 042 public void set_model(String model) { 043 set_model_0(nativeObj, model); 044 } 045 046 047 // 048 // C++: string TrackerDaSiamRPN_Params::kernel_cls1 049 // 050 051 public String get_kernel_cls1() { 052 return get_kernel_cls1_0(nativeObj); 053 } 054 055 056 // 057 // C++: void TrackerDaSiamRPN_Params::kernel_cls1 058 // 059 060 public void set_kernel_cls1(String kernel_cls1) { 061 set_kernel_cls1_0(nativeObj, kernel_cls1); 062 } 063 064 065 // 066 // C++: string TrackerDaSiamRPN_Params::kernel_r1 067 // 068 069 public String get_kernel_r1() { 070 return get_kernel_r1_0(nativeObj); 071 } 072 073 074 // 075 // C++: void TrackerDaSiamRPN_Params::kernel_r1 076 // 077 078 public void set_kernel_r1(String kernel_r1) { 079 set_kernel_r1_0(nativeObj, kernel_r1); 080 } 081 082 083 // 084 // C++: int TrackerDaSiamRPN_Params::backend 085 // 086 087 public int get_backend() { 088 return get_backend_0(nativeObj); 089 } 090 091 092 // 093 // C++: void TrackerDaSiamRPN_Params::backend 094 // 095 096 public void set_backend(int backend) { 097 set_backend_0(nativeObj, backend); 098 } 099 100 101 // 102 // C++: int TrackerDaSiamRPN_Params::target 103 // 104 105 public int get_target() { 106 return get_target_0(nativeObj); 107 } 108 109 110 // 111 // C++: void TrackerDaSiamRPN_Params::target 112 // 113 114 public void set_target(int target) { 115 set_target_0(nativeObj, target); 116 } 117 118 119 @Override 120 protected void finalize() throws Throwable { 121 delete(nativeObj); 122 } 123 124 125 126 // C++: cv::TrackerDaSiamRPN::Params::Params() 127 private static native long TrackerDaSiamRPN_Params_0(); 128 129 // C++: string TrackerDaSiamRPN_Params::model 130 private static native String get_model_0(long nativeObj); 131 132 // C++: void TrackerDaSiamRPN_Params::model 133 private static native void set_model_0(long nativeObj, String model); 134 135 // C++: string TrackerDaSiamRPN_Params::kernel_cls1 136 private static native String get_kernel_cls1_0(long nativeObj); 137 138 // C++: void TrackerDaSiamRPN_Params::kernel_cls1 139 private static native void set_kernel_cls1_0(long nativeObj, String kernel_cls1); 140 141 // C++: string TrackerDaSiamRPN_Params::kernel_r1 142 private static native String get_kernel_r1_0(long nativeObj); 143 144 // C++: void TrackerDaSiamRPN_Params::kernel_r1 145 private static native void set_kernel_r1_0(long nativeObj, String kernel_r1); 146 147 // C++: int TrackerDaSiamRPN_Params::backend 148 private static native int get_backend_0(long nativeObj); 149 150 // C++: void TrackerDaSiamRPN_Params::backend 151 private static native void set_backend_0(long nativeObj, int backend); 152 153 // C++: int TrackerDaSiamRPN_Params::target 154 private static native int get_target_0(long nativeObj); 155 156 // C++: void TrackerDaSiamRPN_Params::target 157 private static native void set_target_0(long nativeObj, int target); 158 159 // native support for java finalize() 160 private static native void delete(long nativeObj); 161 162}