MaxstARSDK  4.1.x
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
maxstAR.NativeAPI Class Reference
Collaboration diagram for maxstAR.NativeAPI:
Collaboration graph

Public Member Functions

static void init (string licenseKey)
 
static void getVersion (byte[] versionBytes, int bytesLength)
 
static void onSurfaceChanged (int surfaceWidth, int surfaceHeight)
 
static void setScreenOrientation (int orientation)
 
static int CameraDevice_start (int cameraId, int preferredWidth, int preferredHeight)
 
static int CameraDevice_stop ()
 
static bool CameraDevice_setNewFrame (byte[] data, int length, int width, int height, int format)
 
static bool CameraDevice_setNewFramePtr (ulong data, int length, int width, int height, int format)
 
static bool CameraDevice_setNewFrameAndTimestamp (byte[] data, int length, int width, int height, int format, ulong timestamp)
 
static bool CameraDevice_setNewFramePtrAndTimestamp (ulong data, int length, int width, int height, int format, ulong timestamp)
 
static bool CameraDevice_setFocusMode (int focusMode)
 
static bool CameraDevice_setFlashLightMode (bool toggle)
 
static bool CameraDevice_setAutoWhiteBalanceLock (bool toggle)
 
static bool CameraDevice_flipVideo (int direction, bool toggle)
 
static bool CameraDevice_setZoom (float value)
 
static float CameraDevice_getMaxZoomValue ()
 
static int CameraDevice_getParamList ()
 
static int CameraDevice_Param_getKeyLength (int index)
 
static void CameraDevice_Param_getKey (int index, byte[] key)
 
static bool CameraDevice_setBoolTypeParameter (string key, bool boolValue)
 
static bool CameraDevice_setIntTypeParameter (string key, int intValue)
 
static bool CameraDevice_setRangeTypeParameter (string key, int min, int max)
 
static bool CameraDevice_setStringTypeParameter (string key, string stringValue)
 
static int CameraDevice_getWidth ()
 
static int CameraDevice_getHeight ()
 
static void CameraDevice_getProjectionMatrix (float[] matrix)
 
static bool CameraDevice_checkCameraMove (ulong TrackedImage_cPtr)
 
static void CameraDevice_getBackgroundPlaneInfo (float[] values)
 
static void TrackerManager_startTracker (int trackerMask)
 
static void TrackerManager_stopTracker ()
 
static void TrackerManager_destroyTracker ()
 
static void TrackerManager_addTrackerData (string trackingFileName, bool isAndroidAssetFile=false)
 
static void TrackerManager_removeTrackerData (string trackingFileName="")
 
static void TrackerManager_loadTrackerData ()
 
static void TrackerManager_setTrackingOption (int option)
 
static bool TrackerManager_isTrackerDataLoadCompleted ()
 
static void TrackerManager_setVocabulary (string vocFilename, bool assetFile)
 
static ulong TrackerManager_updateTrackingState ()
 
static void TrackerManager_findSurface ()
 
static void TrackerManager_quitFindingSurface ()
 
static ulong TrackerManager_getGuideInfo ()
 
static ulong TrackerManager_saveSurfaceData (string outputFileName)
 
static void TrackerManager_getWorldPositionFromScreenCoordinate (float[] screen, float[] world)
 
static bool CloudManager_GetFeatureClient (ulong TrackedImage_cPtr, byte[] descriptData, int[] resultLength)
 
static void CloudManager_JWTEncode (string secretKey, string payloadString, byte[] resultData)
 
static int TrackingResult_getCount (ulong TrackingResult_cPtr)
 
static ulong TrackingResult_getTrackable (ulong TrackingResult_cPtr, int index)
 
static void Trackable_getId (ulong Trackable_cPtr, byte[] id)
 
static void Trackable_getName (ulong Trackable_cPtr, byte[] name)
 
static void Trackable_getCloudName (ulong Trackable_cPtr, byte[] cloudName)
 
static void Trackable_getCloudMeta (ulong Trackable_cPtr, byte[] cloudMeta, int[] length)
 
static void Trackable_getPose (ulong Trackable_cPtr, float[] pose)
 
static float Trackable_getWidth (ulong Trackable_cPtr)
 
