Inherits from UIViewController
Conforms to PARViewControllerDelegate
PSKSensorDelegate
Declared in PARViewController.h

Overview

PARViewController

Tasks

Properties

arRadarView

the arRadarView of this PARViewController

@property (nonatomic, strong) IBOutlet PARRadarView *arRadarView

Discussion

the arRadarView of this PARViewController

Declared In

PARViewController.h

arView

the arView of this PARViewController

@property (nonatomic, strong) IBOutlet PARView *arView

Discussion

the arView of this PARViewController

Declared In

PARViewController.h

cameraCaptureSession

cameraCaptureVideoPreviewLayer

cameraDevice

cameraFocusPointOfInterest

@property focus point for camera - set to @ref CGPointZero to disable (default)

@property (nonatomic, assign) CGPoint cameraFocusPointOfInterest

Discussion

@property focus point for camera - set to @ref CGPointZero to disable (default)

Declared In

PARViewController.h

cameraPreviewVisible

cameraView

the camera view of this PARViewController (if camera is used)

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

Discussion

the camera view of this PARViewController (if camera is used)

Declared In

PARViewController.h

desiredCameraFocusMode

@property the desired auto focus mode for the camera preview @ref AVCaptureFocusMode - default

@property (nonatomic, assign) AVCaptureFocusMode desiredCameraFocusMode

Discussion

@property the desired auto focus mode for the camera preview @ref AVCaptureFocusMode - default

Declared In

PARViewController.h

notificationVisible

YES if notificationView is visible

@property (nonatomic, assign, readonly) BOOL notificationVisible

Return Value

YES if notificationView is visible

Declared In

PARViewController.h

orientationOffsetAngle

the current offset of the view from portrait orientation, in degres @remarks for internal use only

@property (nonatomic, assign, readonly) float orientationOffsetAngle

Declared In

PARViewController.h

touchMoved

touched

Class Methods

activeViewController

the currently active PARViewController

+ (PARViewController *)activeViewController

Discussion

the currently active PARViewController

Declared In

PARViewController.h

setActiveViewController:

set the curretly active PARViewController

+ (void)setActiveViewController:(PARViewController *)theViewController

Parameters

theViewController

the active PARViewController

Discussion

set the curretly active PARViewController

Declared In

PARViewController.h

Instance Methods

deviceAttitude

reference to the PSKSensorManager:sharedSensorManager:deviceAttitude @remarks for convenience

- (PSKDeviceAttitude *)deviceAttitude

Discussion

reference to the PSKSensorManager:sharedSensorManager:deviceAttitude @remarks for convenience

Declared In

PARViewController.h

paused

pause all updates in the PARViewController’s views

- (BOOL)paused

Discussion

pause all updates in the PARViewController’s views

Declared In

PARViewController.h

resetTouchDrag

reset last touch position to 0,0 (Deprecated: don’t use this any more, it will be removed from future revisions)

- (void)resetTouchDrag

Discussion

reset last touch position to 0,0

Declared In

PARViewController.h

sensorManager

reference to the PSKSensorManager:sharedSensorManager @remarks for convenience

- (PSKSensorManager *)sensorManager

Discussion

reference to the PSKSensorManager:sharedSensorManager @remarks for convenience

Declared In

PARViewController.h

setNotification:

show a string in the notification overlay window of the PARViewController

- (void)setNotification:(NSString *)notification

Parameters

notification

NSString used for the notification @remarks while notifications are visible the PARView and PARRadarView are hidden

Discussion

show a string in the notification overlay window of the PARViewController

Declared In

PARViewController.h

setPaused:

pause all updates in the PARViewController’s views

- (void)setPaused:(BOOL)paused

Parameters

paused

YES to pause, NO to unpause

Discussion

pause all updates in the PARViewController’s views

Declared In

PARViewController.h

tapped

has the ar view been tapped * @remarks reset to NO after processing (Deprecated: don’t use this any more, it will be removed from future revisions)

- (BOOL)tapped

Discussion

has the ar view been tapped * @remarks reset to NO after processing

Declared In

PARViewController.h

touchDragX

X-distance moved since last touch position (Deprecated: don’t use this any more, it will be removed from future revisions)

- (float)touchDragX

Discussion

X-distance moved since last touch position

Declared In

PARViewController.h

touchDragY

Y-distance moved since last touch position (Deprecated: don’t use this any more, it will be removed from future revisions)

- (float)touchDragY

Discussion

Y-distance moved since last touch position

Declared In

PARViewController.h

touchMovedX

X-distance moved since initial touch position (Deprecated: don’t use this any more, it will be removed from future revisions)

- (float)touchMovedX

Discussion

X-distance moved since initial touch position

Declared In

PARViewController.h

touchMovedY

Y-distance moved since initial touch position (Deprecated: don’t use this any more, it will be removed from future revisions)

- (float)touchMovedY

Discussion

Y-distance moved since initial touch position

Declared In

PARViewController.h