PanicAR Framework 1.04
Ready-to-go AR functionality for any existing iOS App
Public Member Functions

ARMarker Class Reference

marker object to be rendered in the ARController's view More...

Inherits ARObjectDelegate-p.

List of all members.

Public Member Functions

(id) - initWithTitle:
(id) - initWithTitle:contentOrNil:
(id) - initWithTitle:contentOrNil:imageOrNil:
(id) - initWithTitle:contentOrNil:imageOrNil:templateOrNil:

Detailed Description

marker object to be rendered in the ARController's view

a marker contains the geolocation and description (title, content, distance, image) a marker template will be used to render the marker if no special template is assigned the default infoLabel template will be used

markers can be subclassed to extend their functionality


Member Function Documentation

- (id) initWithTitle: (NSString *)  pTitle

create ARMarker with Title

Parameters:
Title,:title of the marker (may not be nil)
- (id) initWithTitle: (NSString *)  pTitle
contentOrNil: (NSString *)  pContent 

create ARMarker with Title and Description (content)

Parameters:
Title,:title of the marker (may not be nil)
contentOrNil,:description/content of the marker (may be nil)
- (id) initWithTitle: (NSString *)  pTitle
contentOrNil: (NSString *)  pContent
imageOrNil: (UIImage *)  pImage 

create ARMarker with Title, Description (content) and Image, Title is a mandatory parameter.

Parameters:
Title,:title of the marker (may not be nil)
contentOrNil,:description/content of the marker (may be nil)
imageOrNil,:image to be rendered as specified in marker template, can be used for anything: icon, thumbnail, portrait, etc. (may be nil)
- (id) initWithTitle: (NSString *)  pTitle
contentOrNil: (NSString *)  pContent
imageOrNil: (UIImage *)  pImage
templateOrNil: (ARMarkerTemplate *)  pTemplate 

create ARMarker at Geolocation with Title, Description (content) and Image, Title is a mandatory parameter. Optional: use a custom template for this marker.

Parameters:
Title,:title of the marker (may not be nil)
contentOrNil,:description/content of the marker (may be nil)
imageOrNil,:image to be rendered as specified in marker template, can be used for anything: icon, thumbnail, portrait, etc. (may be nil)
templateOrNil,:template that will be used to render the marker (may be nil); if nil: default template will be used
 All Classes Functions