BFMatcher.java
1.79 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
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.features2d;
// C++: class BFMatcher
//javadoc: BFMatcher
public class BFMatcher extends DescriptorMatcher {
protected BFMatcher(long addr) { super(addr); }
//
// C++: BFMatcher(int normType = NORM_L2, bool crossCheck = false)
//
//javadoc: BFMatcher::BFMatcher(normType, crossCheck)
public BFMatcher(int normType, boolean crossCheck)
{
super( BFMatcher_0(normType, crossCheck) );
return;
}
//javadoc: BFMatcher::BFMatcher()
public BFMatcher()
{
super( BFMatcher_1() );
return;
}
//
// C++: static Ptr_BFMatcher create(int normType = NORM_L2, bool crossCheck = false)
//
//javadoc: BFMatcher::create(normType, crossCheck)
public static BFMatcher create(int normType, boolean crossCheck)
{
BFMatcher retVal = new BFMatcher(create_0(normType, crossCheck));
return retVal;
}
//javadoc: BFMatcher::create()
public static BFMatcher create()
{
BFMatcher retVal = new BFMatcher(create_1());
return retVal;
}
@Override
protected void finalize() throws Throwable {
delete(nativeObj);
}
// C++: BFMatcher(int normType = NORM_L2, bool crossCheck = false)
private static native long BFMatcher_0(int normType, boolean crossCheck);
private static native long BFMatcher_1();
// C++: static Ptr_BFMatcher create(int normType = NORM_L2, bool crossCheck = false)
private static native long create_0(int normType, boolean crossCheck);
private static native long create_1();
// native support for java finalize()
private static native void delete(long nativeObj);
}