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

Overview

PARViewController

Tasks

  •   arView

    the arView of this PARViewController

    property
  •   arRadarView

    the arRadarView of this PARViewController

    property
  •   cameraView

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

    property
  •   cameraAvCaptureSession

    the AVCaptureSession powering the live camera preview (if camera is used)

    property
  •   cameraAvCaptureVideoPreviewLayer

    the AVCaptureVideoPreviewLayer powering the live camera preview (if camera is used)

    property
  •   cameraPreviewVisible

    is the camera preview visible?

    property
  •   touched

    currently touched?

    property
  •   touchMoved

    currently touched and touch moved?

    property
  • – sensorManager

    reference to the PSKSensorManager:sharedSensorManager @remarks for convenience

  • – deviceAttitude

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

  • – setNotification:

    show a string in the notification overlay window of the PARViewController

  •   notificationVisible

    YES if notificationView is visible

    property
  •   orientationOffsetAngle

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

    property
  • – paused

    pause all updates in the PARViewController’s views

  • – setPaused:

    pause all updates in the PARViewController’s views

  • + setActiveViewController:

    set the curretly active PARViewController

  • + activeViewController

    the currently active PARViewController

  • – touchDragX

    X-distance moved since last touch position @deprecated don’t use this any more, it will be removed from future revisions

  • – touchMovedX

    X-distance moved since initial touch position @deprecated don’t use this any more, it will be removed from future revisions

  • – touchDragY

    Y-distance moved since last touch position @deprecated don’t use this any more, it will be removed from future revisions

  • – touchMovedY

    Y-distance moved since initial touch position @deprecated don’t use this any more, it will be removed from future revisions

  • – resetTouchDrag

    reset last touch position to 0,0 @deprecated don’t use this any more, it will be removed from future revisions

  • – 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

Properties

arRadarView

the arRadarView of this PARViewController

@property (nonatomic, strong, readonly) PARRadarView *arRadarView

Discussion

the arRadarView of this PARViewController

Declared In

PARViewController.h

arView

the arView of this PARViewController

@property (nonatomic, strong, readonly) PARView *arView

Discussion

the arView of this PARViewController

Declared In

PARViewController.h

cameraAvCaptureSession

the AVCaptureSession powering the live camera preview (if camera is used)

@property (nonatomic, strong, readonly) AVCaptureSession *cameraAvCaptureSession

Discussion

the AVCaptureSession powering the live camera preview (if camera is used)

Declared In

PARViewController.h

cameraAvCaptureVideoPreviewLayer

the AVCaptureVideoPreviewLayer powering the live camera preview (if camera is used)

@property (nonatomic, strong, readonly) AVCaptureVideoPreviewLayer *cameraAvCaptureVideoPreviewLayer

Discussion

the AVCaptureVideoPreviewLayer powering the live camera preview (if camera is used)

Declared In

PARViewController.h

cameraPreviewVisible

is the camera preview visible?

@property (nonatomic, assign, readonly) BOOL cameraPreviewVisible

Discussion

is the camera preview visible?

Declared In

PARViewController.h

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

notificationVisible

YES if notificationView is visible

@property (nonatomic, assign, readonly) BOOL notificationVisible

Return Value

YES if notificationView is visible

Declared In

PARViewController.h

orientationOffsetAngle

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

@property (nonatomic, assign, readonly) float orientationOffsetAngle

Discussion

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

Declared In

PARViewController.h

touchMoved

currently touched and touch moved?

@property (nonatomic, assign, readonly) BOOL touchMoved

Discussion

currently touched and touch moved?

Declared In

PARViewController.h

touched

currently touched?

@property (nonatomic, assign, readonly) BOOL touched

Discussion

currently touched?

Declared In

PARViewController.h

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 @deprecated don’t use this any more, it will be removed from future revisions

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 @deprecated don’t use this any more, it will be removed from future revisions

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 @deprecated don’t use this any more, it will be removed from future revisions

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 @deprecated don’t use this any more, it will be removed from future revisions

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 @deprecated don’t use this any more, it will be removed from future revisions

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 @deprecated don’t use this any more, it will be removed from future revisions

Declared In

PARViewController.h