public interface OrbitView extends View
Modifier and Type | Field and Description |
---|---|
static String |
CENTER_STOPPED |
VIEW_STOPPED
Modifier and Type | Method and Description |
---|---|
boolean |
canFocusOnViewportCenter()
Implementations are expected to determines if the OrbitView can set the center of rotation for heading and pitch
changes to the viewport center intersection with the globe surface via a call to
focusOnViewportCenter() . |
void |
focusOnViewportCenter()
Implementations are expected to set the center of rotation for heading and pitch at the intersection of a ray
originates at the eye, and passes through the center of the viewport with the globe surface.
|
Position |
getCenterPosition()
Get the center position of the OrbitView.
|
OrbitViewLimits |
getOrbitViewLimits()
Get the limits for this OrbitView.
|
double |
getZoom()
Get the zoom value for the OrbitView.
|
boolean |
hadCollisions()
Returns whether or not a collision has occurred since the last call to
hadCollisions . |
boolean |
isDetectCollisions()
Returns whether the this
View will detect collisions with other objects,
such as the surface geometry. |
void |
setCenterPosition(Position center)
Sets the center position of the OrbitView.
|
void |
setDetectCollisions(boolean detectCollisions)
Sets whether or not this
View will detect collisions with other objects,
such as the surface geometry. |
void |
setOrbitViewLimits(OrbitViewLimits limits)
Set the limits for this OrbitView.
|
void |
setZoom(double zoom)
Set the zoom value for the OrbitVeiw.
|
void |
stopMovementOnCenter()
Stop any changes to the center position.
|
addAnimator, apply, computePixelSizeAtDistance, computePositionFromScreenPoint, computeRayFromScreenPoint, copyViewState, getCenterPoint, getCurrentEyePoint, getCurrentEyePosition, getEyePoint, getEyePosition, getFarClipDistance, getFieldOfView, getForwardVector, getFrustum, getFrustumInModelCoordinates, getGlobe, getHeading, getHorizonDistance, getModelviewMatrix, getNearClipDistance, getPitch, getProjectionMatrix, getRoll, getUpVector, getViewInputHandler, getViewport, getViewPropertyLimits, getViewStateID, goTo, isAnimating, popReferenceCenter, project, pushReferenceCenter, setEyePosition, setFieldOfView, setHeading, setOrientation, setPitch, setReferenceCenter, setRoll, stopAnimations, stopMovement, unProject
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
propertyChange
onMessage
getRestorableState, restoreState
static final String CENTER_STOPPED
boolean canFocusOnViewportCenter()
focusOnViewportCenter()
.void focusOnViewportCenter()
Position getCenterPosition()
OrbitViewLimits getOrbitViewLimits()
View
.
Specifically, zoom and center position. OrbitViewLimits
enables the limiting of those values in addition
the the derived BasicViewPropertyLimits
state.double getZoom()
boolean hadCollisions()
hadCollisions
.
If isDetectCollisions()
is false, collisions will not be detected and
hadCollisions
will always return false.true
if a collision has occurred since the last call; false
otherwise.boolean isDetectCollisions()
View
will detect collisions with other objects,
such as the surface geometry. If true, implementations may also automatically
resolve any detected collisions.true
If this View
will detect collisions; false
otherwise.void setCenterPosition(Position center)
center
- void setDetectCollisions(boolean detectCollisions)
View
will detect collisions with other objects,
such as the surface geometry. If detectCollisions
is true, implementations may also automatically
resolve any detected collisions.detectCollisions
- If true
, this View
will resolve collisions; otherwise this
View
will ignore collisions.void setOrbitViewLimits(OrbitViewLimits limits)
View
.
Specifically, zoom and center position. OrbitViewLimits
enables the limiting of those values in addition
the the derived BasicViewPropertyLimits
state.limits
- void setZoom(double zoom)
zoom
- void stopMovementOnCenter()