static float Trackable_getHeight (ulong Trackable_cPtr)
 
static ulong TrackingState_getTrackingResult (ulong TrackingState_cPtr)
 
static ulong TrackingState_getImage (ulong TrackingState_cPtr)
 
static int TrackingState_getCodeScanResultLength (ulong TrackingState_cPtr)
 
static void TrackingState_getCodeScanResult (ulong TrackingState_cPtr, byte[] result, int length)
 
static float GuideInfo_getInitializingProgress (ulong GuideInfo_cPtr)
 
static int GuideInfo_getKeyframeCount (ulong GuideInfo_cPtr)
 
static int GuideInfo_getFeatureCount (ulong GuideInfo_cPtr)
 
static void GuideInfo_getFeatureBuffer (ulong GuideInfo_cPtr, float[] data, int length)
 
static int GuideInfo_getTagAnchorsLength (ulong GuideInfo_cPtr)
 
static void GuideInfo_getTagAnchors (ulong GuideInfo_cPtr, char[] data, int length)
 
static int SurfaceThumbnail_getWidth (ulong SurfaceThumbnail_cPtr)
 
static int SurfaceThumbnail_getHeight (ulong SurfaceThumbnail_cPtr)
 
static int SurfaceThumbnail_getLength (ulong SurfaceThumbnail_cPtr)
 
static int SurfaceThumbnail_getBpp (ulong SurfaceThumbnail_cPtr)
 
static int SurfaceThumbnail_getData (ulong SurfaceThumbnail_cPtr, byte[] data, int length)
 
static void startSensor ()
 
static void stopSensor ()
 
static bool MapViewer_initialize (string fileName)
 
static void MapViewer_deInitialize ()
 
static IntPtr MapViewer_getJson ()
 
static int MapViewer_create (int idx)
 
static void MapViewer_getIndices (out int indices)
 
static void MapViewer_getTexCoords (out float texCoords)
 
static int MapViewer_getImageSize (int idx)
 
static void MapViewer_getImage (int idx, out byte image)
 
static bool WearableCalibration_isActivated ()
 
static bool WearableCalibration_init (string modelName)
 
static void WearableCalibration_deinit ()
 
static void WearableCalibration_setSurfaceSize (int width, int height)
 
static void WearableCalibration_getProjectionMatrix (float[] projection, int eyeType)
 
static int TrackedImage_getIndex (ulong Image_cPtr)
 
static int TrackedImage_getWidth (ulong Image_cPtr)
 
static int TrackedImage_getHeight (ulong Image_cPtr)
 
static int TrackedImage_getLength (ulong Image_cPtr)
 
static int TrackedImage_getFormat (ulong Image_cPtr)
 
static void TrackedImage_getData (ulong Image_cPtr, byte[] buffer, int size)
 
static ulong TrackedImage_getDataPtr (ulong Image_cPtr)
 
static void TrackedImage_getYuv420spY_UVPtr (ulong Image_cPtr, out IntPtr y_Ptr, out IntPtr uv_Ptr)
 
static ulong TrackedImage_getYuv420spY_U_VPtr (ulong Image_cPtr, out IntPtr y_Ptr, out IntPtr u_Ptr, out IntPtr v_Ptr)
 
static ulong TrackedImage_getYuv420_888YUVPtr (ulong Image_cPtr, out IntPtr y_Ptr, out IntPtr u_Ptr, out IntPtr v_Ptr, bool supportRG16Texture)
 

Member Function Documentation

◆ CameraDevice_checkCameraMove()

static bool maxstAR.NativeAPI.CameraDevice_checkCameraMove ( ulong  TrackedImage_cPtr)
Here is the caller graph for this function:

◆ CameraDevice_flipVideo()

static bool maxstAR.NativeAPI.CameraDevice_flipVideo ( int  direction,
bool  toggle 
)
Here is the caller graph for this function:

◆ CameraDevice_getBackgroundPlaneInfo()

static void maxstAR.NativeAPI.CameraDevice_getBackgroundPlaneInfo ( float []  values)
Here is the caller graph for this function:

◆ CameraDevice_getHeight()

static int maxstAR.NativeAPI.CameraDevice_getHeight ( )
Here is the caller graph for this function:

◆ CameraDevice_getMaxZoomValue()

