Functions
NativeWrapper.cpp File Reference
#include "NativeWrapper.hpp"
#include "RTABMapApp.h"
#include <rtabmap/core/DBDriverSqlite3.h>
Include dependency graph for NativeWrapper.cpp:

Go to the source code of this file.

Functions

void addEnvSensorNative (const void *object, int type, float value)
 
void cancelProcessingNative (const void *object)
 
const void * createNativeApplication ()
 
void destroyNativeApplication (const void *object)
 
bool exportMeshNative (const void *object, 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)
 
ImageNative getPreviewImageNative (const char *databasePath)
 
void initGlContentNative (const void *object)
 
RTABMapAppnative (const void *object)
 
void onTouchEventNative (const void *object, int touch_count, int event, float x0, float y0, float x1, float y1)
 
int openDatabaseNative (const void *object, const char *databasePath, bool databaseInMemory, bool optimize, bool clearDatabase)
 
void postCameraPoseEventNative (const void *object, float x, float y, float z, float qx, float qy, float qz, float qw, double stamp)
 
bool postExportationNative (const void *object, bool visualize)
 
void postOdometryEventNative (const void *object, float x, float y, float z, float qx, float qy, float qz, float qw, float fx, float fy, float cx, float cy, double stamp, 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 void *points, int pointsLen, int pointsChannels, 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)
 
int postProcessingNative (const void *object, int approach)
 
bool recoverNative (const void *object, const char *from, const char *to)
 
void releasePreviewImageNative (ImageNative image)
 
int renderNative (const void *object)
 
void saveNative (const void *object, const char *databasePath)
 
void setAppendModeNative (const void *object, bool enabled)
 
void setBackfaceCullingNative (const void *object, bool enabled)
 
void setBackgroundColorNative (const void *object, float gray)
 
void setCameraNative (const void *object, int type)
 
void setCloudDensityLevelNative (const void *object, int value)
 
void setClusterRatioNative (const void *object, float value)
 
void setDepthConfidenceNative (const void *object, int value)
 
void setFOVNative (const void *object, float angle)
 
void setFullResolutionNative (const void *object, bool enabled)
 
void setGPSNative (const void *object, double stamp, double longitude, double latitude, double altitude, double accuracy, double bearing)
 
void setGraphOptimizationNative (const void *object, bool enabled)
 
void setGraphVisibleNative (const void *object, bool visible)
 
void setGridRotationNative (const void *object, float value)
 
void setGridVisibleNative (const void *object, bool visible)
 
void setLightingNative (const void *object, bool enabled)
 
void setLocalizationModeNative (const void *object, bool enabled)
 
void setMapCloudShownNative (const void *object, bool shown)
 
int setMappingParameterNative (const void *object, const char *key, const char *value)
 
void setMaxCloudDepthNative (const void *object, float value)
 
void setMaxGainRadiusNative (const void *object, float value)
 
void setMeshAngleToleranceNative (const void *object, float value)
 
void setMeshDecimationFactorNative (const void *object, float value)
 
void setMeshRenderingNative (const void *object, bool enabled, bool withTexture)
 
void setMeshTriangleSizeNative (const void *object, int value)
 
void setMinCloudDepthNative (const void *object, float value)
 
void setNodesFilteringNative (const void *object, bool enabled)
 
void setOdomCloudShownNative (const void *object, bool shown)
 
void setOnlineBlendingNative (const void *object, bool enabled)
 
void setOrthoCropFactorNative (const void *object, float value)
 
void setPausedMappingNative (const void *object, bool paused)
 
void setPointSizeNative (const void *object, float value)
 
void setRenderingTextureDecimationNative (const void *object, int value)
 
void setScreenRotationNative (const void *object, int displayRotation)
 
void setSmoothingNative (const void *object, bool enabled)
 
void setTrajectoryModeNative (const void *object, bool enabled)
 
void setupCallbacksNative (const void *object, void *classPtr, void(*progressCallback)(void *, int, int), void(*initCallback)(void *, int, const char *), void(*statsUpdatedCallback)(void *, int, int, int, int, float, int, int, int, int, int, int, float, int, float, int, float, float, float, float, int, int, float, float, float, float, float, float))
 
void setupGraphicNative (const void *object, int width, int height)
 
void setWireframeNative (const void *object, bool enabled)
 
bool startCameraNative (const void *object)
 
void stopCameraNative (const void *object)
 
bool writeExportedMeshNative (const void *object, const char *directory, const char *name)
 

Function Documentation

◆ addEnvSensorNative()

void addEnvSensorNative ( const void *  object,
int  type,
float  value 
)

Definition at line 608 of file NativeWrapper.cpp.

◆ cancelProcessingNative()

void cancelProcessingNative ( const void *  object)

Definition at line 110 of file NativeWrapper.cpp.

◆ createNativeApplication()

const void* createNativeApplication ( )

Definition at line 17 of file NativeWrapper.cpp.

◆ destroyNativeApplication()

