NASA World Wind

gov.nasa.worldwind.view
Class BasicOrbitViewModel

java.lang.Object
  extended by gov.nasa.worldwind.view.BasicOrbitViewModel
All Implemented Interfaces:
OrbitViewModel

public class BasicOrbitViewModel
extends Object
implements OrbitViewModel


Nested Class Summary
protected static class BasicOrbitViewModel.BasicModelCoordinates
           
 
Nested classes/interfaces inherited from interface gov.nasa.worldwind.view.OrbitViewModel
OrbitViewModel.ModelCoordinates
 
Constructor Summary
BasicOrbitViewModel()
           
 
Method Summary
protected  Matrix computeCenterTransform(Globe globe, Position center)
           
protected  Angle computeHeading(Matrix headingPitchZoomTransform)
           
protected  Matrix computeHeadingPitchZoomTransform(Angle heading, Angle pitch, double zoom)
           
 OrbitViewModel.ModelCoordinates computeModelCoordinates(Globe globe, Matrix modelTransform, Vec4 centerPoint)
           
 OrbitViewModel.ModelCoordinates computeModelCoordinates(Globe globe, Vec4 eyePoint, Vec4 centerPoint, Vec4 up)
           
protected  Angle computePitch(Matrix headingPitchZoomTransform)
           
 Matrix computeTransformMatrix(Globe globe, Position center, Angle heading, Angle pitch, double zoom)
           
protected  double computeZoom(Matrix headingPitchZoomTransform)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicOrbitViewModel

public BasicOrbitViewModel()
Method Detail

computeCenterTransform

protected Matrix computeCenterTransform(Globe globe,
                                        Position center)

computeHeading

protected Angle computeHeading(Matrix headingPitchZoomTransform)

computeHeadingPitchZoomTransform

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

computeModelCoordinates

public OrbitViewModel.ModelCoordinates computeModelCoordinates(Globe globe,
                                                               Matrix modelTransform,
                                                               Vec4 centerPoint)
Specified by:
computeModelCoordinates in interface OrbitViewModel

computeModelCoordinates

public OrbitViewModel.ModelCoordinates computeModelCoordinates(Globe globe,
                                                               Vec4 eyePoint,
                                                               Vec4 centerPoint,
                                                               Vec4 up)
Specified by:
computeModelCoordinates in interface OrbitViewModel

computePitch

protected Angle computePitch(Matrix headingPitchZoomTransform)

computeTransformMatrix

public Matrix computeTransformMatrix(Globe globe,
                                     Position center,
                                     Angle heading,
                                     Angle pitch,
                                     double zoom)
Specified by:
computeTransformMatrix in interface OrbitViewModel

computeZoom

protected double computeZoom(Matrix headingPitchZoomTransform)

NASA World Wind