WTTrackingMapRecorder Class Reference
Inherits from | NSObject |
---|---|
Declared in | WTTrackingMapRecorder.h |
Overview
WTTrackingMapRecorder provides the functionality to record so called ‘Tracking Maps’ that are needed for 3D tracking.
delegate
Delegate pointer for a WTTrackingMapRecorder object.
@property (nonatomic, weak) id<WTTrackingMapRecorderDelegate> delegate
Declared In
WTTrackingMapRecorder.h
– startTrackingMapRecording:
Starts a new 3D tracking map recording session.
- (void)startTrackingMapRecording:(WTTrackingMapRecordingStartupHandler)startupHandler
Parameters
startupHandler |
A block that is executed when the recording actually started. |
---|
Discussion
This method returns immediately and starts the recording session in the background.
Declared In
WTTrackingMapRecorder.h
– isRecording
Use this method to check if a 3D tracking map recording session is currently running or not.
- (BOOL)isRecording
Return Value
YES is a 3D tracking map recording session is currently running or not.
Declared In
WTTrackingMapRecorder.h
– stopTrackingMapRecording:completion:
Stops an already running 3D tracking map recording session.
- (void)stopTrackingMapRecording:(NSString *)mapName completion:(WTTrackingMapRecordingCompletionHandler)completionHandler
Parameters
mapName |
The name of the 3D tracking map file. |
---|---|
completionHandler |
A completion handler that is called once the 3D tracking map could be saved to disk or not. |
Declared In
WTTrackingMapRecorder.h
– cancelTrackingMapRecording
Cancels an already running 3D tracking map recording session. Calling this method without a running 3D tracking map recording session has no effect.
- (void)cancelTrackingMapRecording
Discussion
Note: This method returns immediately.
Once the running 3D tracking map recording session is canceled, it can’t be restarted nor saved.
Declared In
WTTrackingMapRecorder.h