Macros | Functions | Variables
jni_interface.cpp File Reference
#include <jni.h>
#include <RTABMapApp.h>
#include <scene.h>
Include dependency graph for jni_interface.cpp:

Go to the source code of this file.

Macros

#define GLM_FORCE_RADIANS
 

Functions

void GetJStringContent (JNIEnv *AEnv, jstring AStr, std::string &ARes)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_cancelProcessing (JNIEnv *env, jobject)
 
JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_exportMesh (JNIEnv *env, jobject, 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_initGlContent (JNIEnv *, jobject)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_onCreate (JNIEnv *env, jobject, jobject activity)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_onPause (JNIEnv *, jobject)
 
JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_onTangoServiceConnected (JNIEnv *env, jobject, jobject iBinder)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_onTouchEvent (JNIEnv *, jobject, int touch_count, int event, float x0, float y0, float x1, float y1)
 
JNIEXPORT int JNICALL Java_com_introlab_rtabmap_RTABMapLib_openDatabase (JNIEnv *env, jobject, jstring databasePath, bool databaseInMemory, bool optimize)
 
JNIEXPORT int JNICALL Java_com_introlab_rtabmap_RTABMapLib_openDatabase2 (JNIEnv *env, jobject, jstring databaseSource, jstring databasePath, bool databaseInMemory, bool optimize)
 
JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_postExportation (JNIEnv *env, jobject, bool visualize)
 
JNIEXPORT int JNICALL Java_com_introlab_rtabmap_RTABMapLib_postProcessing (JNIEnv *env, jobject, int approach)
 
JNIEXPORT int JNICALL Java_com_introlab_rtabmap_RTABMapLib_render (JNIEnv *, jobject)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_resetMapping (JNIEnv *, jobject)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_save (JNIEnv *env, jobject, jstring databasePath)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setAppendMode (JNIEnv *, jobject, bool enabled)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setBackfaceCulling (JNIEnv *, jobject, bool enabled)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setBackgroundColor (JNIEnv *, jobject, float value)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setCamera (JNIEnv *, jobject, int camera_index)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setCameraColor (JNIEnv *, jobject, bool enabled)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setCloudDensityLevel (JNIEnv *, jobject, int value)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setClusterRatio (JNIEnv *, jobject, float value)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setDataRecorderMode (JNIEnv *, jobject, bool enabled)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setFOV (JNIEnv *, jobject, float fov)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setFullResolution (JNIEnv *, jobject, bool enabled)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGPS (JNIEnv *, jobject, double stamp, double longitude, double latitude, double altitude, double accuracy, double bearing)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGraphOptimization (JNIEnv *, jobject, bool enabled)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGraphVisible (JNIEnv *, jobject, bool visible)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGridRotation (JNIEnv *, jobject, float value)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGridVisible (JNIEnv *, jobject, bool visible)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setLighting (JNIEnv *, jobject, bool enabled)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setLocalizationMode (JNIEnv *, jobject, bool enabled)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMapCloudShown (JNIEnv *, jobject, bool shown)
 
JNIEXPORT jint JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMappingParameter (JNIEnv *env, jobject, jstring key, jstring value)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMaxCloudDepth (JNIEnv *, jobject, float value)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMaxGainRadius (JNIEnv *, jobject, float value)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMeshAngleTolerance (JNIEnv *, jobject, float value)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMeshRendering (JNIEnv *, jobject, bool enabled, bool withTexture)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMeshTriangleSize (JNIEnv *, jobject, int value)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMinCloudDepth (JNIEnv *, jobject, float value)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setNodesFiltering (JNIEnv *, jobject, bool enabled)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setOdomCloudShown (JNIEnv *, jobject, bool shown)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setOnlineBlending (JNIEnv *, jobject, bool enabled)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setOrthoCropFactor (JNIEnv *, jobject, float value)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setPausedMapping (JNIEnv *, jobject, bool paused)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setPointSize (JNIEnv *, jobject, float value)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setRawScanSaved (JNIEnv *, jobject, bool enabled)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setRenderingTextureDecimation (JNIEnv *, jobject, int value)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setScreenRotation (JNIEnv *env, jobject, int displayRotation, int cameraRotation)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setSmoothing (JNIEnv *, jobject, bool enabled)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setTrajectoryMode (JNIEnv *, jobject, bool enabled)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setupGraphic (JNIEnv *, jobject, jint width, jint height)
 
JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setWireframe (JNIEnv *, jobject, bool enabled)
 
JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_writeExportedMesh (JNIEnv *env, jobject, jstring directory, jstring name)
 

Variables

static RTABMapApp app
 

Macro Definition Documentation

#define GLM_FORCE_RADIANS

Definition at line 28 of file jni_interface.cpp.

Function Documentation

void GetJStringContent ( JNIEnv *  AEnv,
jstring  AStr,
std::string &  ARes 
)

Definition at line 40 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_cancelProcessing ( JNIEnv *  env,
jobject   
)

Definition at line 377 of file jni_interface.cpp.

JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_exportMesh ( JNIEnv *  env,
jobject  ,
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 
)

Definition at line 384 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_initGlContent ( JNIEnv *  ,
jobject   
)

Definition at line 92 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_onCreate ( JNIEnv *  env,
jobject  ,
jobject  activity 
)

Definition at line 52 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_onPause ( JNIEnv *  ,
jobject   
)

Definition at line 110 of file jni_interface.cpp.

JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_onTangoServiceConnected ( JNIEnv *  env,
jobject  ,
jobject  iBinder 
)

Definition at line 86 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_onTouchEvent ( JNIEnv *  ,
jobject  ,
int  touch_count,
int  event,
float  x0,
float  y0,
float  x1,
float  y1 
)

Definition at line 125 of file jni_interface.cpp.

JNIEXPORT int JNICALL Java_com_introlab_rtabmap_RTABMapLib_openDatabase ( JNIEnv *  env,
jobject  ,
jstring  databasePath,
bool  databaseInMemory,
bool  optimize 
)

Definition at line 66 of file jni_interface.cpp.

JNIEXPORT int JNICALL Java_com_introlab_rtabmap_RTABMapLib_openDatabase2 ( JNIEnv *  env,
jobject  ,
jstring  databaseSource,
jstring  databasePath,
bool  databaseInMemory,
bool  optimize 
)

Definition at line 75 of file jni_interface.cpp.

JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_postExportation ( JNIEnv *  env,
jobject  ,
bool  visualize 
)

Definition at line 423 of file jni_interface.cpp.

JNIEXPORT int JNICALL Java_com_introlab_rtabmap_RTABMapLib_postProcessing ( JNIEnv *  env,
jobject  ,
int  approach 
)

Definition at line 442 of file jni_interface.cpp.

JNIEXPORT int JNICALL Java_com_introlab_rtabmap_RTABMapLib_render ( JNIEnv *  ,
jobject   
)

Definition at line 104 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_resetMapping ( JNIEnv *  ,
jobject   
)

Definition at line 361 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_save ( JNIEnv *  env,
jobject  ,
jstring  databasePath 
)

Definition at line 368 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setAppendMode ( JNIEnv *  ,
jobject  ,
bool  enabled 
)

Definition at line 267 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setBackfaceCulling ( JNIEnv *  ,
jobject  ,
bool  enabled 
)

Definition at line 195 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setBackgroundColor ( JNIEnv *  ,
jobject  ,
float  value 
)

Definition at line 327 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setCamera ( JNIEnv *  ,
jobject  ,
int  camera_index 
)

Definition at line 116 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setCameraColor ( JNIEnv *  ,
jobject  ,
bool  enabled 
)

Definition at line 261 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setCloudDensityLevel ( JNIEnv *  ,
jobject  ,
int  value 
)

Definition at line 291 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setClusterRatio ( JNIEnv *  ,
jobject  ,
float  value 
)

Definition at line 309 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setDataRecorderMode ( JNIEnv *  ,
jobject  ,
bool  enabled 
)

Definition at line 273 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setFOV ( JNIEnv *  ,
jobject  ,
float  fov 
)

Definition at line 171 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setFullResolution ( JNIEnv *  ,
jobject  ,
bool  enabled 
)

Definition at line 249 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGPS ( JNIEnv *  ,
jobject  ,
double  stamp,
double  longitude,
double  latitude,
double  altitude,
double  accuracy,
double  bearing 
)

Definition at line 343 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGraphOptimization ( JNIEnv *  ,
jobject  ,
bool  enabled 
)

Definition at line 219 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGraphVisible ( JNIEnv *  ,
jobject  ,
bool  visible 
)

Definition at line 231 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGridRotation ( JNIEnv *  ,
jobject  ,
float  value 
)

Definition at line 183 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setGridVisible ( JNIEnv *  ,
jobject  ,
bool  visible 
)

Definition at line 237 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setLighting ( JNIEnv *  ,
jobject  ,
bool  enabled 
)

Definition at line 189 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setLocalizationMode ( JNIEnv *  ,
jobject  ,
bool  enabled 
)

Definition at line 207 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMapCloudShown ( JNIEnv *  ,
jobject  ,
bool  shown 
)

Definition at line 147 of file jni_interface.cpp.

JNIEXPORT jint JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMappingParameter ( JNIEnv *  env,
jobject  ,
jstring  key,
jstring  value 
)

Definition at line 333 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMaxCloudDepth ( JNIEnv *  ,
jobject  ,
float  value 
)

Definition at line 279 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMaxGainRadius ( JNIEnv *  ,
jobject  ,
float  value 
)

Definition at line 315 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMeshAngleTolerance ( JNIEnv *  ,
jobject  ,
float  value 
)

Definition at line 297 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMeshRendering ( JNIEnv *  ,
jobject  ,
bool  enabled,
bool  withTexture 
)

Definition at line 159 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMeshTriangleSize ( JNIEnv *  ,
jobject  ,
int  value 
)

Definition at line 303 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setMinCloudDepth ( JNIEnv *  ,
jobject  ,
float  value 
)

Definition at line 285 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setNodesFiltering ( JNIEnv *  ,
jobject  ,
bool  enabled 
)

Definition at line 225 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setOdomCloudShown ( JNIEnv *  ,
jobject  ,
bool  shown 
)

Definition at line 153 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setOnlineBlending ( JNIEnv *  ,
jobject  ,
bool  enabled 
)

Definition at line 141 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setOrthoCropFactor ( JNIEnv *  ,
jobject  ,
float  value 
)

Definition at line 177 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setPausedMapping ( JNIEnv *  ,
jobject  ,
bool  paused 
)

Definition at line 135 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setPointSize ( JNIEnv *  ,
jobject  ,
float  value 
)

Definition at line 165 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setRawScanSaved ( JNIEnv *  ,
jobject  ,
bool  enabled 
)

Definition at line 243 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setRenderingTextureDecimation ( JNIEnv *  ,
jobject  ,
int  value 
)

Definition at line 321 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setScreenRotation ( JNIEnv *  env,
jobject  ,
int  displayRotation,
int  cameraRotation 
)

Definition at line 59 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setSmoothing ( JNIEnv *  ,
jobject  ,
bool  enabled 
)

Definition at line 255 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setTrajectoryMode ( JNIEnv *  ,
jobject  ,
bool  enabled 
)

Definition at line 213 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setupGraphic ( JNIEnv *  ,
jobject  ,
jint  width,
jint  height 
)

Definition at line 98 of file jni_interface.cpp.

JNIEXPORT void JNICALL Java_com_introlab_rtabmap_RTABMapLib_setWireframe ( JNIEnv *  ,
jobject  ,
bool  enabled 
)

Definition at line 201 of file jni_interface.cpp.

JNIEXPORT bool JNICALL Java_com_introlab_rtabmap_RTABMapLib_writeExportedMesh ( JNIEnv *  env,
jobject  ,
jstring  directory,
jstring  name 
)

Definition at line 430 of file jni_interface.cpp.

Variable Documentation

RTABMapApp app
static

Definition at line 34 of file jni_interface.cpp.



rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:41