gov.nasa.worldwind.view.firstperson
Class BasicFlyView
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.view.BasicView
gov.nasa.worldwind.view.firstperson.BasicFlyView
- All Implemented Interfaces:
- AVList, Restorable, View, WWObject, java.beans.PropertyChangeListener, java.util.EventListener
public class BasicFlyView
- extends BasicView
| Fields inherited from class gov.nasa.worldwind.view.BasicView |
COLLISION_NUM_ITERATIONS, COLLISION_THRESHOLD, dc, detectCollisions, eyePosition, farClipDistance, fieldOfView, frustum, globe, hadCollisions, heading, lastEyePoint, lastEyePosition, lastForwardVector, lastFrustumInModelCoords, lastUpVector, MINIMUM_FAR_DISTANCE, MINIMUM_NEAR_DISTANCE, modelview, modelviewInv, nearClipDistance, pitch, projection, roll, viewInputHandler, viewLimits, viewport |
| Methods inherited from class gov.nasa.worldwind.view.BasicView |
addAnimator, apply, computeEyePositionFromModelview, computeFarClipDistance, computeFarDistance, computeHorizonDistance, computeHorizonDistance, computeNearClipDistance, computeNearDistance, computePixelSizeAtDistance, computePositionFromScreenPoint, computeRayFromScreenPoint, copyViewState, doGetRestorableState, doRestoreState, getCenterPoint, getCenterPosition, getCurrentEyePoint, getCurrentEyePosition, getDC, getEyePoint, getEyePosition, getFarClipDistance, getFieldOfView, getForwardVector, getFrustum, getFrustumInModelCoordinates, getGlobe, getHeading, getModelviewMatrix, getNearClipDistance, getPitch, getProjectionMatrix, getRestorableState, getUpVector, getViewInputHandler, getViewport, getViewPropertyLimits, goTo, hadCollisions, isAnimating, isDetectCollisions, loadGLViewState, popReferenceCenter, project, project, pushReferenceCenter, restoreState, setDetectCollisions, setFarClipDistance, setFieldOfView, setNearClipDistance, setOrientation, setViewInputHandler, stopAnimations, stopMovement, unProject, unProject |
| Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
| Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
DEFAULT_MAX_ELEVATION
protected static final double DEFAULT_MAX_ELEVATION
- See Also:
- Constant Field Values
DEFAULT_MAX_PITCH
protected static final Angle DEFAULT_MAX_PITCH
DEFAULT_MIN_ELEVATION
protected static final double DEFAULT_MIN_ELEVATION
- See Also:
- Constant Field Values
DEFAULT_MIN_PITCH
protected static final Angle DEFAULT_MIN_PITCH
BasicFlyView
public BasicFlyView()
afterDoApply
protected void afterDoApply()
doApply
protected void doApply(DrawContext dc)
- Overrides:
doApply in class BasicView
getModelViewMatrix
public Matrix getModelViewMatrix(Position eyePosition,
Position centerPosition)
getViewState
public ViewUtil.ViewState getViewState(Position eyePosition,
Position centerPosition)
setEyePosition
public void setEyePosition(Position eyePosition)
- Description copied from interface:
View
- Sets the location of the eye in geographic coordinates.
The implementation may interpret this command in whatever way it chooses,
so long as the eye is placed at the specified
eyePosition.
- Specified by:
setEyePosition in interface View- Overrides:
setEyePosition in class BasicView
- Parameters:
eyePosition - Position of the eye.
setHeading
public void setHeading(Angle heading)
- Description copied from interface:
View
- Sets the heading of the view. The implementation may interpret this command
in whatever way it chooses.
- Specified by:
setHeading in interface View- Overrides:
setHeading in class BasicView
- Parameters:
heading - The direction to aim the view in degrees
setPitch
public void setPitch(Angle pitch)
- Description copied from interface:
View
- Sets the pitch of the view. The implemenation may interepret pitch as it chooses
- Specified by:
setPitch in interface View- Overrides:
setPitch in class BasicView
- Parameters:
pitch - The pitch of the view.
setViewPropertyLimits
public void setViewPropertyLimits(ViewPropertyLimits limits)
setViewState
protected void setViewState(ViewUtil.ViewState viewState)
- Overrides:
setViewState in class BasicView