Ocean
|
This class implements the Objc wrapper for the room plan tracker. More...
Instance Methods | |
(bool) | - start: |
Starts the tracker. More... | |
(bool) | - stop |
Stopps the tracker. More... | |
(void) | - onSessionTest:didUpdateFrame: |
Event function for frame update events. More... | |
(void) | - onCaptureSessionStarted |
Event function when the capture session has started. More... | |
(void) | - onCaptureSessionAdded:andVolumetric: |
Event function for added room objects. More... | |
(void) | - onCaptureSessionRemoved:andVolumetric: |
Event function for removed room objects. More... | |
(void) | - onCaptureSessionChanged:andVolumetric: |
Event function for changed room objects. More... | |
(void) | - onCaptureSessionUpdated:andVolumetric: |
Event function for updated room objects. More... | |
(void) | - onCaptureSessionInstruction: |
Event function for instructions. More... | |
(void) | - onCaptureSessionStopped |
Event function when the capture session has stopped. More... | |
Class Methods | |
(bool) | + isSupported |
Returns whether the tracker is supported on this platform. More... | |
This class implements the Objc wrapper for the room plan tracker.
+ (bool) isSupported |
Returns whether the tracker is supported on this platform.
- (void) onCaptureSessionAdded: | (NSArray< PlanarRoomObject * > *) | planarRoomObjects | |
andVolumetric: | (NSArray< VolumetricRoomObject * > *) | volumetricRoomObjects | |
Event function for added room objects.
planarRoomObjects | The new planar objects |
volumetricRoomObjects | The new volumetric objects |
- (void) onCaptureSessionChanged: | (NSArray< PlanarRoomObject * > *) | planarRoomObjects | |
andVolumetric: | (NSArray< VolumetricRoomObject * > *) | volumetricRoomObjects | |
Event function for changed room objects.
planarRoomObjects | The changed planar objects |
volumetricRoomObjects | The changed volumetric objects |
- (void) onCaptureSessionInstruction: | (NSString *) | instruction |
Event function for instructions.
instruction | The instruction which can be used to improve the capture result |
- (void) onCaptureSessionRemoved: | (NSArray< PlanarRoomObject * > *) | planarRoomObjects | |
andVolumetric: | (NSArray< VolumetricRoomObject * > *) | volumetricRoomObjects | |
Event function for removed room objects.
planarRoomObjects | The removed planar objects |
volumetricRoomObjects | The removed volumetric objects |
- (void) onCaptureSessionStarted |
Event function when the capture session has started.
- (void) onCaptureSessionStopped |
Event function when the capture session has stopped.
- (void) onCaptureSessionUpdated: | (NSArray< PlanarRoomObject * > *) | planarRoomObjects | |
andVolumetric: | (NSArray< VolumetricRoomObject * > *) | volumetricRoomObjects | |
Event function for updated room objects.
planarRoomObjects | The updated planar objects |
volumetricRoomObjects | The updated volumetric objects |
- (void) onSessionTest: | (ARSession *) | session | |
didUpdateFrame: | (ARFrame *) | frame | |
Event function for frame update events.
session | The sending session |
frame | The updated frame |
- (bool) start: | (AKRoomPlanTracker6DOFOwnerContainer *) | ownerContainer |
Starts the tracker.
ownerContainer | The owner's delegate of this tracker |
- (bool) stop |
Stopps the tracker.