28 #define GLM_FORCE_RADIANS 44 const char *s = AEnv->GetStringUTFChars(AStr,
NULL);
46 AEnv->ReleaseStringUTFChars(AStr,s);
50 return reinterpret_cast<intptr_t
>(native_computer_vision_application);
57 JNIEXPORT jlong JNICALL
59 JNIEnv* env, jclass, jobject activity)
65 JNIEnv *, jclass, jlong native_application) {
66 if(native_application)
68 delete native(native_application);
72 UERROR(
"native_application is null!");
76 JNIEXPORT
void JNICALL
78 JNIEnv* env, jclass, jlong native_application,
int displayRotation,
int cameraRotation)
80 if(native_application)
86 UERROR(
"native_application is null!");
92 JNIEnv* env, jclass, jlong native_application, jstring databasePath,
bool databaseInMemory,
bool optimize)
94 std::string databasePathC;
96 if(native_application)
98 return native(native_application)->
openDatabase(databasePathC, databaseInMemory, optimize);
102 UERROR(
"native_application is null!");
107 JNIEXPORT
int JNICALL
109 JNIEnv* env, jclass, jlong native_application, jstring databaseSource, jstring databasePath,
bool databaseInMemory,
bool optimize)
111 if(native_application)
113 std::string databasePathC;
115 std::string databaseSourceC;
117 return native(native_application)->
openDatabase(databasePathC, databaseInMemory, optimize, databaseSourceC);
121 UERROR(
"native_application is null!");
126 JNIEXPORT
bool JNICALL
128 JNIEnv* env, jclass, jlong native_application,
int cameraDriver) {
129 if(native_application)
135 UERROR(
"native_application is null!");
140 JNIEXPORT
bool JNICALL
142 JNIEnv* env, jclass, jlong native_application, jobject iBinder, jobject context, jobject activity,
int driver) {
143 if(native_application)
145 return native(native_application)->
startCamera(env, iBinder, context, activity, driver);
149 UERROR(
"native_application is null!");
154 JNIEXPORT
void JNICALL
156 JNIEnv*, jclass, jlong native_application) {
157 if(native_application)
163 UERROR(
"native_application is null!");
167 JNIEXPORT
void JNICALL
169 JNIEnv*, jclass, jlong native_application, jint width, jint height) {
170 if(native_application)
176 UERROR(
"native_application is null!");
180 JNIEXPORT
int JNICALL
182 JNIEnv*, jclass, jlong native_application) {
183 if(native_application)
189 UERROR(
"native_application is null!");
194 JNIEXPORT
void JNICALL
196 JNIEnv*, jclass, jlong native_application) {
197 if(native_application)
203 UERROR(
"native_application is null!");
207 JNIEXPORT
void JNICALL
209 JNIEnv*, jclass, jlong native_application,
int camera_index) {
210 if(native_application)
219 UERROR(
"native_application is null!");
223 JNIEXPORT
void JNICALL
225 JNIEnv*, jclass, jlong native_application,
int touch_count,
int event,
float x0,
float y0,
float x1,
227 if(native_application)
236 UERROR(
"native_application is null!");
240 JNIEXPORT
void JNICALL
242 JNIEnv*, jclass, jlong native_application,
bool paused)
244 if(native_application)
250 UERROR(
"native_application is null!");
253 JNIEXPORT
void JNICALL
255 JNIEnv*, jclass, jlong native_application,
bool enabled)
257 if(native_application)
263 UERROR(
"native_application is null!");
266 JNIEXPORT
void JNICALL
268 JNIEnv*, jclass, jlong native_application,
bool shown)
270 if(native_application)
276 UERROR(
"native_application is null!");
279 JNIEXPORT
void JNICALL
281 JNIEnv*, jclass, jlong native_application,
bool shown)
283 if(native_application)
289 UERROR(
"native_application is null!");
292 JNIEXPORT
void JNICALL
294 JNIEnv*, jclass, jlong native_application,
bool enabled,
bool withTexture)
296 if(native_application)
302 UERROR(
"native_application is null!");
305 JNIEXPORT
void JNICALL
307 JNIEnv*, jclass, jlong native_application,
float value)
309 if(native_application)
315 UERROR(
"native_application is null!");
319 JNIEXPORT
void JNICALL
321 JNIEnv*, jclass, jlong native_application,
float fov)
323 if(native_application)
329 UERROR(
"native_application is null!");
332 JNIEXPORT
void JNICALL
334 JNIEnv*, jclass, jlong native_application,
float value)
336 if(native_application)
342 UERROR(
"native_application is null!");
345 JNIEXPORT
void JNICALL
347 JNIEnv*, jclass, jlong native_application,
float value)
349 if(native_application)
355 UERROR(
"native_application is null!");
358 JNIEXPORT
void JNICALL
360 JNIEnv*, jclass, jlong native_application,
bool enabled)
362 if(native_application)
368 UERROR(
"native_application is null!");
371 JNIEXPORT
void JNICALL
373 JNIEnv*, jclass, jlong native_application,
bool enabled)
375 if(native_application)
381 UERROR(
"native_application is null!");
384 JNIEXPORT
void JNICALL
386 JNIEnv*, jclass, jlong native_application,
bool enabled)
388 if(native_application)
394 UERROR(
"native_application is null!");
397 JNIEXPORT
void JNICALL
399 JNIEnv*, jclass, jlong native_application,
bool enabled)
401 if(native_application)
407 UERROR(
"native_application is null!");
410 JNIEXPORT
void JNICALL
412 JNIEnv*, jclass, jlong native_application,
bool enabled)
414 if(native_application)
420 UERROR(
"native_application is null!");
423 JNIEXPORT
void JNICALL
425 JNIEnv*, jclass, jlong native_application,
bool enabled)
427 if(native_application)
433 UERROR(
"native_application is null!");
436 JNIEXPORT
void JNICALL
438 JNIEnv*, jclass, jlong native_application,
bool enabled)
440 if(native_application)
446 UERROR(
"native_application is null!");
449 JNIEXPORT
void JNICALL
451 JNIEnv*, jclass, jlong native_application,
bool visible)
453 if(native_application)
459 UERROR(
"native_application is null!");
462 JNIEXPORT
void JNICALL
464 JNIEnv*, jclass, jlong native_application,
bool visible)
466 if(native_application)
472 UERROR(
"native_application is null!");
475 JNIEXPORT
void JNICALL
477 JNIEnv*, jclass, jlong native_application,
bool enabled)
479 if(native_application)
485 UERROR(
"native_application is null!");
488 JNIEXPORT
void JNICALL
490 JNIEnv*, jclass, jlong native_application,
bool enabled)
492 if(native_application)
498 UERROR(
"native_application is null!");
501 JNIEXPORT
void JNICALL
503 JNIEnv*, jclass, jlong native_application,
bool enabled)
505 if(native_application)
511 UERROR(
"native_application is null!");
514 JNIEXPORT
void JNICALL
516 JNIEnv*, jclass, jlong native_application,
bool enabled)
518 if(native_application)
524 UERROR(
"native_application is null!");
527 JNIEXPORT
void JNICALL
529 JNIEnv*, jclass, jlong native_application,
bool enabled)
531 if(native_application)
537 UERROR(
"native_application is null!");
540 JNIEXPORT
void JNICALL
542 JNIEnv*, jclass, jlong native_application,
bool enabled)
544 if(native_application)
550 UERROR(
"native_application is null!");
553 JNIEXPORT
void JNICALL
555 JNIEnv*, jclass, jlong native_application,
bool enabled)
557 if(native_application)
563 UERROR(
"native_application is null!");
566 JNIEXPORT
void JNICALL
568 JNIEnv*, jclass, jlong native_application,
float value)
570 if(native_application)
576 UERROR(
"native_application is null!");
579 JNIEXPORT
void JNICALL
581 JNIEnv*, jclass, jlong native_application,
float value)
583 if(native_application)
589 UERROR(
"native_application is null!");
592 JNIEXPORT
void JNICALL
594 JNIEnv*, jclass, jlong native_application,
int value)
596 if(native_application)
602 UERROR(
"native_application is null!");
605 JNIEXPORT
void JNICALL
607 JNIEnv*, jclass, jlong native_application,
float value)
609 if(native_application)
615 UERROR(
"native_application is null!");
618 JNIEXPORT
void JNICALL
620 JNIEnv*, jclass, jlong native_application,
int value)
622 if(native_application)
628 UERROR(
"native_application is null!");
631 JNIEXPORT
void JNICALL
633 JNIEnv*, jclass, jlong native_application,
float value)
635 if(native_application)
641 UERROR(
"native_application is null!");
644 JNIEXPORT
void JNICALL
646 JNIEnv*, jclass, jlong native_application,
float value)
648 if(native_application)
654 UERROR(
"native_application is null!");
657 JNIEXPORT
void JNICALL
659 JNIEnv*, jclass, jlong native_application,
int value)
661 if(native_application)
667 UERROR(
"native_application is null!");
670 JNIEXPORT
void JNICALL
672 JNIEnv*, jclass, jlong native_application,
float value)
674 if(native_application)
680 UERROR(
"native_application is null!");
683 JNIEXPORT jint JNICALL
685 JNIEnv* env, jclass, jlong native_application, jstring key, jstring value)
687 if(native_application)
689 std::string keyC, valueC;
696 UERROR(
"native_application is null!");
701 JNIEXPORT
void JNICALL
703 JNIEnv*, jclass, jlong native_application,
711 if(native_application)
722 UERROR(
"native_application is null!");
726 JNIEXPORT
void JNICALL
728 JNIEnv*, jclass, jlong native_application,
732 if(native_application)
738 UERROR(
"native_application is null!");
742 JNIEXPORT
void JNICALL
744 JNIEnv* env, jclass, jlong native_application, jstring databasePath)
746 if(native_application)
748 std::string databasePathC;
750 return native(native_application)->
save(databasePathC);
754 UERROR(
"native_application is null!");
758 JNIEXPORT
void JNICALL
760 JNIEnv* env, jclass, jlong native_application)
762 if(native_application)
768 UERROR(
"native_application is null!");
772 JNIEXPORT
bool JNICALL
774 JNIEnv* env, jclass, jlong native_application,
775 float cloudVoxelSize,
776 bool regenerateCloud,
782 float optimizedVoxelSize,
784 int optimizedMaxPolygons,
785 float optimizedColorRadius,
786 bool optimizedCleanWhitePolygons,
787 int optimizedMinClusterSize,
788 float optimizedMaxTextureDistance,
789 int optimizedMinTextureClusterSize,
792 if(native_application)
804 optimizedMaxPolygons,
805 optimizedColorRadius,
806 optimizedCleanWhitePolygons,
807 optimizedMinClusterSize,
808 optimizedMaxTextureDistance,
809 optimizedMinTextureClusterSize,
814 UERROR(
"native_application is null!");
819 JNIEXPORT
bool JNICALL
821 JNIEnv* env, jclass, jlong native_application,
bool visualize)
823 if(native_application)
829 UERROR(
"native_application is null!");
834 JNIEXPORT
bool JNICALL
836 JNIEnv* env, jclass, jlong native_application, jstring directory, jstring name)
838 if(native_application)
840 std::string directoryC;
848 UERROR(
"native_application is null!");
854 JNIEXPORT
int JNICALL
856 JNIEnv* env, jclass, jlong native_application,
int approach)
858 if(native_application)
864 UERROR(
"native_application is null!");
869 JNIEXPORT
void JNICALL
871 JNIEnv* env, jclass, jlong native_application,
872 float x,
float y,
float z,
float qx,
float qy,
float qz,
float qw)
874 if(native_application)
880 UERROR(
"native_application is null!");
885 JNIEXPORT
void JNICALL
887 JNIEnv* env, jclass, jlong native_application,
888 float x,
float y,
float z,
float qx,
float qy,
float qz,
float qw,
889 float fx,
float fy,
float cx,
float cy,
891 jobject yPlane, jobject uPlane, jobject vPlane,
int yPlaneLen,
int rgbWidth,
int rgbHeight,
int rgbFormat,
892 jobject depth,
int depthLen,
int depthWidth,
int depthHeight,
int depthFormat,
893 jobject points,
int pointsLen)
895 if(native_application)
897 void *yPtr = env->GetDirectBufferAddress(yPlane);
898 void *uPtr = env->GetDirectBufferAddress(uPlane);
899 void *vPtr = env->GetDirectBufferAddress(vPlane);
900 void *depthPtr = env->GetDirectBufferAddress(depth);
901 float *pointsPtr = (
float *)env->GetDirectBufferAddress(points);
906 yPtr, uPtr, vPtr, yPlaneLen, rgbWidth, rgbHeight, rgbFormat,
907 depthPtr, depthLen, depthWidth, depthHeight, depthFormat,
908 pointsPtr, pointsLen);
912 UERROR(
"native_application is null!");
void save(const std::string &databasePath)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_initGlContent(JNIEnv *, jclass, jlong native_application)
JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_exportMesh(JNIEnv *env, jclass, jlong native_application, float cloudVoxelSize, bool regenerateCloud, bool meshing, int textureSize, int textureCount, int normalK, bool optimized, float optimizedVoxelSize, int optimizedDepth, int optimizedMaxPolygons, float optimizedColorRadius, bool optimizedCleanWhitePolygons, int optimizedMinClusterSize, float optimizedMaxTextureDistance, int optimizedMinTextureClusterSize, bool blockRendering)
void OnTouchEvent(int touch_count, tango_gl::GestureCamera::TouchEvent event, float x0, float y0, float x1, float y1)
void setCameraColor(bool enabled)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setBackfaceCulling(JNIEnv *, jclass, jlong native_application, bool enabled)
void setMaxGainRadius(float value)
int openDatabase(const std::string &databasePath, bool databaseInMemory, bool optimize, const std::string &databaseSource=std::string())
void setWireframe(bool enabled)
void setAppendMode(bool enabled)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setCamera(JNIEnv *, jclass, jlong native_application, int camera_index)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGridRotation(JNIEnv *, jclass, jlong native_application, float value)
int setMappingParameter(const std::string &key, const std::string &value)
void SetViewPort(int width, int height)
void setSmoothing(bool enabled)
JNIEXPORT int JNICALL Java_com_introlab_rtabmap_RTABMapLib_postProcessing(JNIEnv *env, jclass, jlong native_application, int approach)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setLighting(JNIEnv *, jclass, jlong native_application, bool enabled)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMinCloudDepth(JNIEnv *, jclass, jlong native_application, float value)
void postCameraPoseEvent(float x, float y, float z, float qx, float qy, float qz, float qw)
JNIEXPORT jlong JNICALL Java_com_introlab_rtabmap_RTABMapLib_createNativeApplication(JNIEnv *env, jclass, jobject activity)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setPointSize(JNIEnv *, jclass, jlong native_application, float value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setNodesFiltering(JNIEnv *, jclass, jlong native_application, bool enabled)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_cancelProcessing(JNIEnv *env, jclass, jlong native_application)
void setGraphOptimization(bool enabled)
JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_isBuiltWith(JNIEnv *env, jclass, jlong native_application, int cameraDriver)
void setGraphVisible(bool visible)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setOdomCloudShown(JNIEnv *, jclass, jlong native_application, bool shown)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setSmoothing(JNIEnv *, jclass, jlong native_application, bool enabled)
void setDepthFromMotion(bool enabled)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setOnlineBlending(JNIEnv *, jclass, jlong native_application, bool enabled)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setDepthFromMotion(JNIEnv *, jclass, jlong native_application, bool enabled)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGPS(JNIEnv *, jclass, jlong native_application, double stamp, double longitude, double latitude, double altitude, double accuracy, double bearing)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_addEnvSensor(JNIEnv *, jclass, jlong native_application, int type, float value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setRenderingTextureDecimation(JNIEnv *, jclass, jlong native_application, int value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMaxGainRadius(JNIEnv *, jclass, jlong native_application, float value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGridVisible(JNIEnv *, jclass, jlong native_application, bool visible)
void setCloudDensityLevel(int value)
void InitializeGLContent()
int postProcessing(int approach)
JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_writeExportedMesh(JNIEnv *env, jclass, jlong native_application, jstring directory, jstring name)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setCameraColor(JNIEnv *, jclass, jlong native_application, bool enabled)
void setRenderingTextureDecimation(int value)
void setClusterRatio(float value)
void setOrthoCropFactor(float value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setClusterRatio(JNIEnv *, jclass, jlong native_application, float value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMapCloudShown(JNIEnv *, jclass, jlong native_application, bool shown)
void setGPS(const rtabmap::GPS &gps)
JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_postExportation(JNIEnv *env, jclass, jlong native_application, bool visualize)
void setPointSize(float value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setAppendMode(JNIEnv *, jclass, jlong native_application, bool enabled)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setupGraphic(JNIEnv *, jclass, jlong native_application, jint width, jint height)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setWireframe(JNIEnv *, jclass, jlong native_application, bool enabled)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setLocalizationMode(JNIEnv *, jclass, jlong native_application, bool enabled)
void setTrajectoryMode(bool enabled)
bool startCamera(JNIEnv *env, jobject iBinder, jobject context, jobject activity, int driver)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setCloudDensityLevel(JNIEnv *, jclass, jlong native_application, int value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setFullResolution(JNIEnv *, jclass, jlong native_application, bool enabled)
JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_startCamera(JNIEnv *env, jclass, jlong native_application, jobject iBinder, jobject context, jobject activity, int driver)
void setMaxCloudDepth(float value)
void setGridRotation(float value)
void setBackfaceCulling(bool enabled)
void setRawScanSaved(bool enabled)
void SetCameraType(tango_gl::GestureCamera::CameraType camera_type)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setPausedMapping(JNIEnv *, jclass, jlong native_application, bool paused)
bool isBuiltWith(int cameraDriver) const
void postOdometryEvent(float x, float y, float z, float qx, float qy, float qz, float qw, float fx, float fy, float cx, float cy, double stamp, void *yPlane, void *uPlane, void *vPlane, int yPlaneLen, int rgbWidth, int rgbHeight, int rgbFormat, void *depth, int depthLen, int depthWidth, int depthHeight, int depthFormat, float *points, int pointsLen)
bool postExportation(bool visualize)
void setBackgroundColor(float gray)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMeshTriangleSize(JNIEnv *, jclass, jlong native_application, int value)
void setMeshRendering(bool enabled, bool withTexture)
void setNodesFiltering(bool enabled)
void setMapCloudShown(bool shown)
JNIEXPORT void Java_com_introlab_rtabmap_RTABMapLib_destroyNativeApplication(JNIEnv *, jclass, jlong native_application)
JNIEXPORT jint JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMappingParameter(JNIEnv *env, jclass, jlong native_application, jstring key, jstring value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_onTouchEvent(JNIEnv *, jclass, jlong native_application, int touch_count, int event, float x0, float y0, float x1, float y1)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGraphVisible(JNIEnv *, jclass, jlong native_application, bool visible)
jlong jptr(RTABMapApp *native_computer_vision_application)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_postOdometryEvent(JNIEnv *env, jclass, jlong native_application, float x, float y, float z, float qx, float qy, float qz, float qw, float fx, float fy, float cx, float cy, double stamp, jobject yPlane, jobject uPlane, jobject vPlane, int yPlaneLen, int rgbWidth, int rgbHeight, int rgbFormat, jobject depth, int depthLen, int depthWidth, int depthHeight, int depthFormat, jobject points, int pointsLen)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setRawScanSaved(JNIEnv *, jclass, jlong native_application, bool enabled)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMeshAngleTolerance(JNIEnv *, jclass, jlong native_application, float value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setFOV(JNIEnv *, jclass, jlong native_application, float fov)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setTrajectoryMode(JNIEnv *, jclass, jlong native_application, bool enabled)
void setMinCloudDepth(float value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setScreenRotation(JNIEnv *env, jclass, jlong native_application, int displayRotation, int cameraRotation)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setBackgroundColor(JNIEnv *, jclass, jlong native_application, float value)
void setOnlineBlending(bool enabled)
void setDataRecorderMode(bool enabled)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setOrthoCropFactor(JNIEnv *, jclass, jlong native_application, float value)
bool writeExportedMesh(const std::string &directory, const std::string &name)
RTABMapApp * native(jlong ptr)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGraphOptimization(JNIEnv *, jclass, jlong native_application, bool enabled)
void setMeshTriangleSize(int value)
void setGridVisible(bool visible)
bool exportMesh(float cloudVoxelSize, bool regenerateCloud, bool meshing, int textureSize, int textureCount, int normalK, bool optimized, float optimizedVoxelSize, int optimizedDepth, int optimizedMaxPolygons, float optimizedColorRadius, bool optimizedCleanWhitePolygons, int optimizedMinClusterSize, float optimizedMaxTextureDistance, int optimizedMinTextureClusterSize, bool blockRendering)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_postCameraPoseEvent(JNIEnv *env, jclass, jlong native_application, float x, float y, float z, float qx, float qy, float qz, float qw)
JNIEXPORT int JNICALL Java_com_introlab_rtabmap_RTABMapLib_openDatabase(JNIEnv *env, jclass, jlong native_application, jstring databasePath, bool databaseInMemory, bool optimize)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_save(JNIEnv *env, jclass, jlong native_application, jstring databasePath)
void setFullResolution(bool enabled)
void setMeshAngleTolerance(float value)
void addEnvSensor(int type, float value)
void setScreenRotation(int displayRotation, int cameraRotation)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_stopCamera(JNIEnv *, jclass, jlong native_application)
JNIEXPORT int JNICALL Java_com_introlab_rtabmap_RTABMapLib_openDatabase2(JNIEnv *env, jclass, jlong native_application, jstring databaseSource, jstring databasePath, bool databaseInMemory, bool optimize)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMeshRendering(JNIEnv *, jclass, jlong native_application, bool enabled, bool withTexture)
void setLighting(bool enabled)
void setPausedMapping(bool paused)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMaxCloudDepth(JNIEnv *, jclass, jlong native_application, float value)
void setOdomCloudShown(bool shown)
void GetJStringContent(JNIEnv *AEnv, jstring AStr, std::string &ARes)
void setLocalizationMode(bool enabled)
JNIEXPORT int JNICALL Java_com_introlab_rtabmap_RTABMapLib_render(JNIEnv *, jclass, jlong native_application)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setDataRecorderMode(JNIEnv *, jclass, jlong native_application, bool enabled)