Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
d86605f6
Commit
d86605f6
authored
Aug 02, 2011
by
Andrey Pavlenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Java API: class KDTree is added to ignore list, JNI funcs names for renamed classes are fixed
parent
6ff975af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
105 deletions
+5
-105
KDTreeTest.java
...ava/android_test/src/org/opencv/test/core/KDTreeTest.java
+0
-103
gen_java.py
modules/java/gen_java.py
+5
-2
No files found.
modules/java/android_test/src/org/opencv/test/core/KDTreeTest.java
deleted
100644 → 0
View file @
6ff975af
package
org
.
opencv
.
test
.
core
;
import
org.opencv.test.OpenCVTestCase
;
public
class
KDTreeTest
extends
OpenCVTestCase
{
protected
void
setUp
()
throws
Exception
{
super
.
setUp
();
}
public
void
testBuildMat
()
{
fail
(
"Not yet implemented"
);
}
public
void
testBuildMatBoolean
()
{
fail
(
"Not yet implemented"
);
}
public
void
testBuildMatMat
()
{
fail
(
"Not yet implemented"
);
}
public
void
testBuildMatMatBoolean
()
{
fail
(
"Not yet implemented"
);
}
public
void
testDims
()
{
fail
(
"Not yet implemented"
);
}
public
void
testFindNearestMatIntIntMat
()
{
fail
(
"Not yet implemented"
);
}
public
void
testFindNearestMatIntIntMatMat
()
{
fail
(
"Not yet implemented"
);
}
public
void
testFindNearestMatIntIntMatMatMat
()
{
fail
(
"Not yet implemented"
);
}
public
void
testFindNearestMatIntIntMatMatMatMat
()
{
fail
(
"Not yet implemented"
);
}
public
void
testFindOrthoRangeMatMatMat
()
{
fail
(
"Not yet implemented"
);
}
public
void
testFindOrthoRangeMatMatMatMat
()
{
fail
(
"Not yet implemented"
);
}
public
void
testFindOrthoRangeMatMatMatMatMat
()
{
fail
(
"Not yet implemented"
);
}
public
void
testGet_maxDepth
()
{
fail
(
"Not yet implemented"
);
}
public
void
testGet_normType
()
{
fail
(
"Not yet implemented"
);
}
public
void
testGet_points
()
{
fail
(
"Not yet implemented"
);
}
public
void
testGetPointsMatMat
()
{
fail
(
"Not yet implemented"
);
}
public
void
testGetPointsMatMatMat
()
{
fail
(
"Not yet implemented"
);
}
public
void
testKDTree
()
{
fail
(
"Not yet implemented"
);
}
public
void
testKDTreeMat
()
{
fail
(
"Not yet implemented"
);
}
public
void
testKDTreeMatBoolean
()
{
fail
(
"Not yet implemented"
);
}
public
void
testKDTreeMatMat
()
{
fail
(
"Not yet implemented"
);
}
public
void
testKDTreeMatMatBoolean
()
{
fail
(
"Not yet implemented"
);
}
public
void
testSet_normType
()
{
fail
(
"Not yet implemented"
);
}
}
modules/java/gen_java.py
View file @
d86605f6
...
...
@@ -8,7 +8,7 @@ except:
class_ignore_list
=
(
#core
"FileNode"
,
"FileStorage"
,
"FileNode"
,
"FileStorage"
,
"KDTree"
,
#highgui
"VideoWriter"
,
"VideoCapture"
,
#features2d
...
...
@@ -1069,6 +1069,9 @@ extern "C" {
c_prologue
.
append
(
"
%
s
%
s;"
%
(
a
.
ctype
,
a
.
name
))
rtype
=
type_dict
[
fi
.
ctype
]
.
get
(
"jni_type"
,
"jdoubleArray"
)
clazz
=
self
.
Module
if
fi
.
classname
:
clazz
=
self
.
classes
[
fi
.
classname
]
.
jname
cpp_code
.
write
(
Template
(
\
"""
...
...
@@ -1099,7 +1102,7 @@ JNIEXPORT $rtype JNICALL Java_org_opencv_${module}_${clazz}_$fname
"""
)
.
substitute
(
\
rtype
=
rtype
,
\
module
=
self
.
module
,
\
clazz
=
fi
.
classname
or
self
.
Module
,
\
clazz
=
clazz
,
\
fname
=
fi
.
jni_name
+
[
""
,
suffix
][
isoverload
],
\
args
=
", "
.
join
([
"
%
s
%
s"
%
(
type_dict
[
a
.
ctype
]
.
get
(
"jni_type"
),
a
.
name
)
for
a
in
jni_args
]),
\
prologue
=
"
\n
"
.
join
(
c_prologue
),
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment