Go to the documentation of this file.
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,
bool clearDatabase)
94 std::string databasePathC;
96 if(native_application)
102 UERROR(
"native_application is null!");
107 JNIEXPORT
bool JNICALL
109 JNIEnv*
env, jclass, jlong native_application, jstring from, jstring to)
111 if(native_application)
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)
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,
double stamp)
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 rgb_fx,
float rgb_fy,
float rgb_cx,
float rgb_cy,
890 float rgbFrameX,
float rgbFrameY,
float rgbFrameZ,
float rgbFrameQX,
float rgbFrameQY,
float rgbFrameQZ,
float rgbFrameQW,
892 jobject yPlane, jobject uPlane, jobject vPlane,
int yPlaneLen,
int rgbWidth,
int rgbHeight,
int rgbFormat,
893 jobject points,
int pointsLen,
894 float vx,
float vy,
float vz,
float vqx,
float vqy,
float vqz,
float vqw,
895 float p00,
float p11,
float p02,
float p12,
float p22,
float p32,
float p23,
896 float t0,
float t1,
float t2,
float t3,
float t4,
float t5,
float t6,
float t7)
898 if(native_application)
900 void *yPtr =
env->GetDirectBufferAddress(yPlane);
901 void *uPtr =
env->GetDirectBufferAddress(uPlane);
902 void *vPtr =
env->GetDirectBufferAddress(vPlane);
903 float *pointsPtr = (
float *)
env->GetDirectBufferAddress(points);
906 rgb_fx,rgb_fy,rgb_cx,rgb_cy,
908 rtabmap::Transform(rgbFrameX, rgbFrameY, rgbFrameZ, rgbFrameQX, rgbFrameQY, rgbFrameQZ, rgbFrameQW),
912 yPtr, uPtr, vPtr, yPlaneLen, rgbWidth, rgbHeight, rgbFormat,
915 pointsPtr, pointsLen, 4,
917 p00, p11, p02, p12,
p22, p32, p23,
918 t0, t1, t2, t3, t4, t5, t6, t7);
922 UERROR(
"native_application is null!");
927 JNIEXPORT
void JNICALL
929 JNIEnv*
env, jclass, jlong native_application,
930 float x,
float y,
float z,
float qx,
float qy,
float qz,
float qw,
931 float rgb_fx,
float rgb_fy,
float rgb_cx,
float rgb_cy,
932 float depth_fx,
float depth_fy,
float depth_cx,
float depth_cy,
933 float rgbFrameX,
float rgbFrameY,
float rgbFrameZ,
float rgbFrameQX,
float rgbFrameQY,
float rgbFrameQZ,
float rgbFrameQW,
934 float depthFrameX,
float depthFrameY,
float depthFrameZ,
float depthFrameQX,
float depthFrameQY,
float depthFrameQZ,
float depthFrameQW,
937 jobject yPlane, jobject uPlane, jobject vPlane,
int yPlaneLen,
int rgbWidth,
int rgbHeight,
int rgbFormat,
938 jobject depth,
int depthLen,
int depthWidth,
int depthHeight,
int depthFormat,
939 jobject points,
int pointsLen,
940 float vx,
float vy,
float vz,
float vqx,
float vqy,
float vqz,
float vqw,
941 float p00,
float p11,
float p02,
float p12,
float p22,
float p32,
float p23,
942 float t0,
float t1,
float t2,
float t3,
float t4,
float t5,
float t6,
float t7)
944 void *yPtr =
env->GetDirectBufferAddress(yPlane);
945 void *uPtr =
env->GetDirectBufferAddress(uPlane);
946 void *vPtr =
env->GetDirectBufferAddress(vPlane);
947 void *depthPtr =
env->GetDirectBufferAddress(depth);
948 float *pointsPtr = (
float *)
env->GetDirectBufferAddress(points);
951 rgb_fx,rgb_fy,rgb_cx,rgb_cy,
952 depth_fx,depth_fy,depth_cx,depth_cy,
953 rtabmap::Transform(rgbFrameX, rgbFrameY, rgbFrameZ, rgbFrameQX, rgbFrameQY, rgbFrameQZ, rgbFrameQW),
954 rtabmap::Transform(depthFrameX, depthFrameY, depthFrameZ, depthFrameQX, depthFrameQY, depthFrameQZ, depthFrameQW),
957 yPtr, uPtr, vPtr, yPlaneLen, rgbWidth, rgbHeight, rgbFormat,
958 depthPtr, depthLen, depthWidth, depthHeight, depthFormat,
960 pointsPtr, pointsLen, 4,
962 p00, p11, p02, p12,
p22, p32, p23,
963 t0, t1, t2, t3, t4, t5, t6, t7);
JNIEXPORT int JNICALL Java_com_introlab_rtabmap_RTABMapLib_render(JNIEnv *, jclass, jlong native_application)
void setMinCloudDepth(float value)
bool recover(const std::string &from, const std::string &to)
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_setMeshAngleTolerance(JNIEnv *, jclass, jlong native_application, float value)
void setSmoothing(bool enabled)
void setGridRotation(float value)
JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_postExportation(JNIEnv *env, jclass, jlong native_application, bool visualize)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_initGlContent(JNIEnv *, jclass, jlong native_application)
void setFullResolution(bool enabled)
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)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setDepthFromMotion(JNIEnv *, jclass, jlong native_application, bool enabled)
void setAppendMode(bool enabled)
void setGraphOptimization(bool enabled)
void setOnlineBlending(bool enabled)
void setScreenRotation(int displayRotation, int cameraRotation)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMapCloudShown(JNIEnv *, jclass, jlong native_application, bool shown)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setOnlineBlending(JNIEnv *, jclass, jlong native_application, bool enabled)
void setRawScanSaved(bool enabled)
void SetCameraType(tango_gl::GestureCamera::CameraType camera_type)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_stopCamera(JNIEnv *, jclass, jlong native_application)
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)
void setLocalizationMode(bool enabled)
void setCameraColor(bool enabled)
JNIEXPORT jlong JNICALL Java_com_introlab_rtabmap_RTABMapLib_createNativeApplication(JNIEnv *env, jclass, jobject activity)
void setWireframe(bool enabled)
bool isBuiltWith(int cameraDriver) const
void setDataRecorderMode(bool enabled)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setRenderingTextureDecimation(JNIEnv *, jclass, jlong native_application, int value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setupGraphic(JNIEnv *, jclass, jlong native_application, jint width, jint height)
void setDepthFromMotion(bool enabled)
void setMeshTriangleSize(int value)
void SetViewPort(int width, int height)
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_setMaxCloudDepth(JNIEnv *, jclass, jlong native_application, float value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMinCloudDepth(JNIEnv *, jclass, jlong native_application, float value)
JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_isBuiltWith(JNIEnv *env, jclass, jlong native_application, int cameraDriver)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGridRotation(JNIEnv *, jclass, jlong native_application, float value)
JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_writeExportedMesh(JNIEnv *env, jclass, jlong native_application, jstring directory, jstring name)
void setMaxCloudDepth(float value)
void setGraphVisible(bool visible)
int postProcessing(int approach)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMeshRendering(JNIEnv *, jclass, jlong native_application, bool enabled, bool withTexture)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMaxGainRadius(JNIEnv *, jclass, jlong native_application, float value)
void setRenderingTextureDecimation(int value)
JNIEXPORT void Java_com_introlab_rtabmap_RTABMapLib_destroyNativeApplication(JNIEnv *, jclass, jlong native_application)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setSmoothing(JNIEnv *, jclass, jlong native_application, bool enabled)
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 rgb_fx, float rgb_fy, float rgb_cx, float rgb_cy, float rgbFrameX, float rgbFrameY, float rgbFrameZ, float rgbFrameQX, float rgbFrameQY, float rgbFrameQZ, float rgbFrameQW, double stamp, jobject yPlane, jobject uPlane, jobject vPlane, int yPlaneLen, int rgbWidth, int rgbHeight, int rgbFormat, jobject points, int pointsLen, float vx, float vy, float vz, float vqx, float vqy, float vqz, float vqw, float p00, float p11, float p02, float p12, float p22, float p32, float p23, float t0, float t1, float t2, float t3, float t4, float t5, float t6, float t7)
void setPointSize(float value)
void setGridVisible(bool visible)
jlong jptr(RTABMapApp *native_computer_vision_application)
gtsam.ISAM2 optimize(List[GpsMeasurement] gps_measurements, List[ImuMeasurement] imu_measurements, gtsam.noiseModel.Diagonal sigma_init_x, gtsam.noiseModel.Diagonal sigma_init_v, gtsam.noiseModel.Diagonal sigma_init_b, gtsam.noiseModel.Diagonal noise_model_gps, KittiCalibration kitti_calibration, int first_gps_pose, int gps_skip)
void setCloudDensityLevel(int value)
void OnTouchEvent(int touch_count, tango_gl::GestureCamera::TouchEvent event, float x0, float y0, float x1, float y1)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setClusterRatio(JNIEnv *, jclass, jlong native_application, float value)
StridedVectorType vy(make_vector(y, *n, std::abs(*incy)))
void setMeshAngleTolerance(float value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setOdomCloudShown(JNIEnv *, jclass, jlong native_application, bool shown)
void setBackfaceCulling(bool enabled)
void setMaxGainRadius(float value)
void postOdometryEvent(rtabmap::Transform pose, float rgb_fx, float rgb_fy, float rgb_cx, float rgb_cy, float depth_fx, float depth_fy, float depth_cx, float depth_cy, const rtabmap::Transform &rgbFrame, const rtabmap::Transform &depthFrame, double stamp, double depthStamp, const void *yPlane, const void *uPlane, const void *vPlane, int yPlaneLen, int rgbWidth, int rgbHeight, int rgbFormat, const void *depth, int depthLen, int depthWidth, int depthHeight, int depthFormat, const void *conf, int confLen, int confWidth, int confHeight, int confFormat, const float *points, int pointsLen, int pointsChannels, const rtabmap::Transform &viewMatrix, float p00, float p11, float p02, float p12, float p22, float p32, float p23, float t0, float t1, float t2, float t3, float t4, float t5, float t6, float t7)
JNIEXPORT int JNICALL Java_com_introlab_rtabmap_RTABMapLib_openDatabase(JNIEnv *env, jclass, jlong native_application, jstring databasePath, bool databaseInMemory, bool optimize, bool clearDatabase)
void save(const std::string &databasePath)
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_setLocalizationMode(JNIEnv *, jclass, jlong native_application, bool enabled)
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_setScreenRotation(JNIEnv *env, jclass, jlong native_application, int displayRotation, int cameraRotation)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setAppendMode(JNIEnv *, jclass, jlong native_application, bool enabled)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setCameraColor(JNIEnv *, jclass, jlong native_application, bool enabled)
bool writeExportedMesh(const std::string &directory, const std::string &name)
void setLighting(bool enabled)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setPausedMapping(JNIEnv *, jclass, jlong native_application, bool paused)
JNIEXPORT jint JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMappingParameter(JNIEnv *env, jclass, jlong native_application, jstring key, jstring value)
JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_startCamera(JNIEnv *env, jclass, jlong native_application, jobject iBinder, jobject context, jobject activity, int driver)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setBackgroundColor(JNIEnv *, jclass, jlong native_application, float value)
void setBackgroundColor(float gray)
const gtsam::Symbol key( 'X', 0)
CEPHES_EXTERN_EXPORT double y1(double x)
int setMappingParameter(const std::string &key, const std::string &value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGridVisible(JNIEnv *, jclass, jlong native_application, bool visible)
void setOrthoCropFactor(float value)
void setClusterRatio(float value)
RTABMapApp * native(jlong ptr)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_save(JNIEnv *env, jclass, jlong native_application, jstring databasePath)
void postCameraPoseEvent(float x, float y, float z, float qx, float qy, float qz, float qw, double stamp)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setWireframe(JNIEnv *, jclass, jlong native_application, bool enabled)
void setMapCloudShown(bool shown)
CEPHES_EXTERN_EXPORT double y0(double x)
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, double stamp)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setCloudDensityLevel(JNIEnv *, jclass, jlong native_application, int value)
bool postExportation(bool visualize)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setFullResolution(JNIEnv *, jclass, jlong native_application, bool enabled)
int openDatabase(const std::string &databasePath, bool databaseInMemory, bool optimize, bool clearDatabase)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setLighting(JNIEnv *, jclass, jlong native_application, bool enabled)
JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_recover(JNIEnv *env, jclass, jlong native_application, jstring from, jstring to)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setRawScanSaved(JNIEnv *, jclass, jlong native_application, bool enabled)
void setGPS(const rtabmap::GPS &gps)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setOrthoCropFactor(JNIEnv *, jclass, jlong native_application, float value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setTrajectoryMode(JNIEnv *, jclass, jlong native_application, bool enabled)
void GetJStringContent(JNIEnv *AEnv, jstring AStr, std::string &ARes)
void setPausedMapping(bool paused)
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_setMeshTriangleSize(JNIEnv *, jclass, jlong native_application, int value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_cancelProcessing(JNIEnv *env, jclass, jlong native_application)
void InitializeGLContent()
void setMeshRendering(bool enabled, bool withTexture)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGraphOptimization(JNIEnv *, jclass, jlong native_application, bool enabled)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setDataRecorderMode(JNIEnv *, jclass, jlong native_application, bool enabled)
void setNodesFiltering(bool enabled)
void setOdomCloudShown(bool shown)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGraphVisible(JNIEnv *, jclass, jlong native_application, bool visible)
void addEnvSensor(int type, float value)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setBackfaceCulling(JNIEnv *, jclass, jlong native_application, bool enabled)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_postOdometryEventDepth(JNIEnv *env, jclass, jlong native_application, float x, float y, float z, float qx, float qy, float qz, float qw, float rgb_fx, float rgb_fy, float rgb_cx, float rgb_cy, float depth_fx, float depth_fy, float depth_cx, float depth_cy, float rgbFrameX, float rgbFrameY, float rgbFrameZ, float rgbFrameQX, float rgbFrameQY, float rgbFrameQZ, float rgbFrameQW, float depthFrameX, float depthFrameY, float depthFrameZ, float depthFrameQX, float depthFrameQY, float depthFrameQZ, float depthFrameQW, double rgbStamp, double depthStamp, 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, float vx, float vy, float vz, float vqx, float vqy, float vqz, float vqw, float p00, float p11, float p02, float p12, float p22, float p32, float p23, float t0, float t1, float t2, float t3, float t4, float t5, float t6, float t7)
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setCamera(JNIEnv *, jclass, jlong native_application, int camera_index)
StridedVectorType vx(make_vector(x, *n, std::abs(*incx)))
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setFOV(JNIEnv *, jclass, jlong native_application, float fov)
void setTrajectoryMode(bool enabled)
rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:11