static float maxstAR.NativeAPI.CameraDevice_getMaxZoomValue ( )
Here is the caller graph for this function:

◆ CameraDevice_getParamList()

static int maxstAR.NativeAPI.CameraDevice_getParamList ( )
Here is the caller graph for this function:

◆ CameraDevice_getProjectionMatrix()

static void maxstAR.NativeAPI.CameraDevice_getProjectionMatrix ( float []  matrix)
Here is the caller graph for this function:

◆ CameraDevice_getWidth()

static int maxstAR.NativeAPI.CameraDevice_getWidth ( )
Here is the caller graph for this function:

◆ CameraDevice_Param_getKey()

static void maxstAR.NativeAPI.CameraDevice_Param_getKey ( int  index,
byte []  key 
)
Here is the caller graph for this function:

◆ CameraDevice_Param_getKeyLength()

static int maxstAR.NativeAPI.CameraDevice_Param_getKeyLength ( int  index)
Here is the caller graph for this function:

◆ CameraDevice_setAutoWhiteBalanceLock()

static bool maxstAR.NativeAPI.CameraDevice_setAutoWhiteBalanceLock ( bool  toggle)
Here is the caller graph for this function:

◆ CameraDevice_setBoolTypeParameter()

static bool maxstAR.NativeAPI.CameraDevice_setBoolTypeParameter ( string  key,
bool  boolValue 
)
Here is the caller graph for this function:

◆ CameraDevice_setFlashLightMode()

static bool maxstAR.NativeAPI.CameraDevice_setFlashLightMode ( bool  toggle)
Here is the caller graph for this function:

◆ CameraDevice_setFocusMode()

static bool maxstAR.NativeAPI.CameraDevice_setFocusMode ( int  focusMode)
Here is the caller graph for this function:

◆ CameraDevice_setIntTypeParameter()

static bool maxstAR.NativeAPI.CameraDevice_setIntTypeParameter ( string  key,
int  intValue 
)
Here is the caller graph for this function:

◆ CameraDevice_setNewFrame()

static bool maxstAR.NativeAPI.CameraDevice_setNewFrame ( byte []  data,
int  length,
int  width,
int  height,
int  format 
)
Here is the caller graph for this function:

◆ CameraDevice_setNewFrameAndTimestamp()

static bool maxstAR.NativeAPI.CameraDevice_setNewFrameAndTimestamp ( byte []  data,
int  length,
int  width,
int  height,
int  format,
ulong  timestamp 
)
Here is the caller graph for this function:

◆ CameraDevice_setNewFramePtr()

static bool maxstAR.NativeAPI.CameraDevice_setNewFramePtr ( ulong  data,
int  length,
int  width,
int  height,
int  format 
)
Here is the caller graph for this function:

◆ CameraDevice_setNewFramePtrAndTimestamp()

static bool maxstAR.NativeAPI.CameraDevice_setNewFramePtrAndTimestamp ( ulong  data,
int  length,
int  width,
int  height,
int  format,
ulong  timestamp 
)
Here is the caller graph for this function:

◆ CameraDevice_setRangeTypeParameter()

static bool maxstAR.NativeAPI.CameraDevice_setRangeTypeParameter ( string  key,
int  min,
int  max 
)
Here is the caller graph for this function:

◆ CameraDevice_setStringTypeParameter()

static bool maxstAR.NativeAPI.CameraDevice_setStringTypeParameter ( string  key,
string  stringValue 
)
Here is the caller graph for this function:

◆ CameraDevice_setZoom()

static bool maxstAR.NativeAPI.CameraDevice_setZoom ( float  value)
Here is the caller graph for this function:

◆ CameraDevice_start()

static int maxstAR.NativeAPI.CameraDevice_start ( int  cameraId,
int  preferredWidth,
int  preferredHeight 
)
Here is the caller graph for this function:

◆ CameraDevice_stop()

static int maxstAR.NativeAPI.CameraDevice_stop ( )
Here is the caller graph for this function:

◆ CloudManager_GetFeatureClient()

static bool maxstAR.NativeAPI.CloudManager_GetFeatureClient ( ulong  TrackedImage_cPtr,
byte []  descriptData,
int []  resultLength 
)

