Package gov.nasa.gsfc.spdf.ssc
Class OrbitGraphOptions
- java.lang.Object
-
- gov.nasa.gsfc.spdf.ssc.GraphOptions
-
- gov.nasa.gsfc.spdf.ssc.OrbitGraphOptions
-
public class OrbitGraphOptions extends GraphOptions
This class represents options for an SSC orbit graphing request.- Version:
- $Revison: $
- Author:
- B. Harris
-
-
Constructor Summary
Constructors Constructor Description OrbitGraphOptions()Constructs a OrbitGraphOptions object with default attribute values.OrbitGraphOptions(CoordinateSystem coordinateSystem, boolean combined, boolean xyView, boolean xzView, boolean yzView, boolean xrView, boolean sunToRight, GraphScale manualScale, boolean evenAxesScales, boolean showBowShockMagnetopause, float solarWindPressure, float imfBz, GraphFormatOptions formatOptions)Constructs a GraphOptions object with the given attribute values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoordinateSystemgetCoordinateSystem()Gets the coordinateSystem value.GraphFormatOptionsgetFormatOptions()Gets the output format options.floatgetImfBz()Gets the IMF Bz value to use when displaying the bow shock and magnetopause (units of nT).GraphScalegetManualScale()Gets the manual scale value.floatgetSolarWindPressure()Gets the solar wind pressure value to use when displaying the bow shock and magnetopause (units of nP).booleanisCombined()Gets the combined value.booleanisEvenAxesScales()Get whether even axes scales or even axes lengths should be employed.booleanisShowBowShockMagnetopause()Gets whether the bow shock and magnetopause should be shown.booleanisSunToRight()Gets the graphs orientation with respect to the sun.booleanisXrView()Gets the xrView value.booleanisXyView()Gets the xyView value.booleanisXzView()Gets the xzView value.booleanisYzView()Gets the yzView value.voidsetCombined(boolean value)Sets the combined value.voidsetCoordinateSystem(CoordinateSystem value)Sets the coordinateSystem value.voidsetEvenAxesScales(boolean value)Sets whether even axes scales or even axes lengths should be employed.voidsetFormatOptions(GraphFormatOptions value)Sets the output format options.voidsetImfBz(float value)Sets the IMF Bz value to use when displaying the bow shock and magnetopause (units of nT).voidsetManualScale(GraphScale value)Sets the manual scale value.voidsetShowBowShockMagnetopause(boolean value)Sets whether the bow shock and magnetopause should be shown (only valid for GSE coordinates).voidsetSolarWindPressure(float value)Sets the solar wind pressure value to use when displaying the bow shock and magnetopause (units of nP).voidsetSunToRight(boolean value)Sets the graphs orientation with respect to the sun.voidsetXrView(boolean value)Sets the xrView value.voidsetXyView(boolean value)Sets the xyView value.voidsetXzView(boolean value)Sets the xzView value.voidsetYzView(boolean value)Sets the yzView value.
-
-
-
Constructor Detail
-
OrbitGraphOptions
public OrbitGraphOptions()
Constructs a OrbitGraphOptions object with default attribute values.
-
OrbitGraphOptions
public OrbitGraphOptions(CoordinateSystem coordinateSystem, boolean combined, boolean xyView, boolean xzView, boolean yzView, boolean xrView, boolean sunToRight, GraphScale manualScale, boolean evenAxesScales, boolean showBowShockMagnetopause, float solarWindPressure, float imfBz, GraphFormatOptions formatOptions)
Constructs a GraphOptions object with the given attribute values.- Parameters:
coordinateSystem- the coordinate systemcombined- indicates whether the specified views should produce seperate graph files or a single combined onexyView- indicates whether an XY view of the graph should be producedxzView- indicates whether an XZ view of the graph should be producedyzView- indicates whether an YZ view of the graph should be producedxrView- indicates whether an XR view of the graph should be producedsunToRight- graph's orientation with respect to the SunmanualScale- specifies the manual scale valuesevenAxesScales- specifies whether even axes scales or even axes lengths should be employedshowBowShockMagnetopause- specifies whether to show the bow shock and magnetopausesolarWindPressure- solar wind pressure to use when displaying the bow shock and magnetopauseimfBz- IMF Bz value to use when displaying the bow shock and magnetopauseformatOptions- output format options
-
-
Method Detail
-
getCoordinateSystem
public CoordinateSystem getCoordinateSystem()
Gets the coordinateSystem value.- Returns:
- coordinateSystem value.
- See Also:
setCoordinateSystem(gov.nasa.gsfc.spdf.ssc.CoordinateSystem)
-
setCoordinateSystem
public void setCoordinateSystem(CoordinateSystem value)
Sets the coordinateSystem value.- Parameters:
value- new value- See Also:
getCoordinateSystem()
-
isCombined
public boolean isCombined()
Gets the combined value.- Returns:
- combined value
- See Also:
setCombined(boolean)
-
setCombined
public void setCombined(boolean value)
Sets the combined value.- Parameters:
value- new combined value- See Also:
isCombined()
-
isXyView
public boolean isXyView()
Gets the xyView value.- Returns:
- xyView value
- See Also:
setXyView(boolean)
-
setXyView
public void setXyView(boolean value)
Sets the xyView value.- Parameters:
value- new xyView value- See Also:
isXyView()
-
isXzView
public boolean isXzView()
Gets the xzView value.- Returns:
- xzView value
- See Also:
setXzView(boolean)
-
setXzView
public void setXzView(boolean value)
Sets the xzView value.- Parameters:
value- new xzView value- See Also:
isXzView()
-
isYzView
public boolean isYzView()
Gets the yzView value.- Returns:
- yzView value
- See Also:
setYzView(boolean)
-
setYzView
public void setYzView(boolean value)
Sets the yzView value.- Parameters:
value- new yzView value- See Also:
isYzView()
-
isXrView
public boolean isXrView()
Gets the xrView value.- Returns:
- xrView value
- See Also:
setXrView(boolean)
-
setXrView
public void setXrView(boolean value)
Sets the xrView value.- Parameters:
value- new xrView value- See Also:
isXrView()
-
isSunToRight
public boolean isSunToRight()
Gets the graphs orientation with respect to the sun.- Returns:
- whether graph is oriented with the sun to the right
- See Also:
setSunToRight(boolean)
-
setSunToRight
public void setSunToRight(boolean value)
Sets the graphs orientation with respect to the sun.- Parameters:
value- whether graph is oriented with the sun to the right- See Also:
isSunToRight()
-
getManualScale
public GraphScale getManualScale()
Gets the manual scale value.- Returns:
- manual scale value
- See Also:
setManualScale(gov.nasa.gsfc.spdf.ssc.GraphScale)
-
setManualScale
public void setManualScale(GraphScale value)
Sets the manual scale value. A null value indicates that automatic scaling should be employed.- Parameters:
value- new manual scale value- See Also:
getManualScale()
-
isEvenAxesScales
public boolean isEvenAxesScales()
Get whether even axes scales or even axes lengths should be employed.- Returns:
- whether an even axis scale is to be employed.
- See Also:
setEvenAxesScales(boolean)
-
setEvenAxesScales
public void setEvenAxesScales(boolean value)
Sets whether even axes scales or even axes lengths should be employed.- Parameters:
value- new even exes scales value. A false value indicates that even axes lengths should be used instead.- See Also:
isEvenAxesScales()
-
isShowBowShockMagnetopause
public boolean isShowBowShockMagnetopause()
Gets whether the bow shock and magnetopause should be shown.- Returns:
- true if bow shock and magnetopause are to be shown. Otherwise, false.
- See Also:
setShowBowShockMagnetopause(boolean)
-
setShowBowShockMagnetopause
public void setShowBowShockMagnetopause(boolean value)
Sets whether the bow shock and magnetopause should be shown (only valid for GSE coordinates).- Parameters:
value- new value- See Also:
isShowBowShockMagnetopause()
-
getSolarWindPressure
public float getSolarWindPressure()
Gets the solar wind pressure value to use when displaying the bow shock and magnetopause (units of nP).- Returns:
- solar wind pressure (units of nP)
- See Also:
setSolarWindPressure(float)
-
setSolarWindPressure
public void setSolarWindPressure(float value)
Sets the solar wind pressure value to use when displaying the bow shock and magnetopause (units of nP).- Parameters:
value- new solar wind pressure (units of nP)- See Also:
getSolarWindPressure()
-
getImfBz
public float getImfBz()
Gets the IMF Bz value to use when displaying the bow shock and magnetopause (units of nT).- Returns:
- IMF Bz value (units of nT)
- See Also:
setImfBz(float)
-
setImfBz
public void setImfBz(float value)
Sets the IMF Bz value to use when displaying the bow shock and magnetopause (units of nT).- Parameters:
value- new IMF Bz value (units of nT)- See Also:
getImfBz()
-
getFormatOptions
public GraphFormatOptions getFormatOptions()
Gets the output format options.- Returns:
- output format options
- See Also:
setFormatOptions(gov.nasa.gsfc.spdf.ssc.GraphFormatOptions)
-
setFormatOptions
public void setFormatOptions(GraphFormatOptions value)
Sets the output format options.- Parameters:
value- new format options. A null value indicates that default values should be used.- See Also:
getFormatOptions()
-
-