Inherits from UIView
Declared in PARRadarView.h

Overview

PARRadarView

Tasks

Properties

arViewController

the PARViewController PARRadarView instance belongs to

@property (nonatomic, strong) PARViewController *arViewController

Discussion

the PARViewController PARRadarView instance belongs to

Declared In

PARRadarView.h

backgroundImageView

the background image container

@property (nonatomic, strong, readonly) UIImageView *backgroundImageView

Discussion

the background image container

Declared In

PARRadarView.h

canBeVisible

used internally to determine if view should be visible

@property (nonatomic, assign) BOOL canBeVisible

Discussion

used internally to determine if view should be visible

Declared In

PARRadarView.h

containerView

the container view which is rotated

@property (nonatomic, strong, readonly) UIView *containerView

Discussion

the container view which is rotated

Declared In

PARRadarView.h

renderID

used internally to keep track of rendered objects

@property (nonatomic, readonly) int renderID

Discussion

used internally to keep track of rendered objects

Declared In

PARRadarView.h

Class Methods

activeView

the currently active radar view @deprecated don’t use this any more, it will be removed from future revisions

+ (PARRadarView *)activeView

Discussion

the currently active radar view @deprecated don’t use this any more, it will be removed from future revisions

Declared In

PARRadarView.h

Instance Methods

animatesRadius

YES if radar radius is currently being animated @remarks

- (BOOL)animatesRadius

Discussion

YES if radar radius is currently being animated @remarks

Declared In

PARRadarView.h

hideRadar

hide the radar

- (void)hideRadar

Discussion

hide the radar

Declared In

PARRadarView.h

initWithImage:

default initialization creates an PARRadarView instance using the image as background image

- (id)initWithImage:(UIImage *)image

Parameters

image

UIImage used as background for the PARRadarView instance

Discussion

default initialization creates an PARRadarView instance using the image as background image

Declared In

PARRadarView.h

isRadarVisible

is radar visible?

- (BOOL)isRadarVisible

Discussion

is radar visible?

Declared In

PARRadarView.h

radarInset

inset of radar dots @remarks max. distance of dot to center of radar = radius – inset

- (float)radarInset

Discussion

inset of radar dots @remarks max. distance of dot to center of radar = radius – inset

Declared In

PARRadarView.h

radarMatrix

radar orientation matrix

- (PSKMatrix4x4 *)radarMatrix

Discussion

radar orientation matrix

Declared In

PARRadarView.h

radarMode

current radar mode

- (PARRadarMode)radarMode

Discussion

current radar mode

Declared In

PARRadarView.h

radarRadius

range of the radar in pixel

- (float)radarRadius

Discussion

range of the radar in pixel

Declared In

PARRadarView.h

radarRange

radar range in meters, objects outside range will not be displayed on radar

- (float)radarRange

Return Value

the range @remarks default = 10.000 meters

Discussion

radar range in meters, objects outside range will not be displayed on radar

Declared In

PARRadarView.h

setRadarInset:

inset of radar dots in pixels

- (void)setRadarInset:(float)theInset

Parameters

theInset

inset of radar dots in pixels

Declared In

PARRadarView.h

setRadarRange:

set radar range in meters, objects outside range will not be displayed on radar

- (void)setRadarRange:(float)theRange

Parameters

theRange

the range the radar will display markers in

Discussion

set radar range in meters, objects outside range will not be displayed on radar

Declared In

PARRadarView.h

setRadarToFullscreen

make radar fullscreen

- (void)setRadarToFullscreen

Discussion

make radar fullscreen

Declared In

PARRadarView.h

setRadarToFullscreen:withSizeOffset:

make radar fullscreen

- (void)setRadarToFullscreen:(CGPoint)theOffset withSizeOffset:(float)sizeOffset

Parameters

theOffset

move center

sizeOffset

add inset

Discussion

make radar fullscreen

Declared In

PARRadarView.h

setRadarToThumbnail

shows the radar in Thumbnail mode

- (void)setRadarToThumbnail

Discussion

shows the radar in Thumbnail mode

Declared In

PARRadarView.h

setRadarToThumbnail:

shows the radar in Thumbnail mode in the specific position of the PAR view

- (void)setRadarToThumbnail:(PARRadarPosition)thePosition

Parameters

thePosition

– @ref PARRadarPosition

Discussion

shows the radar in Thumbnail mode in the specific position of the PAR view

Declared In

PARRadarView.h

setRadarToThumbnail:withAdditionalOffset:

shows the radar in Thumbnail mode in the specific position of the PAR view

- (void)setRadarToThumbnail:(PARRadarPosition)thePosition withAdditionalOffset:(CGRect)theOffset

Parameters

thePosition

– @ref PARRadarPosition

theOffset

– offset from the respective borders of the screen

Discussion

shows the radar in Thumbnail mode in the specific position of the PAR view

Declared In

PARRadarView.h

setRadarToThumbnail:withAdditionalOffset:andSize:

shows the radar in Thumbnail mode in the specific position of the PAR view

- (void)setRadarToThumbnail:(PARRadarPosition)thePosition withAdditionalOffset:(CGRect)theOffset andSize:(float)theSize

Parameters

thePosition

– @ref PARRadarPosition

theOffset

– offset from the respective borders of the screen

theSize

– size of the radar on the screen

Discussion

shows the radar in Thumbnail mode in the specific position of the PAR view

Declared In

PARRadarView.h

setRadarToThumbnail:withSize:

shows the radar in Thumbnail mode in the specific position of the PAR view

- (void)setRadarToThumbnail:(CGPoint)thePosition withSize:(float)theSize

Parameters

thePosition

– set position directly using a @ref CGPoint

theSize

– size of the radar on the screen

Discussion

shows the radar in Thumbnail mode in the specific position of the PAR view

Declared In

PARRadarView.h

showRadar

shows the radar in the last RadarMode set or in thumbnail if none was set before

- (void)showRadar

Discussion

shows the radar in the last RadarMode set or in thumbnail if none was set before

Declared In

PARRadarView.h

showRadarInMode:

show the PARRadarView in a specific mode

- (void)showRadarInMode:(PARRadarMode)theMode

Parameters

theMode

PARRadarMode in which the radar will be shown

Discussion

show the PARRadarView in a specific mode

Declared In

PARRadarView.h