public class BasicFlyView extends BasicView
| Modifier and Type | Field and Description |
|---|---|
protected static double |
DEFAULT_MAX_ELEVATION |
protected static Angle |
DEFAULT_MAX_PITCH |
protected static double |
DEFAULT_MIN_ELEVATION |
protected static Angle |
DEFAULT_MIN_PITCH |
COLLISION_NUM_ITERATIONS, COLLISION_THRESHOLD, dc, DEFAULT_DEPTH_RESOLUTION, detectCollisions, eyePosition, farClipDistance, fieldOfView, frustum, globe, hadCollisions, heading, horizonDistance, lastEyePoint, lastEyePosition, lastForwardVector, lastFrustumInModelCoords, lastUpVector, MINIMUM_FAR_DISTANCE, MINIMUM_NEAR_DISTANCE, modelview, modelviewInv, nearClipDistance, pitch, projection, roll, viewInputHandler, viewLimits, viewport, viewStateIDVIEW_STOPPED| Constructor and Description |
|---|
BasicFlyView() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterDoApply() |
protected void |
doApply(DrawContext dc) |
Matrix |
getModelViewMatrix(Position eyePosition,
Position centerPosition) |
ViewUtil.ViewState |
getViewState(Position eyePosition,
Position centerPosition) |
protected void |
loadConfigurationValues() |
void |
setEyePosition(Position eyePosition)
Sets the geographic position of the eye.
|
void |
setHeading(Angle heading)
Sets the heading of the view.
|
void |
setPitch(Angle pitch)
Sets the pitch of the view.
|
void |
setViewPropertyLimits(ViewPropertyLimits limits) |
protected void |
setViewState(ViewUtil.ViewState viewState) |
addAnimator, apply, computeEyePositionFromModelview, computeFarClipDistance, computeFarDistance, computeHorizonDistance, computeHorizonDistance, computeNearClipDistance, computeNearDistance, computePixelSizeAtDistance, computePositionFromScreenPoint, computeRayFromScreenPoint, copyViewState, doGetRestorableState, doRestoreState, getCenterPoint, getCenterPosition, getCurrentEyePoint, getCurrentEyePosition, getCurrentForwardVector, getDC, getEyePoint, getEyePosition, getFarClipDistance, getFieldOfView, getForwardVector, getFrustum, getFrustumInModelCoordinates, getGlobe, getHeading, getHorizonDistance, getModelviewMatrix, getNearClipDistance, getPitch, getProjectionMatrix, getRestorableState, getRoll, getUpVector, getViewInputHandler, getViewport, getViewPropertyLimits, getViewStateID, goTo, hadCollisions, isAnimating, isDetectCollisions, loadGLViewState, popReferenceCenter, project, project, pushReferenceCenter, restoreState, setDetectCollisions, setFarClipDistance, setFieldOfView, setGlobe, setNearClipDistance, setOrientation, setReferenceCenter, setRoll, setViewInputHandler, stopAnimations, stopMovement, unProject, unProject, updateModelViewStateIDonMessage, propertyChangeaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuespropertyChangeonMessageprotected static final double DEFAULT_MAX_ELEVATION
protected static final Angle DEFAULT_MAX_PITCH
protected static final double DEFAULT_MIN_ELEVATION
protected static final Angle DEFAULT_MIN_PITCH
protected void afterDoApply()
protected void doApply(DrawContext dc)
public ViewUtil.ViewState getViewState(Position eyePosition, Position centerPosition)
protected void loadConfigurationValues()
public void setEyePosition(Position eyePosition)
ViewsetEyePosition in interface ViewsetEyePosition in class BasicVieweyePosition - the eye position.public void setHeading(Angle heading)
ViewsetHeading in interface ViewsetHeading in class BasicViewheading - The direction to aim the view in degreespublic void setPitch(Angle pitch)
Viewpublic void setViewPropertyLimits(ViewPropertyLimits limits)
protected void setViewState(ViewUtil.ViewState viewState)
setViewState in class BasicView