9 #ifndef NativeWrapper_hpp 10 #define NativeWrapper_hpp 20 void(*progressCallback)(
void*,
int,
int),
21 void(*initCallback)(
void *,
int,
const char*),
22 void(*statsUpdatedCallback)(
void *,
25 int,
int,
int,
int,
int ,
int,
30 float,
float,
float,
float,
32 float,
float,
float,
float,
float,
float));
35 int openDatabaseNative(
const void *
object,
const char * databasePath,
bool databaseInMemory,
bool optimize,
bool clearDatabase);
36 void saveNative(
const void *
object,
const char * databasePath);
37 bool recoverNative(
const void *
object,
const char * from,
const char * to);
49 float optimizedVoxelSize,
51 int optimizedMaxPolygons,
52 float optimizedColorRadius,
53 bool optimizedCleanWhitePolygons,
54 int optimizedMinClusterSize,
55 float optimizedMaxTextureDistance,
56 int optimizedMinTextureClusterSize,
62 void onTouchEventNative(
const void *
object,
int touch_count,
int event,
float x0,
float y0,
float x1,
70 float x,
float y,
float z,
float qx,
float qy,
float qz,
float qw);
72 float x,
float y,
float z,
float qx,
float qy,
float qz,
float qw,
73 float fx,
float fy,
float cx,
float cy,
75 const void * yPlane,
const void * uPlane,
const void * vPlane,
int yPlaneLen,
int rgbWidth,
int rgbHeight,
int rgbFormat,
76 const void * depth,
int depthLen,
int depthWidth,
int depthHeight,
int depthFormat,
77 const void * conf,
int confLen,
int confWidth,
int confHeight,
int confFormat,
78 const void * points,
int pointsLen,
int pointsChannels,
79 float vx,
float vy,
float vz,
float vqx,
float vqy,
float vqz,
float vqw,
80 float p00,
float p11,
float p02,
float p12,
float p22,
float p32,
float p23,
81 float t0,
float t1,
float t2,
float t3,
float t4,
float t5,
float t6,
float t7);
130 void setGPSNative(
const void *
object,
double stamp,
double longitude,
double latitude,
double altitude,
double accuracy,
double bearing);
void setTrajectoryModeNative(const void *object, bool enabled)
void setOrthoCropFactorNative(const void *object, float value)
void setRenderingTextureDecimationNative(const void *object, int value)
void setCameraNative(const void *object, int type)
void setDepthConfidenceNative(const void *object, int value)
void setOdomCloudShownNative(const void *object, bool shown)
void setNodesFilteringNative(const void *object, bool enabled)
void saveNative(const void *object, const char *databasePath)
int renderNative(const void *object)
void setOnlineBlendingNative(const void *object, bool enabled)
void setFOVNative(const void *object, float angle)
void setMaxCloudDepthNative(const void *object, float value)
void addEnvSensorNative(const void *object, int type, float value)
int postProcessingNative(const void *object, int approach)
void setupGraphicNative(const void *object, int width, int height)
void setLightingNative(const void *object, bool enabled)
struct ImageNative ImageNative
bool postExportationNative(const void *object, bool visualize)
void initGlContentNative(const void *object)
void setMeshTriangleSizeNative(const void *object, int value)
void setMapCloudShownNative(const void *object, bool shown)
GLM_FUNC_DECL T angle(detail::tquat< T, P > const &x)
void setMeshAngleToleranceNative(const void *object, float value)
void postCameraPoseEventNative(const void *object, float x, float y, float z, float qx, float qy, float qz, float qw)
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)
ImageNative getPreviewImageNative(const char *databasePath)
void cancelProcessingNative(const void *object)
bool recoverNative(const void *object, const char *from, const char *to)
int setMappingParameterNative(const void *object, const char *key, const char *value)
void destroyNativeApplication(const void *object)
int openDatabaseNative(const void *object, const char *databasePath, bool databaseInMemory, bool optimize, bool clearDatabase)
void setGPSNative(const void *object, double stamp, double longitude, double latitude, double altitude, double accuracy, double bearing)
bool startCameraNative(const void *object)
bool writeExportedMeshNative(const void *object, const char *directory, const char *name)
void setGraphVisibleNative(const void *object, bool visible)
void setFullResolutionNative(const void *object, bool enabled)
void setBackfaceCullingNative(const void *object, bool enabled)
void stopCameraNative(const void *object)
void releasePreviewImageNative(ImageNative image)
void setCloudDensityLevelNative(const void *object, int value)
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 onTouchEventNative(const void *object, int touch_count, int event, float x0, float y0, float x1, float y1)
void setAppendModeNative(const void *object, bool enabled)
void setBackgroundColorNative(const void *object, float gray)
void setSmoothingNative(const void *object, bool enabled)
void setMeshDecimationFactorNative(const void *object, float value)
void setGridVisibleNative(const void *object, bool visible)
void setGridRotationNative(const void *object, float value)
void setPointSizeNative(const void *object, float value)
void setPausedMappingNative(const void *object, bool paused)
void setGraphOptimizationNative(const void *object, bool enabled)
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)
void setMaxGainRadiusNative(const void *object, float value)
void setRawScanSavedNative(const void *object, bool enabled)
void setScreenRotationNative(const void *object, int displayRotation)
void setMeshRenderingNative(const void *object, bool enabled, bool withTexture)
void setWireframeNative(const void *object, bool enabled)
void setLocalizationModeNative(const void *object, bool enabled)
void setMinCloudDepthNative(const void *object, float value)
void setClusterRatioNative(const void *object, float value)
const void * createNativeApplication()