public class ScenarioSettings
extends java.lang.Object
| Constructor and Description |
|---|
ScenarioSettings()
Default values are set.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getATMLayerOption()
The purpose is to get the user-specified visible atmosphere layer status
- it lets the EarthView object know whether or not to activate it.
|
double[] |
getClipDistances()
The purpose is to pass the clip distances to the EarthView object; these
are in turn to passed to the CustomOrbitView object.
|
boolean |
getClipDistanceStatus()
The purpose is to set custom clip distance values.
|
boolean |
getMSVEarthAerialOption()
The purpose is to get the user-specified MSV Earth Aerial layer status -
it lets the EarthView object know whether or not to activate it.
|
RadarObjects[] |
getRadarModels()
The purpose is to retrieve the radar objects array - this array contains
all of the radar objects that will be used in the simulation.
|
boolean |
getStarsLayerOption()
The purpose is to get the user-specified visible stars layer status - it
lets the EarthView object know whether or not to activate it.
|
int |
getTimeDelay()
The purpose is to pass the user-specified time delay value to the
EarthView object for use in the simulation.
|
TrajectoryObjects[] |
getTrajectoryObjects()
The purpose is to retrieve the trajectory objects array - this contains
the trajectory objects that will be used in the simulation.
|
boolean |
getUTMGridOption()
The purpose is to get the user-specified visible latitude / longitude
grid pattern layer status - it lets the EarthView object know whether or
not to activate it.
|
double[] |
getViewSettings()
The purpose is to build the [latitude,longitude,altitude] vector which
sets the initial observer's view of the Earth when starting the
simulation.
|
void |
loadRadarModels(RadarObjects[] ro)
The purpose is to load the radar objects array from the driver - this
will then be retrieved by the EarthView object via another method.
|
void |
loadTrajectoryObjects(TrajectoryObjects[] to)
The purpose is to load the trajectory objects array from the driver -
this will be then retrieved by the EarthView object via another method.
|
void |
setATMLayerOption(boolean ATMLayerStatus)
The purpose is to load the atmosphere layer status from the driver.
|
void |
setClipDistances(boolean setClipDistances)
The purpose is to load the clip distance status from the driver
- the status determines whether or not CustomOrbitView will set the
user-specified clip distances.
|
void |
setClipDistances(double nearClipDistanceVal,
double farClipDistanceVal)
The purpose is to load the near and far clip distance values from the
driver - these will be then retrieved by the EarthView object via
another method.
|
void |
setMSVEarthAerialOption(boolean MSVEarthAerialStatus)
The purpose is to load the MSVEarthAerial layer status from the driver.
|
void |
setStarsLayerOption(boolean StarsLayerStatus)
The purpose is to load the star layer status from the driver.
|
void |
setTimeDelay(int timeDelay)
The purpose is to load the time delay value from the driver - this will
be retrieved by the EarthView object via another method.
|
void |
setUTMGridOption(boolean UTMGridStatus)
The purpose is to load the Latitude - Longitude grid pattern layer status
from the driver.
|
void |
setViewSettings(double[] vect)
The purpose is to load the 3-element vector, which contains the
coordinates of the observer's initial Earth perspective, from the driver.
|
public double[] getClipDistances()
public RadarObjects[] getRadarModels()
public TrajectoryObjects[] getTrajectoryObjects()
public boolean getClipDistanceStatus()
public int getTimeDelay()
public boolean getUTMGridOption()
public boolean getATMLayerOption()
public boolean getStarsLayerOption()
public boolean getMSVEarthAerialOption()
public double[] getViewSettings()
public void loadRadarModels(RadarObjects[] ro)
ro - The array of RadarObjects objects.public void loadTrajectoryObjects(TrajectoryObjects[] to)
to - The array of TrajectoryObjects objects.public void setClipDistances(double nearClipDistanceVal,
double farClipDistanceVal)
nearClipDistanceVal - The near clip distance value.farClipDistanceVal - The far clip distance value.public void setClipDistances(boolean setClipDistances)
setClipDistances - Status (true or false) for using the
user-specified clip distance values.public void setTimeDelay(int timeDelay)
timeDelay - The time delay value in milliseconds (integer).public void setUTMGridOption(boolean UTMGridStatus)
UTMGridStatus - Sets the status (true or false) for the
Earth UTM Grid layer.public void setATMLayerOption(boolean ATMLayerStatus)
ATMLayerStatus - Sets the status (true or false) for the
Earth atmosphere layer.public void setStarsLayerOption(boolean StarsLayerStatus)
StarsLayerStatus - Sets the status (true or false) for the
Earth stars layer.public void setMSVEarthAerialOption(boolean MSVEarthAerialStatus)
MSVEarthAerialStatus - Sets the status (true or false) for the
MSV Earth Aerial layer.public void setViewSettings(double[] vect)
vect - The 3-element vector which contains the coordinates of
the observer's initial Earth perspective.