WhirlyGlobe  1.1
A 3D interactive globe toolkit for ios
WhirlyGlobePanDelegate Class Reference

#import <PanDelegate.h>

List of all members.

Static Public Member Functions

(WhirlyGlobePanDelegate *) + panDelegateForView:globeView:

Protected Attributes

WhirlyGlobeViewview
BOOL panning
 Set if we're in the process of panning.
Eigen::Affine3f startTransform
 The view transform when we started.
Point3f startOnSphere
 Where we first touched the sphere.
Eigen::Quaternionf startQuat
 Rotation when we started.

Detailed Description

Pan the globe by following a tap and drag. This will pan using quaternions and so avoid gimbal lock.


Member Function Documentation

+ (WhirlyGlobePanDelegate *) panDelegateForView: (UIView *)  view
globeView: (WhirlyGlobeView *)  globeView 

Creates a pan gesture delegate and wires it up to the given view. Will modify the globe view.


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