Package gov.nasa.worldwind.view.orbit
Class OrbitViewInputSupport
- java.lang.Object
-
- gov.nasa.worldwind.view.orbit.OrbitViewInputSupport
-
public class OrbitViewInputSupport extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OrbitViewInputSupport.OrbitViewState
-
Constructor Summary
Constructors Constructor Description OrbitViewInputSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static Matrix
computeCenterTransform(Globe globe, Position center)
protected static Matrix
computeHeadingPitchRollZoomTransform(Angle heading, Angle pitch, Angle roll, 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, Angle roll, double zoom)
protected static double
computeZoom(Matrix headingPitchZoomTransform)
static OrbitViewInputSupport.OrbitViewState
getSurfaceIntersection(Globe globe, SectorGeometryList terrain, Position centerPosition, Angle heading, Angle pitch, double zoom)
-
-
-
Method Detail
-
computeTransformMatrix
public static Matrix computeTransformMatrix(Globe globe, Position center, Angle heading, Angle pitch, Angle roll, double zoom)
-
computeOrbitViewState
public static OrbitViewInputSupport.OrbitViewState computeOrbitViewState(Globe globe, Vec4 eyePoint, Vec4 centerPoint, Vec4 up)
-
computeOrbitViewState
public static OrbitViewInputSupport.OrbitViewState computeOrbitViewState(Globe globe, Matrix modelTransform, Vec4 centerPoint)
-
computeCenterTransform
protected static Matrix computeCenterTransform(Globe globe, Position center)
-
computeHeadingPitchRollZoomTransform
protected static Matrix computeHeadingPitchRollZoomTransform(Angle heading, Angle pitch, Angle roll, 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)
-
-