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
-
annotationView
The view on which all the annotations and camera frames are rendered.
property -
displayed
Tells wether or not this view controller is currently displayed and visible
property -
– stopAndUnload
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.
-
– annotationViewDidBecomeEmpty
This method is called when all annotations are removed from the screen and nothing more is displayed to the user.
-
– annotationViewDidPresentAnnotations
This 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)annotationViewDidBecomeEmpty
Availability
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.h
annotationViewDidPresentAnnotations
This method is called when some annotations are shown on the screen, which was previously empty.
- (void)annotationViewDidPresentAnnotations
Availability
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.h
stopAndUnload
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)stopAndUnload
Availability
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