◆ CloudManager_JWTEncode()

static void maxstAR.NativeAPI.CloudManager_JWTEncode ( string  secretKey,
string  payloadString,
byte []  resultData 
)

◆ getVersion()

static void maxstAR.NativeAPI.getVersion ( byte []  versionBytes,
int  bytesLength 
)
Here is the caller graph for this function:

◆ GuideInfo_getFeatureBuffer()

static void maxstAR.NativeAPI.GuideInfo_getFeatureBuffer ( ulong  GuideInfo_cPtr,
float []  data,
int  length 
)
Here is the caller graph for this function:

◆ GuideInfo_getFeatureCount()

static int maxstAR.NativeAPI.GuideInfo_getFeatureCount ( ulong  GuideInfo_cPtr)
Here is the caller graph for this function:

◆ GuideInfo_getInitializingProgress()

static float maxstAR.NativeAPI.GuideInfo_getInitializingProgress ( ulong  GuideInfo_cPtr)
Here is the caller graph for this function:

◆ GuideInfo_getKeyframeCount()

static int maxstAR.NativeAPI.GuideInfo_getKeyframeCount ( ulong  GuideInfo_cPtr)
Here is the caller graph for this function:

◆ GuideInfo_getTagAnchors()

static void maxstAR.NativeAPI.GuideInfo_getTagAnchors ( ulong  GuideInfo_cPtr,
char []  data,
int  length 
)
Here is the caller graph for this function:

◆ GuideInfo_getTagAnchorsLength()

static int maxstAR.NativeAPI.GuideInfo_getTagAnchorsLength ( ulong  GuideInfo_cPtr)
Here is the caller graph for this function:

◆ init()

static void maxstAR.NativeAPI.init ( string  licenseKey)

◆ MapViewer_create()

static int maxstAR.NativeAPI.MapViewer_create ( int  idx)

◆ MapViewer_deInitialize()

static void maxstAR.NativeAPI.MapViewer_deInitialize ( )

◆ MapViewer_getImage()

static void maxstAR.NativeAPI.MapViewer_getImage ( int  idx,
out byte  image 
)

◆ MapViewer_getImageSize()

static int maxstAR.NativeAPI.MapViewer_getImageSize ( int  idx)

◆ MapViewer_getIndices()

static void maxstAR.NativeAPI.MapViewer_getIndices ( out int  indices)

◆ MapViewer_getJson()

static IntPtr maxstAR.NativeAPI.MapViewer_getJson ( )

◆ MapViewer_getTexCoords()

static void maxstAR.NativeAPI.MapViewer_getTexCoords ( out float  texCoords)

◆ MapViewer_initialize()

static bool maxstAR.NativeAPI.MapViewer_initialize ( string  fileName)

◆ onSurfaceChanged()

static void maxstAR.NativeAPI.onSurfaceChanged ( int  surfaceWidth,
int  surfaceHeight 
)
Here is the caller graph for this function:

◆ setScreenOrientation()

static void maxstAR.NativeAPI.setScreenOrientation ( int  orientation)
Here is the caller graph for this function:

◆ startSensor()

static void maxstAR.NativeAPI.startSensor ( )
Here is the caller graph for this function:

◆ stopSensor()

static void maxstAR.NativeAPI.stopSensor ( )
Here is the caller graph for this function:

◆ SurfaceThumbnail_getBpp()

static int maxstAR.NativeAPI.SurfaceThumbnail_getBpp ( ulong  SurfaceThumbnail_cPtr)

◆ SurfaceThumbnail_getData()

static int maxstAR.NativeAPI.SurfaceThumbnail_getData ( ulong  SurfaceThumbnail_cPtr,
byte []  data,
int  length 
)
Here is the caller graph for this function:

◆ SurfaceThumbnail_getHeight()

static int maxstAR.NativeAPI.SurfaceThumbnail_getHeight ( ulong  SurfaceThumbnail_cPtr)
Here is the caller graph for this function:

◆ SurfaceThumbnail_getLength()

static int maxstAR.NativeAPI.SurfaceThumbnail_getLength ( ulong  SurfaceThumbnail_cPtr)
Here is the caller graph for this function:

◆ SurfaceThumbnail_getWidth()

