SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
#import <ViewController.h>
Inherits GLKViewController, <AVCaptureVideoDataOutputSampleBufferDelegate>, <CLLocationManagerDelegate>, and <CLLocationManagerDelegate>.
Instance Methods | |
(void) | - dealloc [implementation] |
(void) | - viewDidLoad [implementation] |
(void) | - didReceiveMemoryWarning [implementation] |
(void) | - update [implementation] |
(void) | - glkView:drawInRect: [implementation] |
(void) | - touchesBegan:withEvent: [implementation] |
(void) | - touchesMoved:withEvent: [implementation] |
(void) | - touchesEnded:withEvent: [implementation] |
(void) | - touchesCancle:withEvent: [implementation] |
(void) | - captureOutput:didOutputSampleBuffer:fromConnection: [implementation] |
(void) | - onAccelerationData: [implementation] |
(void) | - onGyroData: [implementation] |
(void) | - onMotionData: [implementation] |
(void) | - setupVideo:videoSizeIndex: [implementation] |
Prepares the video capture (taken from the GLCameraRipple example) More... | |
(void) | - setVideoType:videoSizeIndex: [implementation] |
Sets the video according to the passed type (0=NONE, 1=Main, 2=Secondary) More... | |
(void) | - setupMotionManager: [implementation] |
Starts the motion data update if the interval time > 0 else it stops. More... | |
(void) | - onDeviceMotionUpdate: [implementation] |
(void) | - setupLocationManager [implementation] |
Starts the location data update if the interval time > 0 else it stops. More... | |
(void) | - startLocationManager [implementation] |
Starts the location data update. More... | |
(void) | - stopLocationManager [implementation] |
Stops the location data update. More... | |
(void) | - locationManager:didUpdateToLocation:fromLocation: [implementation] |
(void) | - locationManager:didFailWithError: [implementation] |
(std::string) | - getAppsDocumentsDir [implementation] |
Protected Attributes | |
SLfloat | m_lastFrameTimeSec |
Timestamp for passing highres time. More... | |
SLfloat | m_lastTouchTimeSec |
Frame time of the last touch event. More... | |
SLfloat | m_lastTouchDownSec |
Time of last touch down. More... | |
SLint | m_touchDowns |
No. of finger touchdowns. More... | |
CGPoint | m_touchDownPos1 |
Pos. of touch down for finger 1. More... | |
AVCaptureSession * | m_avSession |
Audio video session. More... | |
NSString * | m_avSessionPreset |
Session name. More... | |
bool | m_lastVideoImageIsConsumed |
int | m_lastVideoType |
int | m_lastVideoSizeIndex |
VT_NONE=0,VT_MAIN=1,VT_SCND=2. More... | |
bool | m_locationIsRunning |
0=1920x1080, 1=1280x720 else 640x480 More... | |
Properties | |
EAGLContext * | context [implementation] |
GPS is running. More... | |
CMMotionManager * | motionManager [implementation] |
NSTimer * | motionTimer [implementation] |
CLLocationManager * | locationManager [implementation] |
Definition at line 12 of file ViewController.h.
|
implementation |
Definition at line 89 of file ViewController.mm.
|
implementation |
Definition at line 89 of file ViewController.mm.
|
implementation |
Definition at line 89 of file ViewController.mm.
|
implementation |
Definition at line 808 of file ViewController.mm.
|
implementation |
Definition at line 89 of file ViewController.mm.
|
implementation |
Definition at line 89 of file ViewController.mm.
|
implementation |
Definition at line 89 of file ViewController.mm.
|
implementation |
Definition at line 89 of file ViewController.mm.
|
implementation |
Definition at line 89 of file ViewController.mm.
|
implementation |
Definition at line 89 of file ViewController.mm.
|
implementation |
Definition at line 89 of file ViewController.mm.
|
implementation |
Starts the location data update if the interval time > 0 else it stops.
Definition at line 89 of file ViewController.mm.
|
implementation |
Starts the motion data update if the interval time > 0 else it stops.
Definition at line 89 of file ViewController.mm.
|
implementation |
Prepares the video capture (taken from the GLCameraRipple example)
Definition at line 89 of file ViewController.mm.
|
implementation |
Sets the video according to the passed type (0=NONE, 1=Main, 2=Secondary)
Definition at line 89 of file ViewController.mm.
|
implementation |
|
implementation |
|
implementation |
Definition at line 89 of file ViewController.mm.
|
implementation |
Definition at line 89 of file ViewController.mm.
|
implementation |
Definition at line 89 of file ViewController.mm.
|
implementation |
Definition at line 89 of file ViewController.mm.
|
implementation |
Definition at line 89 of file ViewController.mm.
|
implementation |
Definition at line 89 of file ViewController.mm.
|
protected |
Audio video session.
Definition at line 79 of file ViewController.mm.
|
protected |
Session name.
Definition at line 80 of file ViewController.mm.
|
protected |
Timestamp for passing highres time.
Definition at line 72 of file ViewController.mm.
|
protected |
Time of last touch down.
Definition at line 74 of file ViewController.mm.
|
protected |
Frame time of the last touch event.
Definition at line 73 of file ViewController.mm.
|
protected |
Definition at line 81 of file ViewController.mm.
|
protected |
VT_NONE=0,VT_MAIN=1,VT_SCND=2.
Definition at line 83 of file ViewController.mm.
|
protected |
Definition at line 82 of file ViewController.mm.
|
protected |
0=1920x1080, 1=1280x720 else 640x480
Definition at line 84 of file ViewController.mm.
|
protected |
Pos. of touch down for finger 1.
Definition at line 76 of file ViewController.mm.
|
protected |
No. of finger touchdowns.
Definition at line 75 of file ViewController.mm.
|
readwritenonatomicstrongimplementation |
GPS is running.
Definition at line 86 of file ViewController.mm.
|
readwritenonatomicstrongimplementation |
Definition at line 89 of file ViewController.mm.
|
readwritenonatomicstrongimplementation |
Definition at line 87 of file ViewController.mm.
|
readwritenonatomicstrongimplementation |
Definition at line 88 of file ViewController.mm.