KudanAR - iOS
ARGPSNode Class Reference

#import <ARGPSNode.h>

+ Inheritance diagram for ARGPSNode:
+ Collaboration diagram for ARGPSNode:

Instance Methods

(instancetype) - initWithLocation:bearing:
 
(instancetype) - initWithLocation:
 
(void) - updateWorldPosition
 
- Instance Methods inherited from ARNode
(void) - addChild:
 
(void) - addChildren:
 
(void) - removeChild:
 
(void) - removeAllChildren
 
(void) - remove
 
(ARNode *) - findChildWithName:
 
(void) - markWorldTransformAsDirty
 
(void) - translateByX:y:z:
 
(void) - translateByX:y:z:transformSpace:
 
(void) - translateByVector:
 
(void) - translateByVector:transformSpace:
 
(void) - scaleByUniform:
 
(void) - scaleByX:y:z:
 
(void) - scaleByVector:
 
(void) - rotateByDegrees:axisX:y:z:
 
(void) - rotateByRadians:axisX:y:z:
 
(void) - rotateByQuaternion:
 
(ARVector3 *) - positionToWorld:
 
(ARVector3 *) - positionToEye:
 
(ARQuaternion *) - orientationToWorld:
 
(ARQuaternion *) - orientationToEye:
 
(CGPoint) - viewPortFromNodePosition:
 
(void) - render
 
(void) - preRender
 
(void) - postRender
 
(void) - addTouchTarget:withAction:
 
(void) - didReceiveTouch
 
(ARVector3 *) - nodeFromViewPort:
 

Properties

CLLocation * location
 
double bearing
 
double deviceHeight
 
BOOL interpolateMotionUsingHeading
 
CLLocationDirection course
 
CLLocationSpeed speed
 
- Properties inherited from ARNode
NSString * name
 
ARNodeparent
 
NSArray< ARNode * > * children
 
NSArray * descendants
 
ARVector3position
 
ARVector3scale
 
ARQuaternionorientation
 
ARMatrix4localTransform
 
ARMatrix4worldTransform
 
ARMatrix4fullTransform
 
ARQuaternionfullOrientation
 
ARQuaternionworldOrientation
 
ARVector3worldScale
 
ARVector3worldPosition
 
ARVector3fullPosition
 
ARNodeworld
 
NSUInteger childCount
 
BOOL visible
 

Additional Inherited Members

- Class Methods inherited from ARNode
(instancetype) + nodeWithName:
 
- Protected Member Functions inherited from ARNode
(typedef) - NS_ENUM
 

Detailed Description

A node used for placing content in the real world. Children of this node will be placed at the coordinate specified during initiation. GPSNodes must be added to the ARGPSManager world to function correctly.

Method Documentation

- (instancetype) initWithLocation: (CLLocation *)  location

Initiates the node using a latitude and a longitude. The node will face true north.

Parameters
locationThe real world location of the node.
- (instancetype) initWithLocation: (CLLocation *)  location
bearing: (double)  bearing 

Initiates the node using a latitude, a longitude and a bearing.

Parameters
locationThe real world location of the node.
bearingThe bearing of the node relative to true north.
- (void) updateWorldPosition

Updates the location of the node relative to the device. Called during a change in device motion by the ARGPSManager.

Property Documentation

- (double) bearing
readwritenonatomicassign

The direction the node is facing expressed as a bearing relative to true north.

- (CLLocationDirection) course
readnonatomicassign

The direction the device is heading during motion.

- (double) deviceHeight
readwritenonatomicassign

The height of the device in metres from the ground used to correctly position objects at floor level.

- (BOOL) interpolateMotionUsingHeading
readwritenonatomicassign

Whether the node's motion is interpolated between location updates of device movement. Accuracy depends on the precision of the device GPS.

- (CLLocation*) location
readwritenonatomicassign

The real world location of the node.

- (CLLocationSpeed) speed
readnonatomicassign

The speed of the device during motion.


The documentation for this class was generated from the following file: