public class GPComplexPotentialForceModel extends fr.cnes.genius.lowLevel.GContainer implements fr.cnes.genius.main.GDisplay, fr.cnes.genius.main.GReadWrite, fr.cnes.genius.main.GClear, fr.cnes.genius.main.GListener, fr.cnes.genius.main.GCondensedStatusInterface, GPPatriusWithObjects<fr.cnes.sirius.patrius.forces.ForceModel>, fr.cnes.genius.main.GCondensedIsModifiedInterface
| Index | Class | Item | Constraint |
| 0 | GLabelWithIndicator | moonPotentialLabel | 0, 0 =>
"newline , gapleft 0 , split 2" 0, 1 => (null) |
| 1 | GChoice | attractionModelChoice | 1, 0, 0 =>
"newline , gapleft 20 , split 2" 1, 0, 1 => (null) 1, 1 => "split" |
| 2 | GComboBoxWithLabel | moonPotentialTypeComboBox | 2, 0,
0 =>
"newline , gapleft 20 , split 2" 2, 0, 1 => (null) 2, 1 => (null) |
| 3 | GEntryInt | maxOrdDegEntryInt | 3, 0, 0 =>
"newline , gapleft 20 , split 2" 3, 0, 1 => (null) 3, 1 => (null) |
| 4 | GEntryInt | degreeEntryInt | 4, 0, 0 =>
"newline , gapleft 20 , split 2" 4, 0, 1 => (null) 4, 1 => (null) |
| 5 | GEntryInt | orderEntryInt | 5, 0, 0 =>
"newline , gapleft 20 , split 2" 5, 0, 1 => (null) 5, 1 => (null) |
| 6 | GEntryInt | degreeOptionalEntryInt | 6, 0, 0 =>
"newline , gapleft 20 , split 2" 6, 0, 1 => (null) 6, 1 => (null) |
| 7 | GEntryInt | orderOptionalEntryInt | 7, 0, 0 =>
"newline , gapleft 20 , split 2" 7, 0, 1 => (null) 7, 1 => (null) |
| 8 | GChoice | coeffsComputedOnceChoice | 8, 0, 0 =>
"newline , gapleft 20 , split 2" 8, 0, 1 => (null) 8, 1 => "split" |
| Modifier and Type | Class and Description |
|---|---|
static class |
GPComplexPotentialForceModel.AttractionModelsEnum
Enumerate for normalized/unnormalized attraction models.
|
fr.cnes.genius.main.GComponent.CopyPasteOperation, fr.cnes.genius.main.GComponent.DisplayIndicatorStatus, fr.cnes.genius.main.GComponent.ItemType, fr.cnes.genius.main.GComponent.OperationGPPatriusWithObjects.ArgsChecker| Modifier and Type | Field and Description |
|---|---|
static String |
VARIABLE_POTENTIAL_FILENAME
EIGEN GRGS default filename.
|
| Constructor and Description |
|---|
GPComplexPotentialForceModel()
Empty constructor.
|
GPComplexPotentialForceModel(String widgetId,
String label)
Constructor.
|
| 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.frames.Frame |
getFrame()
Getter for the rotating frame to be used for the force model creation.
|
fr.cnes.genius.highLevel.GChoice |
getGChoiceAttractionModel()
Getter for the GChoice defining the attraction model.
|
fr.cnes.genius.highLevel.GChoice |
getGChoiceCoeffsComputedOnce()
Getter for the GChoice defining the coefficients computation option.
|
fr.cnes.genius.highLevel.GComboBoxWithLabel |
getGComboBoxPotentialType()
Getter for the GComboBoxWithLabel defining the potential filename.
|
fr.cnes.genius.highLevel.GEntryInt |
getGEntryIntTesseral()
Getter for the GEntryInt defining the tesseral order.
|
fr.cnes.genius.highLevel.GEntryInt |
getGEntryIntZonal()
Getter for the GEntryInt defining the zonal degree.
|
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabelForceModel()
Getter for the label of the force model.
|
double |
getMu()
Get the Mu constant used in the potential force model.
|
fr.cnes.sirius.patrius.forces.ForceModel |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.sirius.patrius.forces.ForceModel |
getPatriusObject(Object... args)
Returns the PATRIUS object associated to a GENOPUS widget.
|
GPComplexPotentialForceModel.AttractionModelsEnum |
getSelectedAttractionModel()
Get selected attraction model as a
GPComplexPotentialForceModel.AttractionModelsEnum enum value. |
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
boolean |
isEnabled() |
boolean |
isModified() |
void |
onSearch()
Search button function, allows to open a window and load a file.
|
fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction |
potentialForceModel(fr.cnes.sirius.patrius.bodies.CelestialBody bodyIn)
Method which allows to get a complex potential force model as a ThirdBodyAttraction
|
void |
read() |
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 |
setFrame(fr.cnes.sirius.patrius.frames.Frame frame)
Setter for the rotating frame to be used for force model creation.
|
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus) |
void |
updateIsModified(fr.cnes.genius.main.GCondensedIsModified condensedIsModified) |
protected void |
updateIsModifiedIndicator() |
void |
updateStatus()
Update the status of the widget.
|
void |
write() |
activateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getComponent, 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, processMouseWheelEvent, setBusyCursor, setCommentInConfigFile, setConstraint, 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, writeConfigItempublic static final String VARIABLE_POTENTIAL_FILENAME
public GPComplexPotentialForceModel()
public void setDefaultConstraints()
setDefaultConstraints in class fr.cnes.genius.main.GComponentpublic void setConstraint(int widgetGap)
widgetGap - left gap from panel border to display the label of the widget.public fr.cnes.genius.highLevel.GLabelWithIndicator getGLabelForceModel()
public fr.cnes.genius.highLevel.GChoice getGChoiceAttractionModel()
public fr.cnes.genius.highLevel.GComboBoxWithLabel getGComboBoxPotentialType()
public fr.cnes.genius.highLevel.GEntryInt getGEntryIntZonal()
public fr.cnes.genius.highLevel.GEntryInt getGEntryIntTesseral()
public fr.cnes.genius.highLevel.GChoice getGChoiceCoeffsComputedOnce()
public void setFrame(fr.cnes.sirius.patrius.frames.Frame frame)
frame - the rotating frame to be set.public fr.cnes.sirius.patrius.frames.Frame getFrame()
public boolean isEnabled()
isEnabled in class fr.cnes.genius.main.GComponentpublic void setEnabled(boolean b)
setEnabled in class fr.cnes.genius.main.GComponentpublic void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplayfr.cnes.genius.exception.GExceptionpublic void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GExceptionpublic void read()
throws fr.cnes.genius.exception.GException
read in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GExceptionpublic void write()
throws fr.cnes.genius.exception.GException
write in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GExceptionpublic void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GContainerfr.cnes.genius.exception.GExceptionpublic void before(fr.cnes.genius.main.GEvent e)
throws fr.cnes.genius.exception.GException
before in interface fr.cnes.genius.main.GListenerfr.cnes.genius.exception.GExceptionpublic void after(fr.cnes.genius.main.GEvent e)
throws fr.cnes.genius.exception.GException
after in interface fr.cnes.genius.main.GListenerfr.cnes.genius.exception.GExceptionpublic fr.cnes.sirius.patrius.forces.ForceModel getPatriusObject()
throws GPForcesException,
fr.cnes.sirius.patrius.utils.exception.PatriusException
getPatriusObject in interface GPPatrius<fr.cnes.sirius.patrius.forces.ForceModel>GPForcesException - if the frame has not been initialized or if the potential provider or the C and
S
coefficients for the potential force model cannot be computedfr.cnes.sirius.patrius.utils.exception.PatriusExceptionpublic fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction potentialForceModel(fr.cnes.sirius.patrius.bodies.CelestialBody bodyIn)
throws fr.cnes.sirius.patrius.utils.exception.PatriusException,
GPForcesException
bodyIn - The 3rd bodyGPForcesException - if the frame has not been initialized or if the potential provider or the C and
S
coefficients for the potential force model cannot be computedfr.cnes.sirius.patrius.utils.exception.PatriusException - if the patrius object cannot be retrieved.GPForcesException - if the frame has not been initialized or if the potential provider or the C and
S
coefficients for the potential force model cannot be computedpublic fr.cnes.sirius.patrius.forces.ForceModel getPatriusObject(Object... args) throws fr.cnes.genius.exception.GException, fr.cnes.sirius.patrius.utils.exception.PatriusException
getPatriusObject in interface GPPatriusWithObjects<fr.cnes.sirius.patrius.forces.ForceModel>args - The parameters are 0: Frame.fr.cnes.sirius.patrius.utils.exception.PatriusExceptionfr.cnes.genius.exception.GException - if the PATRIUS object cannot be created from the widget data.public GPComplexPotentialForceModel.AttractionModelsEnum getSelectedAttractionModel()
GPComplexPotentialForceModel.AttractionModelsEnum enum value.public double getMu()
throws GPForcesException,
fr.cnes.sirius.patrius.utils.exception.PatriusException
GPForcesException - if the potential force model cannot be created.fr.cnes.sirius.patrius.utils.exception.PatriusException - if the patrius object cannot be retrieved.public void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterfacepublic boolean isModified()
isModified in class fr.cnes.genius.main.GComponentprotected void updateIsModifiedIndicator()
updateIsModifiedIndicator in class fr.cnes.genius.main.GComponentpublic void attachCopyPasteMenu(String label, fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList)
attachCopyPasteMenu in class fr.cnes.genius.main.GComponentpublic void updateStatus()
public fr.cnes.genius.main.GComponent getSubComponent(int position)
throws fr.cnes.genius.exception.GComponentException
getSubComponent in class fr.cnes.genius.main.GComponentfr.cnes.genius.exception.GComponentExceptionpublic void updateIsModified(fr.cnes.genius.main.GCondensedIsModified condensedIsModified)
updateIsModified in interface fr.cnes.genius.main.GCondensedIsModifiedInterfacepublic void onSearch()
Copyright © 2025. All rights reserved.