public class GPReentryParameters extends GPParametersAbstract implements GPCentralBodyRadius, GPCentralBodyFlatness
Index | Class | Item | Constraint |
0 | GLabelWithIndicator | label | 0, 0 => "newline , gapleft 0 , spanx 2 , split 2" 0, 1 => (null) |
1 | GEntryReal | entryRealAlt | 1, 0, 0 =>
"newline , gapleft 30 , split 2" 1, 0, 1 => (null) 1, 1 => "alignx Right" 1, 2 => (null) |
2 | GEntryReal | entryRealLat | 2, 0, 0 =>
"newline , gapleft 30 , split 2" 2, 0, 1 => (null) 2, 1 => "alignx Right" 2, 2 => (null) |
3 | GEntryReal | entryRealLon | 3, 0, 0 =>
"newline , gapleft 30 , split 2" 3, 0, 1 => (null) 3, 1 => "alignx Right" 3, 2 => (null) |
4 | GEntryReal | entryRealVel | 4, 0, 0 =>
"newline , gapleft 30 , split 2" 4, 0, 1 => (null) 4, 1 => "alignx Right" 4, 2 => (null) |
5 | GEntryReal | entryRealFpa | 5, 0, 0 =>
"newline , gapleft 30 , split 2" 5, 0, 1 => (null) 5, 1 => "alignx Right" 5, 2 => (null) |
6 | GEntryReal | entryRealAzi | 6, 0, 0 =>
"newline , gapleft 30 , split 2" 6, 0, 1 => (null) 6, 1 => "alignx Right" 6, 2 => (null) |
7 | GPEntryEarthMu | entryRealMu | "newline" (see table below) |
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
DEFAULT_EARTH_EQ_RADIUS
DEFAULT_EARTH_FLATNESS
Constructor and Description |
---|
GPReentryParameters(String label)
Constructor without Reentry parameters (they will be initialized to zero).
|
GPReentryParameters(String label,
fr.cnes.sirius.patrius.orbits.orbitalparameters.IOrbitalParameters params)
Constructor.
|
GPReentryParameters(String widgetId,
String label)
Constructor without Reentry parameters (they will be initialized to zero).
|
GPReentryParameters(String widgetId,
String label,
fr.cnes.sirius.patrius.orbits.orbitalparameters.IOrbitalParameters params)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
aditionalActionsAfter1(fr.cnes.genius.main.GEvent e)
Additional actions to be performed by the after() method of class
GPParametersAbstract , 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 double[] |
copyNullParams()
Initialize the array of orbital parameters to the null parameters defined by
GPReentryParameters#NULL_REENTRY_PARAMS . |
double |
getCentralBodyEqRadius()
Getter for the central body equatorial radius from the widget.
|
double |
getCentralBodyFlatness()
Getter for the central body flatness from the widget.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealAlt()
Getter for the GEntryReal defining the geodetic altitude.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealAzi()
Getter for the GEntryReal defining the geodetic azimuth of the velocity vector wrt.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealFlat()
Getter for the GEntryReal defining the flatness of the central body.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealFpa()
Getter for the GEntryReal defining the geodetic gradient of the velocity vector.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealLat()
Getter for the GEntryReal defining the latitude.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealLon()
Getter for the GEntryReal defining the longitude.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealReq()
Getter for the GEntryReal defining the equatorial radius of the central body.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealVel()
Getter for the GEntryReal defining the velocity norm.
|
fr.cnes.sirius.patrius.orbits.orbitalparameters.IOrbitalParameters |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
protected fr.cnes.genius.main.GItemTypeInterface |
getXMLType()
Generic getter for the set of orbital parameters item type in the XML configuration file.
|
void |
recomputeParams()
Method to recalculate the orbital parameters when the central body equatorial radius has changed.
|
void |
setCentralBodyEqRadius(double centralBodyEqRadius)
Setter for the central body equatorial radius in the widget.
|
void |
setCentralBodyFlatness(double centralBodyFlatness)
Setter for the central body flatness in the widget.
|
void |
setConstraint(int labelGap,
int paramsGap)
Setter for the constraints of the orbital parameters.
|
after, attachCopyPasteMenu, before, clear, display, generic, getGEntryRealMu, getGLabel, getName, getParametersGEntryRealsList, getParams, handleOrbitCopyPasteEvent, isBlockedConversions, isEnabled, isModified, isParamsNull, modMinusPiPlusPi, onGEntryRealParams, read, setBlockedConversions, setDefaultConstraint, setDefaultParams, setDefaultParams, setDisplayIsModifiedIndicatorAll, setEnabled, setParams, setParams, setSavedParams, setSavedParams, updateCondensedStatus, updateIsModifiedIndicator, updateStatus, 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, 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 GPReentryParameters(String label)
label
- text to display in the label.public GPReentryParameters(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 reentry parameters in the given frame.public GPReentryParameters(String widgetId, String label)
widgetId
- widget identifier, if null an identifier will be automatically created.label
- text to display in the label.public GPReentryParameters(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 reentry parameters in the given frame.public fr.cnes.genius.highLevel.GEntryReal getGEntryRealAlt()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealLat()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealLon()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealVel()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealFpa()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealAzi()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealReq()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealFlat()
public void setConstraint(int labelGap, int paramsGap)
setConstraint
in class GPParametersAbstract
labelGap
- left gap from panel border to display the label of the orbital parametersparamsGap
- left gap from panel border to display the orbital parametersprotected 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.protected fr.cnes.genius.main.GItemTypeInterface getXMLType()
getXMLType
in class GPParametersAbstract
protected void aditionalActionsAfter1(fr.cnes.genius.main.GEvent e) throws GPOrbitException
GPParametersAbstract
, to be
implemented by its sub-classes.aditionalActionsAfter1
in class GPParametersAbstract
e
- processed eventGPOrbitException
- in case of any problemprotected void aditionalActionsBefore1(fr.cnes.genius.main.GEvent e) throws GPOrbitException
GPParametersAbstract
, to be
implemented by its sub-classes.aditionalActionsBefore1
in class GPParametersAbstract
e
- processed eventGPOrbitException
protected double[] copyNullParams()
GPReentryParameters#NULL_REENTRY_PARAMS
.copyNullParams
in class GPParametersAbstract
public fr.cnes.sirius.patrius.orbits.orbitalparameters.IOrbitalParameters getPatriusObject()
getPatriusObject
in interface GPPatrius<fr.cnes.sirius.patrius.orbits.orbitalparameters.IOrbitalParameters>
getPatriusObject
in class GPParametersAbstract
public double getCentralBodyEqRadius()
getCentralBodyEqRadius
in interface GPCentralBodyRadius
public void setCentralBodyEqRadius(double centralBodyEqRadius) throws fr.cnes.genius.exception.GArithmeticException
setCentralBodyEqRadius
in interface GPCentralBodyRadius
centralBodyEqRadius
- the central body equatorial radius to be set to the widget.fr.cnes.genius.exception.GArithmeticException
- if centralBodyEqRadius is NaN.public double getCentralBodyFlatness()
getCentralBodyFlatness
in interface GPCentralBodyFlatness
public void setCentralBodyFlatness(double centralBodyFlatness) throws fr.cnes.genius.exception.GArithmeticException
setCentralBodyFlatness
in interface GPCentralBodyFlatness
centralBodyFlatness
- the central body flatness to be set to the widget.fr.cnes.genius.exception.GArithmeticException
- if centralBodyFlatness is NaN.public void recomputeParams() throws GPOrbitException
recomputeParams
in interface GPCentralBodyFlatness
recomputeParams
in interface GPCentralBodyRadius
GPOrbitException
- in case of problem when recalculating the parameters.public fr.cnes.genius.main.GComponent getSubComponent(int position) throws fr.cnes.genius.exception.GComponentException
getSubComponent
in class GPParametersAbstract
fr.cnes.genius.exception.GComponentException
Copyright © 2018. All rights reserved.