public class BasicOrbitViewLimits extends BasicViewPropertyLimits implements OrbitViewLimits
| Modifier and Type | Field and Description |
|---|---|
protected Sector |
centerLocationLimits |
protected double |
maxCenterElevation |
protected double |
maxZoom |
protected double |
minCenterElevation |
protected double |
minZoom |
eyeLocationLimits, maxEyeElevation, maxHeading, maxPitch, maxRoll, minEyeElevation, minHeading, minPitch, minRoll| Constructor and Description |
|---|
BasicOrbitViewLimits() |
| Modifier and Type | Method and Description |
|---|---|
static void |
applyLimits(OrbitView view,
OrbitViewLimits viewLimits) |
double[] |
getCenterElevationLimits()
Returns the minimum and maximum values for the
OrbitView center elevation. |
Sector |
getCenterLocationLimits()
Returns the
Sector which limits the OrbitView center latitude and longitude. |
void |
getRestorableState(RestorableSupport rs,
RestorableSupport.StateObject context) |
double[] |
getZoomLimits()
Returns the minimum and maximum values for the
OrbitView zoom property. |
static double |
limitCenterElevation(double value,
OrbitViewLimits viewLimits) |
static LatLon |
limitCenterLocation(Angle latitude,
Angle longitude,
OrbitViewLimits viewLimits) |
static Position |
limitCenterPosition(Position position,
OrbitViewLimits viewLimits) |
static double |
limitZoom(double value,
OrbitViewLimits viewLimits) |
void |
restoreState(RestorableSupport rs,
RestorableSupport.StateObject context) |
void |
setCenterElevationLimits(double minValue,
double maxValue)
Sets the minimum and maximum values which will limit the
OrbitView center elevation. |
void |
setCenterLocationLimits(Sector sector)
Sets the
Sector which will limit the OrbitView center latitude and longitude. |
void |
setZoomLimits(double minValue,
double maxValue)
Sets the minimum and maximum values which will limit the
OrbitView zoom property. |
getEyeElevationLimits, getEyeLocationLimits, getHeadingLimits, getPitchLimits, getRollLimits, limitEyeElevation, limitEyePositionLocation, limitHeading, limitPitch, limitRoll, setEyeElevationLimits, setEyeLocationLimits, setHeadingLimits, setPitchLimits, setRollLimitsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEyeElevationLimits, getEyeLocationLimits, getHeadingLimits, getPitchLimits, getRollLimits, setEyeElevationLimits, setEyeLocationLimits, setHeadingLimits, setPitchLimits, setRollLimitsprotected Sector centerLocationLimits
protected double maxCenterElevation
protected double maxZoom
protected double minCenterElevation
protected double minZoom
public static void applyLimits(OrbitView view, OrbitViewLimits viewLimits)
public double[] getCenterElevationLimits()
OrbitViewLimitsOrbitView center elevation.getCenterElevationLimits in interface OrbitViewLimitspublic Sector getCenterLocationLimits()
OrbitViewLimitsSector which limits the OrbitView center latitude and longitude.getCenterLocationLimits in interface OrbitViewLimitsSector which limits the center latitude and longitude.public void getRestorableState(RestorableSupport rs, RestorableSupport.StateObject context)
getRestorableState in interface ViewPropertyLimitsgetRestorableState in class BasicViewPropertyLimitspublic double[] getZoomLimits()
OrbitViewLimitsOrbitView zoom property.getZoomLimits in interface OrbitViewLimitspublic static double limitCenterElevation(double value,
OrbitViewLimits viewLimits)
public static LatLon limitCenterLocation(Angle latitude, Angle longitude, OrbitViewLimits viewLimits)
public static Position limitCenterPosition(Position position, OrbitViewLimits viewLimits)
public static double limitZoom(double value,
OrbitViewLimits viewLimits)
public void restoreState(RestorableSupport rs, RestorableSupport.StateObject context)
restoreState in interface ViewPropertyLimitsrestoreState in class BasicViewPropertyLimitspublic void setCenterElevationLimits(double minValue,
double maxValue)
OrbitViewLimitsOrbitView center elevation.setCenterElevationLimits in interface OrbitViewLimitsminValue - the minimum allowable value for center elevation.maxValue - the maximum allowable value for center elevation.public void setCenterLocationLimits(Sector sector)
OrbitViewLimitsSector which will limit the OrbitView center latitude and longitude.setCenterLocationLimits in interface OrbitViewLimitssector - Sector which will limit the center latitude and longitude.public void setZoomLimits(double minValue,
double maxValue)
OrbitViewLimitsOrbitView zoom property.setZoomLimits in interface OrbitViewLimitsminValue - the mimimum allowable value for zoom.maxValue - the maximum allowable value for zoom.