public class GPEquatorialParameters extends GPParametersAbstractWithAnomaly
Index | Class | Item | Constraint |
0 | GLabelWithIndicator | label | 0, 0 => "newline , gapleft 0 , spanx 2 , split 2" 0, 1 => (null) |
1 | GEntryReal | entryRealA | 1, 0, 0 =>
"newline , gapleft 30 , split 2" 1, 0, 1 => (null) 1, 1 => "alignx Right" 1, 2 => (null) |
2 | GEntryReal | entryRealE | 2, 0, 0 =>
"newline , gapleft 30 , split 2" 2, 0, 1 => (null) 2, 1 => "alignx Right" |
3 | GEntryReal | entryRealLOP | 3, 0, 0 => "newline , gapleft 30 , split 2" 3, 0, 1 => (null) 3, 1 => "alignx Right" 3, 2 => (null) |
4 | GEntryReal | entryRealIx | 4, 0, 0 =>
"newline , gapleft 30 , split 2" 4, 0, 1 => (null) 4, 1 => "alignx Right" |
5 | GEntryReal | entryRealIy | 5, 0, 0 => "newline , gapleft 30 , split 2" 5, 0, 1 => (null) 5, 1 => "alignx Right" |
6 | GEntryReal | entryRealAnomaly | 6, 0, 0 => (null) 6, 0, 1 => (null) 6, 1 => "alignx Right" 6, 2 => (null) |
7 | GPEntryEarthMu | entryRealMu | "newline" (see table below) |
8 | GPopupListWithLabel | popupListVType | 8, 0, 0 =>
"newline , gapleft 30 , split 2" 8, 0, 1 => (null) 8, 1 => "split 4 , alignx Right" |
9 | GButton | forcePivotButton | (null) |
Index | Class | Item | Constraint |
7, 0 | GLabelWithIndicator | label | 7, 0, 0 =>
"newline , gapleft 30 , split 2" 7, 0, 1 => (null) |
7, 1 | GRealField | textField | (null) |
7, 2 | GPopupList | units | (null) |
7, 3 | GConstantSelector | constantSelector | "newline" (see table below) |
Index | Class | Item | Constraint |
7, 3, 0 | GButton | button | "split 2 , alignx Right" |
7, 3, 1 | GConstantSelelectorDialog | dialog | "newline , pushx , pushy , growx , growy" (see table below) |
Index | Class | Item | Constraint |
7, 3, 1, 0 | GComboBoxWithLabel | combobox | 7, 3, 1, 0, 0, 0 =>
"split 3" 7, 3, 1, 0, 0, 1 => (null) 7, 3, 1, 0, 1 => (null) |
7, 3, 1, 1 | GLabel | label | "newline , split 3" |
7, 3, 1, 2 | GLabel | valueLabel | (null) |
7, 3, 1, 3 | GLabel | unitLabel | (null) |
7, 3, 1, 4 | GButton | selectButton | "newline , pushx , pushy" |
7, 3, 1, 5 | GButton | cancelButton | (null) |
Modifier and Type | Field and Description |
---|---|
static int |
ID
Identifier for the set of orbital parameters.
|
ANGLE_UNITS, DISTANCE_UNITS, INT_ERR_MNS_2_TO_2, INT_ERR_MNS_INF_TO_ZERO, INT_ERR_MNS_ONE_TO_ONE_EXC, INT_ERR_MNS_ONE_TO_ONE_INC, INT_ERR_ZERO_EX_TO_INF, INT_ERR_ZERO_IN_TO_INF, INT_WARN_MNS_PI_TO_PI, INT_WARN_ZERO_TO_PI, NULL_PARAMS, VELOCITY_UNITS
Constructor and Description |
---|
GPEquatorialParameters(String label)
Constructor without equatorial parameters (they will be initialized to zero).
|
GPEquatorialParameters(String label,
fr.cnes.sirius.patrius.orbits.orbitalparameters.IOrbitalParameters params)
Constructor.
|
GPEquatorialParameters(String widgetId,
String label)
Constructor without equatorial parameters (they will be initialized to zero).
|
GPEquatorialParameters(String widgetId,
String label,
fr.cnes.sirius.patrius.orbits.orbitalparameters.IOrbitalParameters params)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
aditionalActionsAfter2(fr.cnes.genius.main.GEvent e)
Additional actions to be performed by the after() method of class
GPParametersAbstractWithAnomaly , to be implemented by its sub-classes. |
protected void |
aditionalActionsBefore1(fr.cnes.genius.main.GEvent e)
Additional actions to be performed by the before() method of class
GPParametersAbstract , to be
implemented by its sub-classes. |
protected fr.cnes.genius.interval.GIntervalAbstract.GStatus |
checkGlobalCoherence(fr.cnes.genius.interval.GIntervalAbstract.GStatus status)
Checks if the the global coherence conditions are fulfilled by the parameters.
|
protected double[] |
computeParamsArray(fr.cnes.sirius.patrius.orbits.orbitalparameters.IOrbitalParameters params)
Computes the orbital parameters array in the same order as shown in the widget .
|
protected fr.cnes.genius.highLevel.GEntryReal |
getAnomalyEntryReal()
Generic getter for the GEntryReal corresponding to the anomaly/longitude/AoL.
|
protected double |
getCurrentAnomalyValue()
Getter for the current value of the anomaly/longitude/AoL.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealA()
Getter for the GEntryReal defining the semi-major axis.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealE()
Getter for the GEntryReal defining the eccentricity.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealIx()
Getter for the GEntryReal defining the ix parameter.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealIy()
Getter for the GEntryReal defining the iy parameter.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealLOP()
Getter for the GEntryReal defining the longitude of perigee.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealV()
Getter for the GEntryReal defining the anomaly.
|
fr.cnes.genius.highLevel.GPopupListWithLabel |
getGPopupList()
Generic getter for the GPopupListWithLabel corresponding to the anomaly/longitude/AoL type selector
(true, mean ou eccentric).
|
fr.cnes.sirius.patrius.orbits.orbitalparameters.IOrbitalParameters |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.sirius.patrius.orbits.PositionAngle |
getTypeOfAnomaly()
Getter for the type of anomaly angle (TRUE, MEAN or ECCENTRIC).
|
protected fr.cnes.genius.main.GItemTypeInterface |
getXMLType()
Generic getter for the set of orbital parameters item type in the XML configuration file.
|
protected void |
recomputeAnomaliesMap()
Recomputes the three types of anomaly/longitude/AoL by creating an auxiliary orbit.
|
aditionalActionsAfter1, clear, display, generic, getCurrentAnomalyType, getParams, getPivotAnomalyType, getSubComponent, isButtonForcePivotVisible, isInPivot, isModified, onButtonForcePivot, onGEntryRealParams, read, recomputePivot, setAnomalies, setButtonForcePivotVisible, setConstraint, setCurrentAnomalyType, setDefaultParams, setDefaultParams, setDefaultParams, setDefaultParams, setDisplayIsModifiedIndicatorAll, setEnabled, setParams, setParams, setParams, setParams, setSavedParams, setSavedParams, setSavedParams, setSavedParams, updateIsModifiedIndicator, updateIsPivotButtonEnabled, updateStatus, write
after, attachCopyPasteMenu, before, copyNullParams, getGEntryRealMu, getGLabel, getName, getParametersGEntryRealsList, handleOrbitCopyPasteEvent, isBlockedConversions, isEnabled, isParamsNull, modMinusPiPlusPi, setBlockedConversions, setDefaultConstraint, updateCondensedStatus
activateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getComponent, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGClassName, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getNameInConfigFile, getOperationSaveValue, getPathInConfigFile, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, isForcedStatus, launchInvalidPositionException, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDefaultConstraints, setDisplayIsModifiedIndicator, setElement, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setNameAndCommentInConfigFile, setNameInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidgetId, setWidth, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem
public static final int ID
public GPEquatorialParameters(String label)
label
- text to display in the label.public GPEquatorialParameters(String label, fr.cnes.sirius.patrius.orbits.orbitalparameters.IOrbitalParameters params) throws GPOrbitException
label
- text to display in the label.params
- orbital parameters to set.GPOrbitException
- if if given orbit cannot be represented in equatorial parameters in the given frame.public GPEquatorialParameters(String widgetId, String label)
widgetId
- widget identifier, if null an identifier will be automatically created.label
- text to display in the label.public GPEquatorialParameters(String widgetId, String label, fr.cnes.sirius.patrius.orbits.orbitalparameters.IOrbitalParameters params) throws GPOrbitException
widgetId
- widget identifier, if null an identifier will be automatically created.label
- text to display in the label.params
- orbital parameters to set.GPOrbitException
- if if given orbit cannot be represented in equatorial parameters in the given frame.public fr.cnes.genius.highLevel.GEntryReal getGEntryRealA()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealE()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealLOP()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealIx()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealIy()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealV()
public fr.cnes.genius.highLevel.GPopupListWithLabel getGPopupList()
getGPopupList
in class GPParametersAbstractWithAnomaly
public fr.cnes.sirius.patrius.orbits.PositionAngle getTypeOfAnomaly()
protected double[] computeParamsArray(fr.cnes.sirius.patrius.orbits.orbitalparameters.IOrbitalParameters params) throws GPOrbitException, fr.cnes.genius.exception.GArithmeticException
computeParamsArray
in class GPParametersAbstract
params
- the orbital parameters as a IOrbitalParameters patrius object.GPOrbitException
- if the params are invalid:fr.cnes.genius.exception.GArithmeticException
- if the params are invalid:protected fr.cnes.genius.interval.GIntervalAbstract.GStatus checkGlobalCoherence(fr.cnes.genius.interval.GIntervalAbstract.GStatus status)
checkGlobalCoherence
in class GPParametersAbstract
status
- initial status.public fr.cnes.sirius.patrius.orbits.orbitalparameters.IOrbitalParameters getPatriusObject() throws GPOrbitException
getPatriusObject
in interface GPPatrius<fr.cnes.sirius.patrius.orbits.orbitalparameters.IOrbitalParameters>
getPatriusObject
in class GPParametersAbstract
GPOrbitException
- if orbit is hyperbolic, if orbit mismatch with conic type or if inclination vector is not
valid, meaning ix^2 + iy^2 > 4protected void recomputeAnomaliesMap() throws GPOrbitException
recomputeAnomaliesMap
in class GPParametersAbstractWithAnomaly
GPOrbitException
- if the current orbital parameters (with pivot anomaly/longitude/AoL) do not represent a
valid orbit.protected fr.cnes.genius.highLevel.GEntryReal getAnomalyEntryReal()
getAnomalyEntryReal
in class GPParametersAbstractWithAnomaly
protected double getCurrentAnomalyValue()
getCurrentAnomalyValue
in class GPParametersAbstractWithAnomaly
protected fr.cnes.genius.main.GItemTypeInterface getXMLType()
getXMLType
in class GPParametersAbstract
protected void aditionalActionsBefore1(fr.cnes.genius.main.GEvent e)
GPParametersAbstract
, to be
implemented by its sub-classes.aditionalActionsBefore1
in class GPParametersAbstract
e
- processed eventprotected void aditionalActionsAfter2(fr.cnes.genius.main.GEvent e) throws GPOrbitException
GPParametersAbstractWithAnomaly
, to be implemented by its sub-classes.aditionalActionsAfter2
in class GPParametersAbstractWithAnomaly
e
- processed eventGPOrbitException
- in case of any problemCopyright © 2018. All rights reserved.