VDARLiveAnnotationViewController Class Reference
| Inherits from | UIViewController |
| Conforms to | VDARSDKControllerDelegate |
| Declared in | VDARLiveAnnotationViewController.h |
Overview
Provide a view rendering and displaying live Augmented reality rendering. It also implement the AnnotationJS framework allowing to create interactive annotation in JavaScript.
Tasks
-
annotationViewThe view on which all the annotations and camera frames are rendered.
property -
displayedTells wether or not this view controller is currently displayed and visible
property -
– stopAndUnloadThis method can be used to stop the augmented reality rendering currently running in the receiver and unload all related resources such as OpenGL context.
-
– annotationViewDidBecomeEmptyThis method is called when all annotations are removed from the screen and nothing more is displayed to the user.
-
– annotationViewDidPresentAnnotationsThis method is called when some annotations are shown on the screen, which was previously empty.
Properties
Instance Methods
annotationViewDidBecomeEmpty
This method is called when all annotations are removed from the screen and nothing more is displayed to the user.
- (void)annotationViewDidBecomeEmptyAvailability
3.0.4
Discussion
This method is called when all annotations are removed from the screen and nothing more is displayed to the user.
This can be overloaded and used to show back some instructions for the users that would have been hidden when didEnterContext: is called.
By default, it does nothing.
Declared In
VDARLiveAnnotationViewController.hannotationViewDidPresentAnnotations
This method is called when some annotations are shown on the screen, which was previously empty.
- (void)annotationViewDidPresentAnnotationsAvailability
3.0.4
Discussion
This method is called when some annotations are shown on the screen, which was previously empty.
This can be overloaded and used to hide instructions from the users that would have been displayed when annotationViewDidBecomeEmpty is called.
By default, it does nothing.
Declared In
VDARLiveAnnotationViewController.hstopAndUnload
This method can be used to stop the augmented reality rendering currently running in the receiver and unload all related resources such as OpenGL context.
- (void)stopAndUnloadAvailability
2.2.1
Discussion
This method can be used to stop the augmented reality rendering currently running in the receiver and unload all related resources such as OpenGL context.
This allows the usage of an OpenGL context and camera before this view controller has been unloaded by the OS.
Declared In
VDARLiveAnnotationViewController.h