void destroyNativeApplication ( const void *  object)

Definition at line 48 of file NativeWrapper.cpp.

◆ exportMeshNative()

bool exportMeshNative ( const void *  object,
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 135 of file NativeWrapper.cpp.

◆ getPreviewImageNative()

ImageNative getPreviewImageNative ( const char *  databasePath)

Definition at line 334 of file NativeWrapper.cpp.

◆ initGlContentNative()

void initGlContentNative ( const void *  object)

Definition at line 191 of file NativeWrapper.cpp.

◆ native()

RTABMapApp* native ( const void *  object)
inline

Definition at line 13 of file NativeWrapper.cpp.

◆ onTouchEventNative()

void onTouchEventNative ( const void *  object,
int  touch_count,
int  event,
float  x0,
float  y0,
float  x1,
float  y1 
)

Definition at line 213 of file NativeWrapper.cpp.

◆ openDatabaseNative()

int openDatabaseNative ( const void *  object,
const char *  databasePath,
bool  databaseInMemory,
bool  optimize,
bool  clearDatabase 
)

Definition at line 72 of file NativeWrapper.cpp.

◆ postCameraPoseEventNative()

void postCameraPoseEventNative ( const void *  object,
float  x,
float  y,
float  z,
float  qx,
float  qy,
float  qz,
float  qw,
double  stamp 
)

Definition at line 286 of file NativeWrapper.cpp.

◆ postExportationNative()

bool postExportationNative ( const void *  object,
bool  visualize 
)

Definition at line 165 of file NativeWrapper.cpp.

◆ postOdometryEventNative()

void postOdometryEventNative ( const void *  object,
float  x,
float  y,
float  z,
float  qx,
float  qy,
float  qz,
float  qw,
float  fx,
float  fy,
float  cx,
float  cy,
double  stamp,
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 void *  points,
int  pointsLen,
int  pointsChannels,
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 
)

Definition at line 300 of file NativeWrapper.cpp.

◆ postProcessingNative()

int postProcessingNative ( const void *  object,
int  approach 
)

Definition at line 122 of file NativeWrapper.cpp.

◆ recoverNative()

bool recoverNative ( const void *  object,
const char *  from,
const char *  to 
)

Definition at line 97 of file NativeWrapper.cpp.

◆ releasePreviewImageNative()

void releasePreviewImageNative ( ImageNative  image)

Definition at line 363 of file NativeWrapper.cpp.

◆ renderNative()

int renderNative ( const void *  object)

Definition at line 240 of file NativeWrapper.cpp.

◆ saveNative()

void saveNative ( const void *  object,
const char *  databasePath 
)

Definition at line 85 of file NativeWrapper.cpp.

◆ setAppendModeNative()

void setAppendModeNative ( const void *  object,
bool  enabled 
)

Definition at line 506 of file NativeWrapper.cpp.

◆ setBackfaceCullingNative()

void setBackfaceCullingNative ( const void *  object,
bool  enabled 
)

Definition at line 436 of file NativeWrapper.cpp.

◆ setBackgroundColorNative()

void setBackgroundColorNative ( const void *  object,
float  gray 
)

Definition at line 576 of file NativeWrapper.cpp.

◆ setCameraNative()

void setCameraNative ( const void *  object,
int  type 
)

Definition at line 275 of file NativeWrapper.cpp.

◆ setCloudDensityLevelNative()

void setCloudDensityLevelNative ( const void *  object,
int  value 
)

Definition at line 527 of file NativeWrapper.cpp.

◆ setClusterRatioNative()

void setClusterRatioNative ( const void *  object,
float  value 
)

Definition at line 555 of file NativeWrapper.cpp.

◆ setDepthConfidenceNative()

void setDepthConfidenceNative ( const void *  object,
int  value 
)

Definition at line 583 of file NativeWrapper.cpp.

◆ setFOVNative()

void setFOVNative ( const void *  object,
float  angle 
)

Definition at line 408 of file NativeWrapper.cpp.

◆ setFullResolutionNative()

void setFullResolutionNative ( const void *  object,
bool  enabled 
)

Definition at line 492 of file NativeWrapper.cpp.

◆ setGPSNative()

void setGPSNative ( const void *  object,
double  stamp,
double  longitude,
double  latitude,
double  altitude,
double  accuracy,
double  bearing 
)

Definition at line 599 of file NativeWrapper.cpp.

◆ setGraphOptimizationNative()

void setGraphOptimizationNative ( const void *  object,
bool  enabled 
)

Definition at line 464 of file NativeWrapper.cpp.

◆ setGraphVisibleNative()

void setGraphVisibleNative ( const void *  object,
bool  visible 
)

Definition at line 478 of file NativeWrapper.cpp.

◆ setGridRotationNative()

void setGridRotationNative ( const void *  object,
float  value 
)

Definition at line 422 of file NativeWrapper.cpp.

◆ setGridVisibleNative()

void setGridVisibleNative ( const void *  object,
bool  visible 
)

Definition at line 485 of file NativeWrapper.cpp.

◆ setLightingNative()

void setLightingNative ( const void *  object,
bool  enabled 
)

Definition at line 429 of file NativeWrapper.cpp.

◆ setLocalizationModeNative()

void setLocalizationModeNative ( const void *  object,
bool  enabled 
)

Definition at line 450 of file NativeWrapper.cpp.

◆ setMapCloudShownNative()

void setMapCloudShownNative ( const void *  object,
bool  shown 
)

Definition at line 380 of file NativeWrapper.cpp.

◆ setMappingParameterNative()

int setMappingParameterNative ( const void *  object,
const char *  key,
const char *  value 
)

Definition at line 590 of file NativeWrapper.cpp.

◆ setMaxCloudDepthNative()

void setMaxCloudDepthNative ( const void *  object,
float  value 
)

Definition at line 513 of file NativeWrapper.cpp.

◆ setMaxGainRadiusNative()

void setMaxGainRadiusNative ( const void *  object,
float  value 
)

Definition at line 562 of file NativeWrapper.cpp.

◆ setMeshAngleToleranceNative()

void setMeshAngleToleranceNative ( const void *  object,
float  value 
)

Definition at line 534 of file NativeWrapper.cpp.

◆ setMeshDecimationFactorNative()

void setMeshDecimationFactorNative ( const void *  object,
float  value 
)

Definition at line 541 of file NativeWrapper.cpp.

◆ setMeshRenderingNative()

void setMeshRenderingNative ( const void *  object,
bool  enabled,
bool  withTexture 
)

Definition at line 394 of file NativeWrapper.cpp.

◆ setMeshTriangleSizeNative()

void setMeshTriangleSizeNative ( const void *  object,
int  value 
)

Definition at line 548 of file NativeWrapper.cpp.

◆ setMinCloudDepthNative()

void setMinCloudDepthNative ( const void *  object,
float  value 
)

Definition at line 520 of file NativeWrapper.cpp.

◆ setNodesFilteringNative()

void setNodesFilteringNative ( const void *  object,
bool  enabled 
)

Definition at line 471 of file NativeWrapper.cpp.

◆ setOdomCloudShownNative()

void setOdomCloudShownNative ( const void *  object,
bool  shown 
)

Definition at line 387 of file NativeWrapper.cpp.

◆ setOnlineBlendingNative()

void setOnlineBlendingNative ( const void *  object,
bool  enabled 
)

Definition at line 373 of file NativeWrapper.cpp.

◆ setOrthoCropFactorNative()

void setOrthoCropFactorNative ( const void *  object,
float  value 
)

Definition at line 415 of file NativeWrapper.cpp.

◆ setPausedMappingNative()

void setPausedMappingNative ( const void *  object,
bool  paused 
)

Definition at line 228 of file NativeWrapper.cpp.

◆ setPointSizeNative()

void setPointSizeNative ( const void *  object,
float  value 
)

Definition at line 401 of file NativeWrapper.cpp.

◆ setRenderingTextureDecimationNative()

void setRenderingTextureDecimationNative ( const void *  object,
int  value 
)

Definition at line 569 of file NativeWrapper.cpp.

◆ setScreenRotationNative()

void setScreenRotationNative ( const void *  object,
int  displayRotation 
)

Definition at line 60 of file NativeWrapper.cpp.

◆ setSmoothingNative()

void setSmoothingNative ( const void *  object,
bool  enabled 
)

Definition at line 499 of file NativeWrapper.cpp.

◆ setTrajectoryModeNative()

void setTrajectoryModeNative ( const void *  object,
bool  enabled 
)

Definition at line 457 of file NativeWrapper.cpp.

◆ setupCallbacksNative()

void setupCallbacksNative ( const void *  object,
void *  classPtr,
void(*)(void *, int, int progressCallback,
void(*)(void *, int, const char *)  initCallback,
void(*)(void *, int, int, int, int, float, int, int, int, int, int, int, float, int, float, int, float, float, float, float, int, int, float, float, float, float, float, float statsUpdatedCallback 
)

Definition at line 23 of file NativeWrapper.cpp.

◆ setupGraphicNative()

void setupGraphicNative ( const void *  object,
int  width,
int  height 
)

Definition at line 202 of file NativeWrapper.cpp.

◆ setWireframeNative()

void setWireframeNative ( const void *  object,
bool  enabled 
)

Definition at line 443 of file NativeWrapper.cpp.

◆ startCameraNative()

bool startCameraNative ( const void *  object)

Definition at line 252 of file NativeWrapper.cpp.

◆ stopCameraNative()

void stopCameraNative ( const void *  object)

Definition at line 264 of file NativeWrapper.cpp.

◆ writeExportedMeshNative()

bool writeExportedMeshNative ( const void *  object,
const char *  directory,
const char *  name 
)

Definition at line 178 of file NativeWrapper.cpp.



rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:24