Inherits <NSObjectNSObject>.
|
(void) | - onCalibrationResults: |
| Receive the calibration data Will be called with a valid calibration, when getResults has been called. This function will only be called, when using the camera calibration configuration. More...
|
|
(void) | - onCGDebugImageRef:withRotationMatrix: |
| Retreives the configured Debug Image as a CGImageRef When overloading this function, a CGImageRef will be passed, when needed to be set or rendered as background texture functions like onGetDebugImageBufferWithWidth and/or onRawImageBuffer will not be called then, even if defined. More...
|
|
(void) | - onCGImageRef:withRotationMatrix: |
| Receive a CGImageRef image buffer When overloading this function, a CGImageRef will be passed, when needed to be set or rendered as background functions like onGetImageBufferWithWidth and/or onRawImageBuffer will not be called then, even if defined. More...
|
|
(void) | - onExtrinsicData:isValid: |
| Receiving the camera pose Overloading this function will pass a model view matrix for the rendering system. More...
|
|
(void) | - onGetAttribute:withValue: |
| Receive the requested attribute Will be called when an attribute of the pipeline has been requested using getAttributeRequest. More...
|
|
(NSMutableData *_Nonnull) | - onGetDebugImageBufferWithWidth:andHeight:andBytesPerPixel: |
| Retreives the configured Debug Image Use this for setting your own memory location to be the image copied in. More...
|
|
(NSMutableData *_Nonnull) | - onGetImageBufferWithWidth:andHeight:andBytesPerPixel: |
| Set your own image buffer to copy the image into Use either this for setting your own memory location to be the image copied in. More...
|
|
(void) | - onInitPose:andQ: |
| Receive the initial pose as quaternion and translation. Will be called when getInitPose has been issued, it will return the currently set init pose (in openGL compatible system)
|
|
(void) | - onInitPoseMatrix: |
| Receive the initial pose as matrix. Will be called when getInitPose has been issued, it will return the currently set init pose (in openGL compatible system)
|
|
(void) | - onIntrinsicData: |
| Receive the projection matrix Overloading this function will pass a projection matrix regarding the set near and far, width and height value of your screen. More...
|
|
(void) | - onIntrinsicDataWithWidth:height:cx:cy:fx:fy: |
| Receive the intrinsic data Overloading this function will pass a projection matrix regarding the set near and far, width and height value of your screen. More...
|
|
(void) | - onIssuesTriggered:andErrors: |
| Will be called when the tracker has been done loading and is running now. Tracking issues are passed separated by errors and warnings. You should take these very serious. You can review a complete list of possible issues in the documentation. More...
|
|
(void) | - onLog: |
| Receive the internal visionLib Log. Depending on the configured log level you will receive the internal log messages from the visionlib. You might use these messages during development. Anyway it is NOT recommended using them for the end user nor parsing them. Defined issues should be gathered by using onIssuesTriggered:andErrors:. More...
|
|
(void) | - onMetalDebugImageTexture:withRotationMatrix: |
| Retreives the configured Debug Image as a metal texture When overloading this function, a metal texture will be passed, when needed to be set or rendered as background texture functions like onGetDebugImageBufferWithWidth and/or onRawImageBuffer will not be called then, even if defined. More...
|
|
(void) | - onMetalImageTexture:withRotationMatrix: |
| Receive a metal image buffer (experimental) When overloading this function, a metal texture will be passed, when needed to be set or rendered as background texture functions like onGetImageBufferWithWidth and/or onRawImageBuffer will not be called then, even if defined. More...
|
|
(void) | - onModelProperties: |
|
(void) | - onModelRemoved:withError: |
|
(void) | - onRawDebugImageBuffer:withWidth:andHeight:andBytesPerPixel: |
| Retreives the configured Debug Image Overloading this function onGetDebugImageBufferWithWidth should not have been overloaded too. will provide you on every frame with fresh image data. More...
|
|
(void) | - onRawImageBuffer:withWidth:andHeight:andBytesPerPixel: |
| Receive a raw image buffer Overloading this function onGetImageBufferWithWidth should not have been overloaded too. will provide you on every frame with fresh image data. More...
|
|
(void) | - onRawModelAdded:withError: |
|
(void) | - onResetTracking: |
| Receive the reset state Will be called when a reset has occured (hard or soft) More...
|
|
(void) | - onSteppedFrame |
| Receive the stepped state. Will be called, when the SDK has stepped one frame forward. This can be used in conjunction with stepFrame.
|
|
(void) | - onTrackerInitialized: |
| When the tracker has been initialized Will be called when the tracker has been done loading and is running now or not. It is recommended also using the onIssuesTriggered:andErrors: function for more precise informations about the state of the tracking pipe. More...
|
|
(void) | - onTrackingInformation: |
| Receive runtime tracking information on each frame Will pass a dictionary with information about the tracking quality etc into the application only if is tracking. More...
|
|
(void) | - onTrackingPaused: |
| Receive the pause state. Will be called, when the tracking pause was issued. More...
|
|
Listener for all callbacks of the visionLib.
vlFrameListenerInterface The vlFrameListenerInterface delegate protocol allows you gaining on frame information about the current tracking state.
- (void vlFrameListenerInterface) onTrackingInformation: |
|
(vlTrackingState *_Nonnull) |
state |
|
|
optional |
Receive runtime tracking information on each frame Will pass a dictionary with information about the tracking quality etc into the application only if is tracking.
- Parameters
-
state | A Dictionary holding informations about the tracking |
"quality": 0.39441, // maps to tracking quality for now
"state": "tracked", // Can be "tracked", "critical" or "lost"
"_InitInlierRatio": 0.731507, // The quality that has been present at the moment of initialization
"_InitNumOfCorresp": 365, // The number of correspondences used when initializing
"_TrackingInlierRatio": 0.39441, // The current quality
"_TrackingNumOfCorresp": 392, // The number of correspondences used actually
"_SFHFrameDist": 466.549, // Actual distance to last key frame
"_NumberOfTemplates": 83 // Number of reinitialization key frames learned