static int maxstAR.NativeAPI.SurfaceThumbnail_getWidth ( ulong  SurfaceThumbnail_cPtr)
Here is the caller graph for this function:

◆ Trackable_getCloudMeta()

static void maxstAR.NativeAPI.Trackable_getCloudMeta ( ulong  Trackable_cPtr,
byte []  cloudMeta,
int []  length 
)
Here is the caller graph for this function:

◆ Trackable_getCloudName()

static void maxstAR.NativeAPI.Trackable_getCloudName ( ulong  Trackable_cPtr,
byte []  cloudName 
)
Here is the caller graph for this function:

◆ Trackable_getHeight()

static float maxstAR.NativeAPI.Trackable_getHeight ( ulong  Trackable_cPtr)
Here is the caller graph for this function:

◆ Trackable_getId()

static void maxstAR.NativeAPI.Trackable_getId ( ulong  Trackable_cPtr,
byte []  id 
)
Here is the caller graph for this function:

◆ Trackable_getName()

static void maxstAR.NativeAPI.Trackable_getName ( ulong  Trackable_cPtr,
byte []  name 
)
Here is the caller graph for this function:

◆ Trackable_getPose()

static void maxstAR.NativeAPI.Trackable_getPose ( ulong  Trackable_cPtr,
float []  pose 
)
Here is the caller graph for this function:

◆ Trackable_getWidth()

static float maxstAR.NativeAPI.Trackable_getWidth ( ulong  Trackable_cPtr)
Here is the caller graph for this function:

◆ TrackedImage_getData()

static void maxstAR.NativeAPI.TrackedImage_getData ( ulong  Image_cPtr,
byte []  buffer,
int  size 
)
Here is the caller graph for this function:

◆ TrackedImage_getDataPtr()

static ulong maxstAR.NativeAPI.TrackedImage_getDataPtr ( ulong  Image_cPtr)
Here is the caller graph for this function:

◆ TrackedImage_getFormat()

static int maxstAR.NativeAPI.TrackedImage_getFormat ( ulong  Image_cPtr)

◆ TrackedImage_getHeight()

static int maxstAR.NativeAPI.TrackedImage_getHeight ( ulong  Image_cPtr)

◆ TrackedImage_getIndex()

static int maxstAR.NativeAPI.TrackedImage_getIndex ( ulong  Image_cPtr)

◆ TrackedImage_getLength()

static int maxstAR.NativeAPI.TrackedImage_getLength ( ulong  Image_cPtr)

◆ TrackedImage_getWidth()

static int maxstAR.NativeAPI.TrackedImage_getWidth ( ulong  Image_cPtr)

◆ TrackedImage_getYuv420_888YUVPtr()

static ulong maxstAR.NativeAPI.TrackedImage_getYuv420_888YUVPtr ( ulong  Image_cPtr,
out IntPtr  y_Ptr,
out IntPtr  u_Ptr,
out IntPtr  v_Ptr,
bool  supportRG16Texture 
)
Here is the caller graph for this function:

◆ TrackedImage_getYuv420spY_U_VPtr()

static ulong maxstAR.NativeAPI.TrackedImage_getYuv420spY_U_VPtr ( ulong  Image_cPtr,
out IntPtr  y_Ptr,
out IntPtr  u_Ptr,
out IntPtr  v_Ptr 
)
Here is the caller graph for this function:

◆ TrackedImage_getYuv420spY_UVPtr()

static void maxstAR.NativeAPI.TrackedImage_getYuv420spY_UVPtr ( ulong  Image_cPtr,
out IntPtr  y_Ptr,
out IntPtr  uv_Ptr 
)
Here is the caller graph for this function:

◆ TrackerManager_addTrackerData()

static void maxstAR.NativeAPI.TrackerManager_addTrackerData ( string  trackingFileName,
bool  isAndroidAssetFile = false 
)
Here is the caller graph for this function:

◆ TrackerManager_destroyTracker()

static void maxstAR.NativeAPI.TrackerManager_destroyTracker ( )
Here is the caller graph for this function:

◆ TrackerManager_findSurface()

static void maxstAR.NativeAPI.TrackerManager_findSurface ( )
Here is the caller graph for this function:

◆ TrackerManager_getGuideInfo()

