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,
float value)
557 if(native_application)
563 UERROR(
"native_application is null!");
567 JNIEXPORT
void JNICALL
569 JNIEnv*, jclass, jlong native_application,
bool enabled)
571 if(native_application)
577 UERROR(
"native_application is null!");
580 JNIEXPORT
void JNICALL
582 JNIEnv*, jclass, jlong native_application,
float value)
584 if(native_application)
590 UERROR(
"native_application is null!");
593 JNIEXPORT
void JNICALL
595 JNIEnv*, jclass, jlong native_application,
float value)
597 if(native_application)
603 UERROR(
"native_application is null!");
606 JNIEXPORT
void JNICALL
608 JNIEnv*, jclass, jlong native_application,
int value)
610 if(native_application)
616 UERROR(
"native_application is null!");
619 JNIEXPORT
void JNICALL
621 JNIEnv*, jclass, jlong native_application,
float value)
623 if(native_application)
629 UERROR(
"native_application is null!");
632 JNIEXPORT
void JNICALL
634 JNIEnv*, jclass, jlong native_application,
int value)
636 if(native_application)
642 UERROR(
"native_application is null!");
645 JNIEXPORT
void JNICALL
647 JNIEnv*, jclass, jlong native_application,
float value)
649 if(native_application)
655 UERROR(
"native_application is null!");
658 JNIEXPORT
void JNICALL
660 JNIEnv*, jclass, jlong native_application,
float value)
662 if(native_application)
668 UERROR(
"native_application is null!");
671 JNIEXPORT
void JNICALL
673 JNIEnv*, jclass, jlong native_application,
int value)
675 if(native_application)
681 UERROR(
"native_application is null!");
684 JNIEXPORT
void JNICALL
686 JNIEnv*, jclass, jlong native_application,
float value)
688 if(native_application)
694 UERROR(
"native_application is null!");
697 JNIEXPORT jint JNICALL
699 JNIEnv*
env, jclass, jlong native_application, jstring key, jstring value)
701 if(native_application)
703 std::string keyC, valueC;
710 UERROR(
"native_application is null!");
715 JNIEXPORT
void JNICALL
717 JNIEnv*, jclass, jlong native_application,
725 if(native_application)
736 UERROR(
"native_application is null!");
740 JNIEXPORT
void JNICALL
742 JNIEnv*, jclass, jlong native_application,
746 if(native_application)
752 UERROR(
"native_application is null!");
756 JNIEXPORT
void JNICALL
758 JNIEnv*
env, jclass, jlong native_application, jstring databasePath)
760 if(native_application)
762 std::string databasePathC;
764 return native(native_application)->
save(databasePathC);
768 UERROR(
"native_application is null!");
772 JNIEXPORT
void JNICALL
774 JNIEnv*
env, jclass, jlong native_application)
776 if(native_application)
782 UERROR(
"native_application is null!");
786 JNIEXPORT
bool JNICALL
788 JNIEnv*
env, jclass, jlong native_application,
789 float cloudVoxelSize,
790 bool regenerateCloud,
796 float optimizedVoxelSize,
798 int optimizedMaxPolygons,
799 float optimizedColorRadius,
800 bool optimizedCleanWhitePolygons,
801 int optimizedMinClusterSize,
802 float optimizedMaxTextureDistance,
803 int optimizedMinTextureClusterSize,
806 if(native_application)
818 optimizedMaxPolygons,
819 optimizedColorRadius,
820 optimizedCleanWhitePolygons,
821 optimizedMinClusterSize,
822 optimizedMaxTextureDistance,
823 optimizedMinTextureClusterSize,
828 UERROR(
"native_application is null!");
833 JNIEXPORT
bool JNICALL
835 JNIEnv*
env, jclass, jlong native_application,
bool visualize)
837 if(native_application)
843 UERROR(
"native_application is null!");
848 JNIEXPORT
bool JNICALL
850 JNIEnv*
env, jclass, jlong native_application, jstring directory, jstring
name)
852 if(native_application)
854 std::string directoryC;
862 UERROR(
"native_application is null!");
868 JNIEXPORT
int JNICALL
870 JNIEnv*
env, jclass, jlong native_application,
int approach)
872 if(native_application)
878 UERROR(
"native_application is null!");
883 JNIEXPORT
void JNICALL
885 JNIEnv*
env, jclass, jlong native_application,
886 float x,
float y,
float z,
float qx,
float qy,
float qz,
float qw,
887 float rgb_fx,
float rgb_fy,
float rgb_cx,
float rgb_cy,
888 float rgbFrameX,
float rgbFrameY,
float rgbFrameZ,
float rgbFrameQX,
float rgbFrameQY,
float rgbFrameQZ,
float rgbFrameQW,
890 jobject yPlane, jobject uPlane, jobject vPlane,
int yPlaneLen,
int rgbWidth,
int rgbHeight,
int rgbFormat,
891 jobject points,
int pointsLen,
892 float vx,
float vy,
float vz,
float vqx,
float vqy,
float vqz,
float vqw,
893 float p00,
float p11,
float p02,
float p12,
float p22,
float p32,
float p23,
894 float t0,
float t1,
float t2,
float t3,
float t4,
float t5,
float t6,
float t7)
896 if(native_application)
898 void *yPtr =
env->GetDirectBufferAddress(yPlane);
899 void *uPtr =
env->GetDirectBufferAddress(uPlane);
900 void *vPtr =
env->GetDirectBufferAddress(vPlane);
901 float *pointsPtr = (
float *)
env->GetDirectBufferAddress(points);
904 rgb_fx,rgb_fy,rgb_cx,rgb_cy,
906 rtabmap::Transform(rgbFrameX, rgbFrameY, rgbFrameZ, rgbFrameQX, rgbFrameQY, rgbFrameQZ, rgbFrameQW),
910 yPtr, uPtr, vPtr, yPlaneLen, rgbWidth, rgbHeight, rgbFormat,
913 pointsPtr, pointsLen, 4,
915 p00, p11, p02, p12,
p22, p32, p23,
916 t0, t1, t2, t3, t4, t5, t6, t7);
920 UERROR(
"native_application is null!");
925 JNIEXPORT
void JNICALL
927 JNIEnv*
env, jclass, jlong native_application,
928 float x,
float y,
float z,
float qx,
float qy,
float qz,
float qw,
929 float rgb_fx,
float rgb_fy,
float rgb_cx,
float rgb_cy,
930 float depth_fx,
float depth_fy,
float depth_cx,
float depth_cy,
931 float rgbFrameX,
float rgbFrameY,
float rgbFrameZ,
float rgbFrameQX,
float rgbFrameQY,
float rgbFrameQZ,
float rgbFrameQW,
932 float depthFrameX,
float depthFrameY,
float depthFrameZ,
float depthFrameQX,
float depthFrameQY,
float depthFrameQZ,
float depthFrameQW,
935 jobject yPlane, jobject uPlane, jobject vPlane,
int yPlaneLen,
int rgbWidth,
int rgbHeight,
int rgbFormat,
936 jobject depth,
int depthLen,
int depthWidth,
int depthHeight,
int depthFormat,
937 jobject points,
int pointsLen,
938 float vx,
float vy,
float vz,
float vqx,
float vqy,
float vqz,
float vqw,
939 float p00,
float p11,
float p02,
float p12,
float p22,
float p32,
float p23,
940 float t0,
float t1,
float t2,
float t3,
float t4,
float t5,
float t6,
float t7)
942 void *yPtr =
env->GetDirectBufferAddress(yPlane);
943 void *uPtr =
env->GetDirectBufferAddress(uPlane);
944 void *vPtr =
env->GetDirectBufferAddress(vPlane);
945 void *depthPtr =
env->GetDirectBufferAddress(depth);
946 float *pointsPtr = (
float *)
env->GetDirectBufferAddress(points);
949 rgb_fx,rgb_fy,rgb_cx,rgb_cy,
950 depth_fx,depth_fy,depth_cx,depth_cy,
951 rtabmap::Transform(rgbFrameX, rgbFrameY, rgbFrameZ, rgbFrameQX, rgbFrameQY, rgbFrameQZ, rgbFrameQW),
952 rtabmap::Transform(depthFrameX, depthFrameY, depthFrameZ, depthFrameQX, depthFrameQY, depthFrameQZ, depthFrameQW),
955 yPtr, uPtr, vPtr, yPlaneLen, rgbWidth, rgbHeight, rgbFormat,
956 depthPtr, depthLen, depthWidth, depthHeight, depthFormat,
958 pointsPtr, pointsLen, 4,
960 p00, p11, p02, p12,
p22, p32, p23,
961 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_setUpstreamRelocalizationAccThr(JNIEnv *, jclass, jlong native_application, float value)
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)
void setUpstreamRelocalizationAccThr(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)
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)
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_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 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, 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)
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 Sun Dec 1 2024 03:42:46