NASA World Wind

gov.nasa.worldwind.view.orbit
Class OrbitViewInputSupport

java.lang.Object
  extended by gov.nasa.worldwind.view.orbit.OrbitViewInputSupport

public class OrbitViewInputSupport
extends java.lang.Object


Nested Class Summary
protected static class OrbitViewInputSupport.OrbitViewState
           
 
Constructor Summary
OrbitViewInputSupport()
           
 
Method Summary
protected static Matrix computeCenterTransform(Globe globe, Position center)
           
protected static Matrix computeHeadingPitchZoomTransform(Angle heading, Angle pitch, double zoom)
           
static OrbitViewInputSupport.OrbitViewState computeOrbitViewState(Globe globe, Matrix modelTransform, Vec4 centerPoint)
           
static OrbitViewInputSupport.OrbitViewState computeOrbitViewState(Globe globe, Vec4 eyePoint, Vec4 centerPoint, Vec4 up)
           
static Matrix computeTransformMatrix(Globe globe, Position center, Angle heading, Angle pitch, double zoom)
           
protected static double computeZoom(Matrix headingPitchZoomTransform)
           
static OrbitViewInputSupport.OrbitViewState getSurfaceIntersection(Globe globe, SectorGeometryList terrain, Position centerPosition, Angle heading, Angle pitch, double zoom)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrbitViewInputSupport

public OrbitViewInputSupport()
Method Detail

computeCenterTransform

protected static Matrix computeCenterTransform(Globe globe,
                                               Position center)

computeHeadingPitchZoomTransform

protected static Matrix computeHeadingPitchZoomTransform(Angle heading,
                                                         Angle pitch,
                                                         double zoom)

computeOrbitViewState

public static OrbitViewInputSupport.OrbitViewState computeOrbitViewState(Globe globe,
                                                                         Matrix modelTransform,
                                                                         Vec4 centerPoint)

computeOrbitViewState

public static OrbitViewInputSupport.OrbitViewState computeOrbitViewState(Globe globe,
                                                                         Vec4 eyePoint,
                                                                         Vec4 centerPoint,
                                                                         Vec4 up)

computeTransformMatrix

public static Matrix computeTransformMatrix(Globe globe,
                                            Position center,
                                            Angle heading,
                                            Angle pitch,
                                            double zoom)

computeZoom

protected static double computeZoom(Matrix headingPitchZoomTransform)

getSurfaceIntersection

public static OrbitViewInputSupport.OrbitViewState getSurfaceIntersection(Globe globe,
                                                                          SectorGeometryList terrain,
                                                                          Position centerPosition,
                                                                          Angle heading,
                                                                          Angle pitch,
                                                                          double zoom)

NASA World Wind