static ulong maxstAR.NativeAPI.TrackerManager_getGuideInfo ( )
Here is the caller graph for this function:

◆ TrackerManager_getWorldPositionFromScreenCoordinate()

static void maxstAR.NativeAPI.TrackerManager_getWorldPositionFromScreenCoordinate ( float []  screen,
float []  world 
)
Here is the caller graph for this function:

◆ TrackerManager_isTrackerDataLoadCompleted()

static bool maxstAR.NativeAPI.TrackerManager_isTrackerDataLoadCompleted ( )
Here is the caller graph for this function:

◆ TrackerManager_loadTrackerData()

static void maxstAR.NativeAPI.TrackerManager_loadTrackerData ( )
Here is the caller graph for this function:

◆ TrackerManager_quitFindingSurface()

static void maxstAR.NativeAPI.TrackerManager_quitFindingSurface ( )
Here is the caller graph for this function:

◆ TrackerManager_removeTrackerData()

static void maxstAR.NativeAPI.TrackerManager_removeTrackerData ( string  trackingFileName = "")
Here is the caller graph for this function:

◆ TrackerManager_saveSurfaceData()

static ulong maxstAR.NativeAPI.TrackerManager_saveSurfaceData ( string  outputFileName)
Here is the caller graph for this function:

◆ TrackerManager_setTrackingOption()

static void maxstAR.NativeAPI.TrackerManager_setTrackingOption ( int  option)
Here is the caller graph for this function:

◆ TrackerManager_setVocabulary()

static void maxstAR.NativeAPI.TrackerManager_setVocabulary ( string  vocFilename,
bool  assetFile 
)
Here is the caller graph for this function:

◆ TrackerManager_startTracker()

static void maxstAR.NativeAPI.TrackerManager_startTracker ( int  trackerMask)
Here is the caller graph for this function:

◆ TrackerManager_stopTracker()

static void maxstAR.NativeAPI.TrackerManager_stopTracker ( )
Here is the caller graph for this function:

◆ TrackerManager_updateTrackingState()

static ulong maxstAR.NativeAPI.TrackerManager_updateTrackingState ( )
Here is the caller graph for this function:

◆ TrackingResult_getCount()

static int maxstAR.NativeAPI.TrackingResult_getCount ( ulong  TrackingResult_cPtr)
Here is the caller graph for this function:

◆ TrackingResult_getTrackable()

static ulong maxstAR.NativeAPI.TrackingResult_getTrackable ( ulong  TrackingResult_cPtr,
int  index 
)
Here is the caller graph for this function:

◆ TrackingState_getCodeScanResult()

static void maxstAR.NativeAPI.TrackingState_getCodeScanResult ( ulong  TrackingState_cPtr,
byte []  result,
int  length 
)
Here is the caller graph for this function:

◆ TrackingState_getCodeScanResultLength()

static int maxstAR.NativeAPI.TrackingState_getCodeScanResultLength ( ulong  TrackingState_cPtr)
Here is the caller graph for this function:

◆ TrackingState_getImage()

static ulong maxstAR.NativeAPI.TrackingState_getImage ( ulong  TrackingState_cPtr)
Here is the caller graph for this function:

◆ TrackingState_getTrackingResult()

static ulong maxstAR.NativeAPI.TrackingState_getTrackingResult ( ulong  TrackingState_cPtr)
Here is the caller graph for this function:

◆ WearableCalibration_deinit()

static void maxstAR.NativeAPI.WearableCalibration_deinit ( )
Here is the caller graph for this function:

◆ WearableCalibration_getProjectionMatrix()

static void maxstAR.NativeAPI.WearableCalibration_getProjectionMatrix ( float []  projection,
int  eyeType 
)
Here is the caller graph for this function:

◆ WearableCalibration_init()

static bool maxstAR.NativeAPI.WearableCalibration_init ( string  modelName)
Here is the caller graph for this function:

◆ WearableCalibration_isActivated()

static bool maxstAR.NativeAPI.WearableCalibration_isActivated ( )
Here is the caller graph for this function:

◆ WearableCalibration_setSurfaceSize()

static void maxstAR.NativeAPI.WearableCalibration_setSurfaceSize ( int  width,
int  height 
)

The documentation for this class was generated from the following file: