public class GPForceModels extends fr.cnes.genius.lowLevel.GPanel implements fr.cnes.genius.main.GReadWrite, fr.cnes.genius.main.GClear, fr.cnes.genius.main.GCondensedStatusInterface, fr.cnes.genius.main.GCondensedIsModifiedInterface, GPPatriusWithObjects<fr.cnes.sirius.patrius.forces.ForceModelsData>, fr.cnes.genius.main.GListener, fr.cnes.genius.observer.GObservable
Index | Class | Item | Constraint |
0 | GPEarthPotentialForceModel | earthPotentialForceModel | "newline" (see table below) |
1 | GPThirdBodyForceModel | thirdBodyForceModel | "newline" (see table below) |
2 | GPAeroForceModel | aeroForceModel | "newline" (see table below) |
3 | GPSRPForceModel | srpForceModel | "newline" (see table below) |
4 | GPRediffusedSRPForceModel | rediffusedSRPForceModel | "newline" (see table below) |
5 | GPOceanTidesForceModel | oceanTidesForceModel | "newline" (see table below) |
Index | Class | Item | Constraint |
0, 0 | GLabelWithIndicator | earthPotentialLabel | 0, 0, 0 =>
"newline , gapleft 0 , split 2" 0, 0, 1 => "wmin 128" |
0, 1 | GChoice | attractionModelChoice | 0, 1, 0, 0
=> "newline , gapleft 20 , split 2" 0, 1, 0, 1 => (null) 0, 1, 1 => "split" |
0, 2 | GComboBoxWithLabel | earthPotentialFileComboBox | 0, 2, 0, 0 =>
"newline , gapleft 20 , split 2" 0, 2, 0, 1 => (null) 0, 2, 1 => (null) |
0, 3 | GEntryInt | maxOrdDegEntryInt | 0, 3, 0, 0 =>
"newline , gapleft 20 , split 2" 0, 3, 0, 1 => (null) 0, 3, 1 => (null) |
0, 4 | GEntryInt | degreeEntryInt | 0, 4, 0, 0 =>
"newline , gapleft 20 , split 2" 0, 4, 0, 1 => (null) 0, 4, 1 => (null) |
0, 5 | GEntryInt | orderEntryInt | 0, 5, 0, 0 =>
"newline , gapleft 20 , split 2" 0, 5, 0, 1 => (null) 0, 5, 1 => (null) |
0, 6 | GEntryInt | degreeOptionalEntryInt | 0, 6, 0, 0 =>
"newline , gapleft 20 , split 2" 0, 6, 0, 1 => (null) 0, 6, 1 => (null) |
0, 7 | GEntryInt | orderOptionalEntryInt | 0, 7, 0, 0 =>
"newline , gapleft 20 , split 2" 0, 7, 0, 1 => (null) 0, 7, 1 => (null) |
0, 8 | GChoice | coeffsComputedOnceChoice | 0, 8, 0, 0 =>
"newline , gapleft 20 , split 2" 0, 8, 0, 1 => (null) 0, 8, 1 => "split" |
Index | Class | Item | Constraint |
1, 0 | GCheckBoxWithIndicator | thirdBodyCheckBox | 1, 0, 0, 0 =>
"newline , gapleft 0 , split 2" 1, 0, 0, 1 => (null) 1, 0, 1 => (null) |
1, 1 | GCheckBoxWithIndicator | thirdBodyMoonCheckBox | 1, 1, 0, 0 =>
"newline , gapleft 20 , split 2" 1, 1, 0, 1 => (null) 1, 1, 1 => (null) |
1, 2 | GCheckBoxWithIndicator | thirdBodySunCheckBox | 1,
2, 0, 0 => "newline , gapleft 20 , split 2" 1, 2, 0, 1 => (null) 1, 2, 1 => (null) |
1, 3 | GCheckBoxWithIndicator | thirdBodyVenusCheckBox | 1, 3, 0, 0 =>
"newline , gapleft 20 , split 2" 1, 3, 0, 1 => (null) 1, 3, 1 => (null) |
1, 4 | GCheckBoxWithIndicator | thirdBodyMarsCheckBox | 1, 4, 0, 0 =>
"newline , gapleft 20 , split 2" 1, 4, 0, 1 => (null) 1, 4, 1 => (null) |
1, 5 | GCheckBoxWithIndicator | thirdBodyJupiterCheckBox | 1, 5, 0, 0 =>
"newline , gapleft 20 , split 2" 1, 5, 0, 1 => (null) 1, 5, 1 => (null) |
Index | Class | Item | Constraint |
2, 0 | GCheckBoxWithIndicator | aeroForceCheckBox | 2, 0, 0, 0 =>
"newline , gapleft 0 , split 2" 2, 0, 0, 1 => (null) 2, 0, 1 => (null) |
2, 1 | GChoice | aeroModelChoice | 2, 1, 0, 0 =>
"newline , gapleft 20 , split 2" 2, 1, 0, 1 => (null) 2, 1, 1 => "split" |
2, 2 | GChoice | solarActivityChoice | 2, 2, 0, 0 =>
"newline , gapleft 40 , split 2" 2, 2, 0, 1 => (null) 2, 2, 1 => "split" |
2, 3 | GEntryReal | f107EntryReal | 2, 3, 0, 0 =>
"newline , gapleft 60 , split 2" 2, 3, 0, 1 => (null) 2, 3, 1 => (null) |
2, 4 | GEntryReal | apEntryReal | 2, 4, 0, 0 =>
"newline , gapleft 60 , split 2" 2, 4, 0, 1 => (null) 2, 4, 1 => (null) |
2, 5 | GButton | loadSolarActivityFileButton | "newline , skip 1" |
2, 6 | GEntryString | loadedSolarActivityFileEntryString | 2, 6, 0, 0 =>
"newline , gapleft 60 , split 2" 2, 6, 0, 1 => (null) 2, 6, 1 => (null) |
2, 7 | GEntryReal | densityH0EntryReal | 2, 7, 0, 0 =>
"newline , gapleft 40 , split 2" 2, 7, 0, 1 => (null) 2, 7, 1 => "split 2" 2, 7, 2 => (null) |
2, 8 | GEntryReal | h0EntryReal | 2, 8, 0, 0 =>
"newline , gapleft 40 , split 2" 2, 8, 0, 1 => (null) 2, 8, 1 => "split 2" 2, 8, 2 => (null) |
2, 9 | GEntryReal | hScaleEntryReal | 2, 9, 0, 0 =>
"newline , gapleft 40 , split 2" 2, 9, 0, 1 => (null) 2, 9, 1 => "split 2" 2, 9, 2 => (null) |
2, 10 | GEntryReal | multipAeroForceEntryReal | 2, 10, 0,
0 => "newline , gapleft 20 , split 2" 2, 10, 0, 1 => (null) 2, 10, 1 => (null) |
Index | Class | Item | Constraint |
3, 0 | GCheckBoxWithIndicator | sRPCheckBox | 3, 0,
0, 0 => "newline , gapleft 0 , split 2" 3, 0, 0, 1 => (null) 3, 0, 1 => (null) |
3, 1 | GEntryReal | refDistEntryReal | 3, 1, 0, 0 =>
"newline , gapleft 20 , split 2" 3, 1, 0, 1 => (null) 3, 1, 1 => "split 2" 3, 1, 2 => (null) |
3, 2 | GEntryReal | refPressureEntryReal | 3, 2, 0, 0 =>
"newline , gapleft 20 , split 2" 3, 2, 0, 1 => (null) 3, 2, 1 => "split 2" 3, 2, 2 => (null) |
3, 3 | GEntryReal | multipSRPEntryReal | 3, 3, 0, 0 =>
"newline , gapleft 20 , split 2" 3, 3, 0, 1 => (null) 3, 3, 1 => (null) |
Index | Class | Item | Constraint |
4, 0 | GCheckBoxWithIndicator | rediffusedSRPCheckBox | 4, 0, 0, 0 =>
"newline , gapleft 0 , split 2" 4, 0, 0, 1 => (null) 4, 0, 1 => (null) |
4, 1 | GCheckBoxWithIndicator | rediffusedAlbedoCheckBox | 4, 1, 0, 0 =>
"newline , gapleft 20 , split 2" 4, 1, 0, 1 => (null) 4, 1, 1 => (null) |
4, 2 | GCheckBoxWithIndicator | rediffusedInfraredCheckBox | 4, 2, 0, 0 =>
"newline , gapleft 20 , split 2" 4, 2, 0, 1 => (null) 4, 2, 1 => (null) |
4, 3 | GEntryReal | multipRediffusedAlbedo | 4, 3, 0, 0
=> "newline , gapleft 40 , split 2" 4, 3, 0, 1 => (null) 4, 3, 1 => (null) |
4, 4 | GEntryReal | multipRediffusedInfrared | 4, 4, 0, 0 =>
"newline , gapleft 40 , split 2" 4, 4, 0, 1 => (null) 4, 4, 1 => (null) |
Index | Class | Item | Constraint |
5, 0 | GCheckBoxWithIndicator | oceanTidesCheckBox | 5, 0, 0, 0 =>
"newline , gapleft 0 , split 2" 5, 0, 0, 1 => (null) 5, 0, 1 => (null) |
5, 1 | GEntryReal | waterDensityEntryReal | 5, 1, 0, 0 =>
"newline , gapleft 20 , split 2" 5, 1, 0, 1 => (null) 5, 1, 1 => "split 2" 5, 1, 2 => (null) |
5, 2 | GEntryInt | orderOceanTidesEntryInt | 5, 2, 0, 0
=> "newline , gapleft 20 , split 2" 5, 2, 0, 1 => (null) 5, 2, 1 => (null) |
5, 3 | GEntryInt | degreeOceanTidesEntryInt | 5, 3, 0, 0
=> "newline , gapleft 20 , split 2" 5, 3, 0, 1 => (null) 5, 3, 1 => (null) |
5, 4 | GCheckBoxWithIndicator | withAdmittanceCheckBox | 5, 4, 0, 0 =>
"newline , gapleft 20 , split 2" 5, 4, 0, 1 => (null) 5, 4, 1 => (null) |
Modifier and Type | Class and Description |
---|---|
static class |
GPForceModels.TypeEphemeris
Enum containing ephemeris types.
|
fr.cnes.genius.lowLevel.GPanel.Panel, fr.cnes.genius.lowLevel.GPanel.ScrollBarVisibility
fr.cnes.genius.main.GComponent.CopyPasteOperation, fr.cnes.genius.main.GComponent.DisplayIndicatorStatus, fr.cnes.genius.main.GComponent.ItemType, fr.cnes.genius.main.GComponent.Operation
GPPatriusWithObjects.ArgsChecker
Constructor and Description |
---|
GPForceModels()
Empty constructor.
|
GPForceModels(String label)
Creates a new instance where all forces appear.
|
GPForceModels(String label,
GPEarthPotentialForceModel.AttractionModelsEnum initialAttractionModel,
GPEarthPotentialForceModel.AttractionModelsEnum[] availableAttractionModels,
boolean thirdBodyForceIsVisible,
boolean aeroForceIsVisible,
boolean srPForceIsVisible,
boolean rediffusedSRPForceIsVisible,
boolean oceanTidesForceIsVisible,
boolean terrestrialTidesForceIsVisible)
Creates a new instance where the shown forces are customized.
|
GPForceModels(String label,
GPEarthPotentialForceModel.AttractionModelsEnum initialAttractionModel,
GPEarthPotentialForceModel.AttractionModelsEnum[] availableAttractionModels,
boolean thirdBodyForceIsVisible,
boolean complexThirdBodyForce,
boolean aeroForceIsVisible,
boolean srPForceIsVisible,
boolean rediffusedSRPForceIsVisible,
boolean oceanTidesForceIsVisible,
boolean terrestrialTidesForceIsVisible)
Creates a new instance where the shown forces are customized.
|
GPForceModels(String widgetId,
String label)
Creates a new instance where all forces appear.
|
GPForceModels(String widgetId,
String label,
GPEarthPotentialForceModel.AttractionModelsEnum initialAttractionModel,
GPEarthPotentialForceModel.AttractionModelsEnum[] availableAttractionModels,
boolean thirdBodyForceIsVisible,
boolean aeroForceIsVisible,
boolean srPForceIsVisible,
boolean rediffusedSRPForceIsVisible,
boolean oceanTidesForceIsVisible,
boolean terrestrialTidesForceIsVisible)
Creates a new instance where the shown forces are customized.
|
GPForceModels(String widgetId,
String label,
GPEarthPotentialForceModel.AttractionModelsEnum initialAttractionModel,
GPEarthPotentialForceModel.AttractionModelsEnum[] availableAttractionModels,
boolean thirdBodyForceIsVisible,
boolean complexThirdBodyForce,
boolean aeroForceIsVisible,
boolean srPForceIsVisible,
boolean rediffusedSRPForceIsVisible,
boolean oceanTidesForceIsVisible,
boolean terrestrialTidesForceIsVisible)
Creates a new instance where the shown forces are customized.
|
Modifier and Type | Method and Description |
---|---|
void |
after(fr.cnes.genius.main.GEvent e) |
void |
attachCopyPasteMenu(String label,
fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList) |
void |
before(fr.cnes.genius.main.GEvent e) |
void |
clear() |
void |
display() |
void |
generic() |
fr.cnes.sirius.patrius.assembly.Assembly |
getAssembly()
Getter for the assembly used in drag force, SRP and the rediffused SRP force models.
|
fr.cnes.sirius.patrius.forces.atmospheres.Atmosphere |
getAtmosphere()
Get the atmospheric model from widget data.
|
fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid |
getBodyShape()
Getter for the body's ellipsoid that defines its shape.
|
fr.cnes.genius.highLevel.GChoice |
getGChoiceEphemerisType()
Getter for the GChoice defining the ephemeris type.
|
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabel()
Getter for the GLabel of the widget.
|
GPAeroForceModel |
getGPAeroForceModel()
Getter for the Atmospheric Force Model subwidget.
|
GPEarthPotentialForceModel |
getGPEarthPotentialForceModel()
Getter for the Earth Potential Force Model subwidget.
|
GPOceanTidesForceModel |
getGPOceanTidesForceModel()
Getter for the Ocean Tides Force Model subwidget.
|
GPOneAxisEllipsoid |
getGPOneAxisEllipsoidEarthShape()
Getter for the GPOneAxisEllipsoid defining the Earth's ellipsoid.
|
GPRediffusedSRPForceModel |
getGPRediffusedSRPForceModel()
Getter for the Rediffused Solar Radiation Pressure Force Model subwidget.
|
GPSRPForceModel |
getGPSRPForceModel()
Getter for the Solar Radiation Pressure Force Model subwidget.
|
GPTerrestrialTidesForceModel |
getGPTerrestrialTidesForceModel()
Getter for the Terrestrial Tides Force Model subwidget.
|
GPThirdBodyForceModel |
getGPThirdBodyForceModel()
Getter for the Third body Force Model subwidget.
|
fr.cnes.genius.lowLevel.GSeparator[] |
getGSeparatorsArray()
Getter for the array of GSeparators in the widget.
|
double |
getMultiplicativeFactorAero()
Get Aero force model multiplicative factor.
|
double |
getMultiplicativeFactorRediffusedSRPAlbedo()
Get redifused SRP force model albedo multiplicative factor.
|
double |
getMultiplicativeFactorRediffusedSRPInfrared()
Get redifused SRP force model infrared multiplicative factor.
|
double |
getMultiplicativeFactorSRP()
Get SRP force model multiplicative factor.
|
fr.cnes.sirius.patrius.forces.ForceModelsData |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.sirius.patrius.forces.ForceModelsData |
getPatriusObject(Object... args)
Returns the PATRIUS object associated to a GENOPUS widget.
|
GPForceModels.TypeEphemeris |
getSelectedEphemerisType()
Get selected ephemeris type as a
GPForceModels.TypeEphemeris enum value. |
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
fr.cnes.sirius.patrius.bodies.CelestialBody |
getSun()
Getter for the Sun celestial body to be used for drag force model creation.
|
boolean |
isAeroForceModelActive()
Boolean to know if the aero force model is active.
|
boolean |
isEnabled() |
boolean |
isEphemerisTypeVisible()
Boolean to know if the ephemeris type choice is visible.
|
boolean |
isModified() |
boolean |
isOceanTidesForceModelActive()
Boolean to know if the ocean tides force model is active.
|
boolean |
isRediffusedSRPForceModelActive()
Boolean to know if the rediffused SRP force model is active.
|
boolean |
isSRPForceModelActive()
Boolean to know if the SRP force model is active.
|
boolean |
isTerrestrialTidesForceModelActive()
Boolean to know if the terrestrial tides force model is active.
|
boolean |
isThirdBodyForceModelActive()
Boolean to know if the third body force model is active.
|
void |
notifyObservers(Object... args) |
void |
read() |
void |
registerObserver(fr.cnes.genius.observer.GObserver anObserver) |
void |
setAssembly(fr.cnes.sirius.patrius.assembly.Assembly assembly)
Setter for the assembly to be used for drag force, the SRP and the rediffused SRP force
models.
|
void |
setBodyShape(fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid bodyShape)
Set body's shape.
|
void |
setBodyShapeWidgetsVisible(boolean b)
Method to force the GPOneAxisEllipsoid widget to be visible/invisible.
|
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget.
|
void |
setDefaultConstraints()
Method to set the default constraints for the layout.
|
void |
setEnabled(boolean b) |
void |
unregisterObserver(fr.cnes.genius.observer.GObserver anObserver) |
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus) |
void |
updateIsModified(fr.cnes.genius.main.GCondensedIsModified condensedIsModified) |
void |
updateIsModifiedIndicator() |
void |
write() |
clearConstraint, getClassConstraint, getComponent, getHorizontalScroll, getInnerDescendantClassConstraint, getJPanel, getJScrollPane, getLayoutConstraints, getStringClassConstraint, getVerticalScroll, mainClear, mainDisplay, processMouseWheelEvent, put, setClassConstraint, setColumnConstraints, setConstraint, setHorizontalScroll, setInnerDescendantClassConstraint, setLayoutConstraints, setMargins, setPanelConstraints, setPreferredSize, setRowConstraints, setUnitIncrement, setVerticalScroll, unput
activateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGClassName, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getPathInConfigFile, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, isForcedStatus, launchInvalidPositionException, mouseWheelMoved, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setName, setNameAndCommentInConfigFile, setNameInConfigFile, setPathInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidgetId, setWidth, setWindowBusyCursor, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem
public GPForceModels()
public GPForceModels(String label)
label
- text to display in the label.public GPForceModels(String widgetId, String label)
widgetId
- widget identifier, if null an identifier will be automatically created.label
- text to display in the label.public GPForceModels(String label, GPEarthPotentialForceModel.AttractionModelsEnum initialAttractionModel, GPEarthPotentialForceModel.AttractionModelsEnum[] availableAttractionModels, boolean thirdBodyForceIsVisible, boolean aeroForceIsVisible, boolean srPForceIsVisible, boolean rediffusedSRPForceIsVisible, boolean oceanTidesForceIsVisible, boolean terrestrialTidesForceIsVisible)
label
- text to display in the label.initialAttractionModel
- initial attraction model for the Earth potential.availableAttractionModels
- available attraction models for the Earth potential.thirdBodyForceIsVisible
- if true, third body force IsVisibleaeroForceIsVisible
- if true, aerodynamic force IsVisiblesrPForceIsVisible
- if true, SRP force IsVisiblerediffusedSRPForceIsVisible
- if true, rediffused SRP force IsVisibleoceanTidesForceIsVisible
- if true, ocean tides force IsVisibleterrestrialTidesForceIsVisible
- if true, terrestrial tides force IsVisiblepublic GPForceModels(String widgetId, String label, GPEarthPotentialForceModel.AttractionModelsEnum initialAttractionModel, GPEarthPotentialForceModel.AttractionModelsEnum[] availableAttractionModels, boolean thirdBodyForceIsVisible, boolean aeroForceIsVisible, boolean srPForceIsVisible, boolean rediffusedSRPForceIsVisible, boolean oceanTidesForceIsVisible, boolean terrestrialTidesForceIsVisible)
widgetId
- widget identifier, if null an identifier will be automatically created.label
- text to display in the label.initialAttractionModel
- initial attraction model for the Earth potential.availableAttractionModels
- available attraction models for the Earth potential.thirdBodyForceIsVisible
- if true, third body force IsVisibleaeroForceIsVisible
- if true, aerodynamic force IsVisiblesrPForceIsVisible
- if true, SRP force IsVisiblerediffusedSRPForceIsVisible
- if true, rediffused SRP force IsVisibleoceanTidesForceIsVisible
- if true, ocean tides force IsVisibleterrestrialTidesForceIsVisible
- if true, terrestrial tides force IsVisiblepublic GPForceModels(String label, GPEarthPotentialForceModel.AttractionModelsEnum initialAttractionModel, GPEarthPotentialForceModel.AttractionModelsEnum[] availableAttractionModels, boolean thirdBodyForceIsVisible, boolean complexThirdBodyForce, boolean aeroForceIsVisible, boolean srPForceIsVisible, boolean rediffusedSRPForceIsVisible, boolean oceanTidesForceIsVisible, boolean terrestrialTidesForceIsVisible)
label
- text to display in the label.initialAttractionModel
- initial attraction model for the Earth potential.availableAttractionModels
- available attraction models for the Earth potential.thirdBodyForceIsVisible
- if true, third body force IsVisiblecomplexThirdBodyForce
- if true, third body force is complexaeroForceIsVisible
- if true, aerodynamic force IsVisiblesrPForceIsVisible
- if true, SRP force IsVisiblerediffusedSRPForceIsVisible
- if true, rediffused SRP force IsVisibleoceanTidesForceIsVisible
- if true, ocean tides force IsVisibleterrestrialTidesForceIsVisible
- if true, terrestrial tides force IsVisiblepublic GPForceModels(String widgetId, String label, GPEarthPotentialForceModel.AttractionModelsEnum initialAttractionModel, GPEarthPotentialForceModel.AttractionModelsEnum[] availableAttractionModels, boolean thirdBodyForceIsVisible, boolean complexThirdBodyForce, boolean aeroForceIsVisible, boolean srPForceIsVisible, boolean rediffusedSRPForceIsVisible, boolean oceanTidesForceIsVisible, boolean terrestrialTidesForceIsVisible)
widgetId
- widget identifier, if null an identifier will be automatically created.label
- text to display in the label.initialAttractionModel
- initial attraction model for the Earth potential.availableAttractionModels
- available attraction models for the Earth potential.thirdBodyForceIsVisible
- if true, third body force IsVisiblecomplexThirdBodyForce
- if true, third body force is complexaeroForceIsVisible
- if true, aerodynamic force IsVisiblesrPForceIsVisible
- if true, SRP force IsVisiblerediffusedSRPForceIsVisible
- if true, rediffused SRP force IsVisibleoceanTidesForceIsVisible
- if true, ocean tides force IsVisibleterrestrialTidesForceIsVisible
- if true, terrestrial tides force IsVisiblepublic final void setDefaultConstraints()
setDefaultConstraints
in class fr.cnes.genius.lowLevel.GPanel
public void setConstraint(int widgetGap)
widgetGap
- left gap from panel border to display the label of the widget.public void setBodyShape(fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid bodyShape) throws GPFrameException, fr.cnes.genius.exception.GArithmeticException
GPOneAxisEllipsoid
widget is shown to manually set body's
shape.bodyShape
- body shape to be used to compute force modelsGPFrameException
- if the ellipsoid cannot be set in a GPOneAxisEllipsoid widgetfr.cnes.genius.exception.GArithmeticException
- if bodyShape eq. radius or flatness are NaN.public void setAssembly(fr.cnes.sirius.patrius.assembly.Assembly assembly)
assembly
- the assembly to be set.public fr.cnes.sirius.patrius.assembly.Assembly getAssembly()
public fr.cnes.genius.highLevel.GLabelWithIndicator getGLabel()
public GPEarthPotentialForceModel getGPEarthPotentialForceModel()
public GPThirdBodyForceModel getGPThirdBodyForceModel()
public GPAeroForceModel getGPAeroForceModel()
public GPSRPForceModel getGPSRPForceModel()
public GPRediffusedSRPForceModel getGPRediffusedSRPForceModel()
public GPOceanTidesForceModel getGPOceanTidesForceModel()
public GPTerrestrialTidesForceModel getGPTerrestrialTidesForceModel()
public fr.cnes.genius.highLevel.GChoice getGChoiceEphemerisType()
public GPOneAxisEllipsoid getGPOneAxisEllipsoidEarthShape()
public fr.cnes.genius.lowLevel.GSeparator[] getGSeparatorsArray()
public void setEnabled(boolean b)
setEnabled
in class fr.cnes.genius.main.GComponent
public void attachCopyPasteMenu(String label, fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList)
attachCopyPasteMenu
in class fr.cnes.genius.main.GComponent
public void updateIsModifiedIndicator()
updateIsModifiedIndicator
in class fr.cnes.genius.main.GComponent
public boolean isEnabled()
isEnabled
in class fr.cnes.genius.main.GComponent
public void generic() throws fr.cnes.genius.exception.GException
generic
in class fr.cnes.genius.lowLevel.GPanel
fr.cnes.genius.exception.GException
public void display() throws fr.cnes.genius.exception.GException
display
in interface fr.cnes.genius.main.GDisplay
fr.cnes.genius.exception.GException
public void read() throws fr.cnes.genius.exception.GException
read
in interface fr.cnes.genius.main.GReadWrite
fr.cnes.genius.exception.GException
public void write() throws fr.cnes.genius.exception.GException
write
in interface fr.cnes.genius.main.GReadWrite
fr.cnes.genius.exception.GException
public void clear() throws fr.cnes.genius.exception.GException
clear
in interface fr.cnes.genius.main.GClear
fr.cnes.genius.exception.GException
public GPForceModels.TypeEphemeris getSelectedEphemerisType()
GPForceModels.TypeEphemeris
enum value.public fr.cnes.sirius.patrius.forces.ForceModelsData getPatriusObject() throws GPForcesException
getPatriusObject
in interface GPPatrius<fr.cnes.sirius.patrius.forces.ForceModelsData>
GPForcesException
- if the assembly has not been initialized or if some internal error
occurspublic fr.cnes.sirius.patrius.forces.ForceModelsData getPatriusObject(Object... args) throws fr.cnes.genius.exception.GException
getPatriusObject
in interface GPPatriusWithObjects<fr.cnes.sirius.patrius.forces.ForceModelsData>
args
- The parameters are 0: Assembly or 0: OneAxisEllipsoid, 1: Assembly.fr.cnes.genius.exception.GException
- if the PATRIUS object cannot be created from the widget data.public final fr.cnes.sirius.patrius.bodies.CelestialBody getSun()
public double getMultiplicativeFactorAero()
public double getMultiplicativeFactorSRP()
public double getMultiplicativeFactorRediffusedSRPAlbedo()
public double getMultiplicativeFactorRediffusedSRPInfrared()
public boolean isThirdBodyForceModelActive()
public boolean isAeroForceModelActive()
public boolean isSRPForceModelActive()
public boolean isRediffusedSRPForceModelActive()
public boolean isOceanTidesForceModelActive()
public boolean isTerrestrialTidesForceModelActive()
public boolean isEphemerisTypeVisible()
public void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus
in interface fr.cnes.genius.main.GCondensedStatusInterface
public final fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid getBodyShape() throws GPForcesException
GPForcesException
- if EOP data is not initializedpublic void setBodyShapeWidgetsVisible(boolean b)
b
- if true the widget will be visible, if false it will not.public fr.cnes.sirius.patrius.forces.atmospheres.Atmosphere getAtmosphere() throws GPForcesException
GPForcesException
- if there is a problem with solar activity providerpublic fr.cnes.genius.main.GComponent getSubComponent(int position) throws fr.cnes.genius.exception.GComponentException
getSubComponent
in class fr.cnes.genius.main.GComponent
fr.cnes.genius.exception.GComponentException
public boolean isModified()
isModified
in class fr.cnes.genius.main.GComponent
public void before(fr.cnes.genius.main.GEvent e) throws fr.cnes.genius.exception.GException
before
in interface fr.cnes.genius.main.GListener
fr.cnes.genius.exception.GException
public void after(fr.cnes.genius.main.GEvent e) throws fr.cnes.genius.exception.GException
after
in interface fr.cnes.genius.main.GListener
fr.cnes.genius.exception.GException
public void updateIsModified(fr.cnes.genius.main.GCondensedIsModified condensedIsModified)
updateIsModified
in interface fr.cnes.genius.main.GCondensedIsModifiedInterface
public void registerObserver(fr.cnes.genius.observer.GObserver anObserver)
registerObserver
in interface fr.cnes.genius.observer.GObservable
public void unregisterObserver(fr.cnes.genius.observer.GObserver anObserver)
unregisterObserver
in interface fr.cnes.genius.observer.GObservable
public void notifyObservers(Object... args)
notifyObservers
in interface fr.cnes.genius.observer.GObservable
Copyright © 2023. All rights reserved.