2 // This file is auto-generated. Please don't modify it!
4 package org.opencv.features2d;
6 import java.lang.String;
7 import org.opencv.features2d.FastFeatureDetector;
8 import org.opencv.features2d.Feature2D;
10 // C++: class FastFeatureDetector
11 //javadoc: FastFeatureDetector
13 public class FastFeatureDetector extends Feature2D {
15 protected FastFeatureDetector(long addr) { super(addr); }
17 // internal usage only
18 public static FastFeatureDetector __fromPtr__(long addr) { return new FastFeatureDetector(addr); }
20 // C++: enum DetectorType
21 public static final int
27 // C++: enum <unnamed>
28 public static final int
30 NONMAX_SUPPRESSION = 10001,
35 // C++: FastFeatureDetector_DetectorType cv::FastFeatureDetector::getType()
38 //javadoc: FastFeatureDetector::getType()
42 int retVal = getType_0(nativeObj);
49 // C++: static Ptr_FastFeatureDetector cv::FastFeatureDetector::create(int threshold = 10, bool nonmaxSuppression = true, FastFeatureDetector_DetectorType type = FastFeatureDetector::TYPE_9_16)
52 //javadoc: FastFeatureDetector::create(threshold, nonmaxSuppression, type)
53 public static FastFeatureDetector create(int threshold, boolean nonmaxSuppression, int type)
56 FastFeatureDetector retVal = FastFeatureDetector.__fromPtr__(create_0(threshold, nonmaxSuppression, type));
61 //javadoc: FastFeatureDetector::create(threshold, nonmaxSuppression)
62 public static FastFeatureDetector create(int threshold, boolean nonmaxSuppression)
65 FastFeatureDetector retVal = FastFeatureDetector.__fromPtr__(create_1(threshold, nonmaxSuppression));
70 //javadoc: FastFeatureDetector::create(threshold)
71 public static FastFeatureDetector create(int threshold)
74 FastFeatureDetector retVal = FastFeatureDetector.__fromPtr__(create_2(threshold));
79 //javadoc: FastFeatureDetector::create()
80 public static FastFeatureDetector create()
83 FastFeatureDetector retVal = FastFeatureDetector.__fromPtr__(create_3());
90 // C++: String cv::FastFeatureDetector::getDefaultName()
93 //javadoc: FastFeatureDetector::getDefaultName()
94 public String getDefaultName()
97 String retVal = getDefaultName_0(nativeObj);
104 // C++: bool cv::FastFeatureDetector::getNonmaxSuppression()
107 //javadoc: FastFeatureDetector::getNonmaxSuppression()
108 public boolean getNonmaxSuppression()
111 boolean retVal = getNonmaxSuppression_0(nativeObj);
118 // C++: int cv::FastFeatureDetector::getThreshold()
121 //javadoc: FastFeatureDetector::getThreshold()
122 public int getThreshold()
125 int retVal = getThreshold_0(nativeObj);
132 // C++: void cv::FastFeatureDetector::setNonmaxSuppression(bool f)
135 //javadoc: FastFeatureDetector::setNonmaxSuppression(f)
136 public void setNonmaxSuppression(boolean f)
139 setNonmaxSuppression_0(nativeObj, f);
146 // C++: void cv::FastFeatureDetector::setThreshold(int threshold)
149 //javadoc: FastFeatureDetector::setThreshold(threshold)
150 public void setThreshold(int threshold)
153 setThreshold_0(nativeObj, threshold);
160 // C++: void cv::FastFeatureDetector::setType(FastFeatureDetector_DetectorType type)
163 //javadoc: FastFeatureDetector::setType(type)
164 public void setType(int type)
167 setType_0(nativeObj, type);
174 protected void finalize() throws Throwable {
180 // C++: FastFeatureDetector_DetectorType cv::FastFeatureDetector::getType()
181 private static native int getType_0(long nativeObj);
183 // C++: static Ptr_FastFeatureDetector cv::FastFeatureDetector::create(int threshold = 10, bool nonmaxSuppression = true, FastFeatureDetector_DetectorType type = FastFeatureDetector::TYPE_9_16)
184 private static native long create_0(int threshold, boolean nonmaxSuppression, int type);
185 private static native long create_1(int threshold, boolean nonmaxSuppression);
186 private static native long create_2(int threshold);
187 private static native long create_3();
189 // C++: String cv::FastFeatureDetector::getDefaultName()
190 private static native String getDefaultName_0(long nativeObj);
192 // C++: bool cv::FastFeatureDetector::getNonmaxSuppression()
193 private static native boolean getNonmaxSuppression_0(long nativeObj);
195 // C++: int cv::FastFeatureDetector::getThreshold()
196 private static native int getThreshold_0(long nativeObj);
198 // C++: void cv::FastFeatureDetector::setNonmaxSuppression(bool f)
199 private static native void setNonmaxSuppression_0(long nativeObj, boolean f);
201 // C++: void cv::FastFeatureDetector::setThreshold(int threshold)
202 private static native void setThreshold_0(long nativeObj, int threshold);
204 // C++: void cv::FastFeatureDetector::setType(FastFeatureDetector_DetectorType type)
205 private static native void setType_0(long nativeObj, int type);
207 // native support for java finalize()
208 private static native void delete(long nativeObj);