SLProject 4.0.000
WAIInterface.cpp File Reference
#include <WAI.h>
#include <WAIMath.h>
Include dependency graph for WAIInterface.cpp:

Classes

struct  WAIMapPointCoordinate
 

Functions

static WAI::WAI wai ("")
 
WAI_API void wai_setDataRoot (const char *dataRoot)
 
WAI_API void wai_setMode (WAI::ModeType modeType)
 
WAI_API void wai_getMapPoints (WAIMapPointCoordinate **mapPointCoordinatePtr, int *mapPointCount)
 
WAI_API void wai_releaseMapPoints (WAIMapPointCoordinate **mapPointCoordinatePtr)
 
WAI_API void wai_activateSensor (WAI::SensorType sensorType, void *sensorInfo)
 
WAI_API void wai_updateCamera (WAI::CameraFrame *frameRGB, WAI::CameraFrame *frameGray)
 
WAI_API bool wai_whereAmI (WAI::M4x4 *pose)
 
WAI_API int wai_getState (char *buffer, int size)
 
WAI_API void wai_registerDebugCallback (DebugLogCallback callback)
 

Variables

static WAI::ModeOrbSlam2mode = nullptr
 

Function Documentation

◆ wai()

static WAI::WAI wai ( ""  )
static

◆ wai_activateSensor()

WAI_API void wai_activateSensor ( WAI::SensorType  sensorType,
void *  sensorInfo 
)

◆ wai_getMapPoints()

WAI_API void wai_getMapPoints ( WAIMapPointCoordinate **  mapPointCoordinatePtr,
int *  mapPointCount 
)

◆ wai_getState()

WAI_API int wai_getState ( char *  buffer,
int  size 
)

◆ wai_registerDebugCallback()

WAI_API void wai_registerDebugCallback ( DebugLogCallback  callback)

◆ wai_releaseMapPoints()

WAI_API void wai_releaseMapPoints ( WAIMapPointCoordinate **  mapPointCoordinatePtr)

◆ wai_setDataRoot()

WAI_API void wai_setDataRoot ( const char *  dataRoot)

◆ wai_setMode()

WAI_API void wai_setMode ( WAI::ModeType  modeType)

◆ wai_updateCamera()

WAI_API void wai_updateCamera ( WAI::CameraFrame *  frameRGB,
WAI::CameraFrame *  frameGray 
)

◆ wai_whereAmI()

WAI_API bool wai_whereAmI ( WAI::M4x4 pose)

Variable Documentation

◆ mode

WAI::ModeOrbSlam2* mode = nullptr
static