ParamGrid.java
3.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.ml;
// C++: class ParamGrid
//javadoc: ParamGrid
public class ParamGrid {
protected final long nativeObj;
protected ParamGrid(long addr) { nativeObj = addr; }
public long getNativeObjAddr() { return nativeObj; }
//
// C++: static Ptr_ParamGrid create(double minVal = 0., double maxVal = 0., double logstep = 1.)
//
//javadoc: ParamGrid::create(minVal, maxVal, logstep)
public static ParamGrid create(double minVal, double maxVal, double logstep)
{
ParamGrid retVal = new ParamGrid(create_0(minVal, maxVal, logstep));
return retVal;
}
//javadoc: ParamGrid::create()
public static ParamGrid create()
{
ParamGrid retVal = new ParamGrid(create_1());
return retVal;
}
//
// C++: double ParamGrid::minVal
//
//javadoc: ParamGrid::get_minVal()
public double get_minVal()
{
double retVal = get_minVal_0(nativeObj);
return retVal;
}
//
// C++: void ParamGrid::minVal
//
//javadoc: ParamGrid::set_minVal(minVal)
public void set_minVal(double minVal)
{
set_minVal_0(nativeObj, minVal);
return;
}
//
// C++: double ParamGrid::maxVal
//
//javadoc: ParamGrid::get_maxVal()
public double get_maxVal()
{
double retVal = get_maxVal_0(nativeObj);
return retVal;
}
//
// C++: void ParamGrid::maxVal
//
//javadoc: ParamGrid::set_maxVal(maxVal)
public void set_maxVal(double maxVal)
{
set_maxVal_0(nativeObj, maxVal);
return;
}
//
// C++: double ParamGrid::logStep
//
//javadoc: ParamGrid::get_logStep()
public double get_logStep()
{
double retVal = get_logStep_0(nativeObj);
return retVal;
}
//
// C++: void ParamGrid::logStep
//
//javadoc: ParamGrid::set_logStep(logStep)
public void set_logStep(double logStep)
{
set_logStep_0(nativeObj, logStep);
return;
}
@Override
protected void finalize() throws Throwable {
delete(nativeObj);
}
// C++: static Ptr_ParamGrid create(double minVal = 0., double maxVal = 0., double logstep = 1.)
private static native long create_0(double minVal, double maxVal, double logstep);
private static native long create_1();
// C++: double ParamGrid::minVal
private static native double get_minVal_0(long nativeObj);
// C++: void ParamGrid::minVal
private static native void set_minVal_0(long nativeObj, double minVal);
// C++: double ParamGrid::maxVal
private static native double get_maxVal_0(long nativeObj);
// C++: void ParamGrid::maxVal
private static native void set_maxVal_0(long nativeObj, double maxVal);
// C++: double ParamGrid::logStep
private static native double get_logStep_0(long nativeObj);
// C++: void ParamGrid::logStep
private static native void set_logStep_0(long nativeObj, double logStep);
// native support for java finalize()
private static native void delete(long nativeObj);
}