|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.genius.main.GComponent
fr.cnes.genius.lowLevel.GContainer
fr.cnes.genopus.orbits.GPParametersAbstract
fr.cnes.genopus.orbits.GPParametersAbstractWithAnomaly
fr.cnes.genopus.orbits.GPApsisAltitudeParameters
public class GPApsisAltitudeParameters
Widget representing the apsis altitude parameters of an object (hp, ha, i, pa, raan, anomaly) in a gravitational field, mu, and with an Earth equatorial radius, req. Anomaly can be represented as mean, eccentric or true.
| Index | Class | Item | Constraint |
| 0 | GLabelWithIndicator | label | 0, 0 => "newline , gapleft 0 , spanx 2 , split 2" 0, 1 => (null) |
| 1 | GEntryReal | entryRealHp | 1, 0, 0 =>
"newline , gapleft 30 , split 2" 1, 0, 1 => (null) 1, 1 => "alignx Right" 1, 2 => (null) |
| 2 | GEntryReal | entryRealHa | 2, 0, 0 =>
"newline , gapleft 30 , split 2" 2, 0, 1 => (null) 2, 1 => "alignx Right" 2, 2 => (null) |
| 3 | GEntryReal | entryRealI | 3, 0, 0 =>
"newline , gapleft 30 , split 2" 3, 0, 1 => (null) 3, 1 => "alignx Right" 3, 2 => (null) |
| 4 | GEntryReal | entryRealRAAN | 4, 0, 0 =>
"newline , gapleft 30 , split 2" 4, 0, 1 => (null) 4, 1 => "alignx Right" 4, 2 => (null) |
| 5 | GEntryReal | entryRealPA | 5, 0, 0 =>
"newline , gapleft 30 , split 2" 5, 0, 1 => (null) 5, 1 => "alignx Right" 5, 2 => (null) |
| 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) |
| 10 | GPEntryEarthEqRad | entryRealReq | "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) |
| Index | Class | Item | Constraint |
| 10, 0 | GLabelWithIndicator | label | 10, 0, 0 =>
"newline , gapleft 30 , split 2" 10, 0, 1 => (null) |
| 10, 1 | GRealField | textField | (null) |
| 10, 2 | GPopupList | units | (null) |
| 10, 3 | GConstantSelector | constantSelector | "newline" (see table below) |
| Index | Class | Item | Constraint |
| 10, 3, 0 | GButton | button | "split 2 , alignx Right" |
| 10, 3, 1 | GConstantSelelectorDialog | dialog | "newline , pushx , pushy , growx , growy" (see table below) |
| Index | Class | Item | Constraint |
| 10, 3, 1, 0 | GComboBoxWithLabel | combobox | 10, 3, 1, 0, 0, 0 =>
"split 3" 10, 3, 1, 0, 0, 1 => (null) 10, 3, 1, 0, 1 => (null) |
| 10, 3, 1, 1 | GLabel | label | "newline , split 3" |
| 10, 3, 1, 2 | GLabel | valueLabel | (null) |
| 10, 3, 1, 3 | GLabel | unitLabel | (null) |
| 10, 3, 1, 4 | GButton | selectButton | "newline , pushx , pushy" |
| 10, 3, 1, 5 | GButton | cancelButton | (null) |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class fr.cnes.genius.main.GComponent |
|---|
fr.cnes.genius.main.GComponent.CopyPasteOperation, fr.cnes.genius.main.GComponent.DisplayIndicatorStatus, fr.cnes.genius.main.GComponent.ItemType, fr.cnes.genius.main.GComponent.Operation |
| Field Summary | |
|---|---|
static int |
ID
Identifier for the set of orbital parameters. |
| Fields inherited from class fr.cnes.genopus.orbits.GPParametersAbstract |
|---|
ANGLE_UNITS, DISTANCE_UNITS, INT_ERR_MNS_INF_TO_ZERO, INT_ERR_MNS_ONE_TO_ONE_EXC, INT_ERR_MNS_ONE_TO_ONE_INC, INT_ERR_MNS_SQRT_2_TO_SQRT_2, 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 |
| Fields inherited from class fr.cnes.genius.main.GComponent |
|---|
NAME_ATTRIBUTE |
| Fields inherited from interface fr.cnes.genopus.orbits.GPCentralBodyRadius |
|---|
DEFAULT_EARTH_EQ_RADIUS |
| Constructor Summary | |
|---|---|
GPApsisAltitudeParameters(String label)
Constructor without apsis parameters (they will be initialized to zero). |
|
GPApsisAltitudeParameters(String label,
org.orekit.orbits.orbitalparameters.IOrbitalParameters params)
Constructor. |
|
GPApsisAltitudeParameters(String widgetId,
String label)
Constructor without apsis parameters (they will be initialized to zero). |
|
GPApsisAltitudeParameters(String widgetId,
String label,
org.orekit.orbits.orbitalparameters.IOrbitalParameters params)
Constructor. |
|
| Method Summary | |
|---|---|
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(org.orekit.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 GPApsisAltitudeParameters#NULL_APSIS_PARAMS. |
void |
display()
|
protected fr.cnes.genius.highLevel.GEntryReal |
getAnomalyEntryReal()
Generic getter for the GEntryReal corresponding to the anomaly/longitude/AoL. |
double |
getCentralBodyEqRadius()
Getter for the central body equatorial radius from the widget. |
protected double |
getCurrentAnomalyValue()
Getter for the current value of the anomaly/longitude/AoL. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealHa()
Getter for the GEntryReal defining the apogee geocentric altitude. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealHp()
Getter for the GEntryReal defining the perigee geocentric altitude. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealI()
Getter for the GEntryReal defining the inclination. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealPA()
Getter for the GEntryReal defining the perigee argument. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealRAAN()
Getter for the GEntryReal defining the right ascension of the ascending node. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealReq()
Getter for the GEntryReal defining the equatorial radius of the central body. |
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). |
org.orekit.orbits.orbitalparameters.IOrbitalParameters |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget. |
fr.cnes.genius.main.GComponent |
getSubComponent(int position)
|
org.orekit.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. |
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 |
setConstraint(int labelGap,
int paramsGap)
Setter for the constraints of the orbital parameters. |
void |
setEnabled(boolean b)
|
| Methods inherited from class fr.cnes.genopus.orbits.GPParametersAbstract |
|---|
after, attachCopyPasteMenu, before, getGEntryRealMu, getGLabel, getName, getParametersGEntryRealsList, handleOrbitCopyPasteEvent, isBlockedConversions, isEnabled, isParamsNull, setBlockedConversions, setDefaultConstraint, updateCondensedStatus |
| Methods inherited from class fr.cnes.genius.lowLevel.GContainer |
|---|
put |
| Methods inherited from class fr.cnes.genius.main.GComponent |
|---|
activateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getComponent, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getNameInConfigFile, getOperationSaveValue, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, launchInvalidPositionException, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setNameAndCommentInConfigFile, setNameInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidgetId, setWidth, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ID
| Constructor Detail |
|---|
public GPApsisAltitudeParameters(String label)
label - text to display in the label.
public GPApsisAltitudeParameters(String label,
org.orekit.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 apsis parameters in the given frame.
public GPApsisAltitudeParameters(String widgetId,
String label)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.
public GPApsisAltitudeParameters(String widgetId,
String label,
org.orekit.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 apsis parameters in the given frame.| Method Detail |
|---|
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealHp()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealHa()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealI()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealRAAN()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealPA()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealV()
public fr.cnes.genius.highLevel.GPopupListWithLabel getGPopupList()
getGPopupList in class GPParametersAbstractWithAnomalypublic fr.cnes.genius.highLevel.GEntryReal getGEntryRealReq()
public org.orekit.orbits.PositionAngle getTypeOfAnomaly()
public void setConstraint(int labelGap,
int paramsGap)
setConstraint in class GPParametersAbstractWithAnomalylabelGap - left gap from panel border to display the label of the orbital parametersparamsGap - left gap from panel border to display the orbital parameters
protected double[] computeParamsArray(org.orekit.orbits.orbitalparameters.IOrbitalParameters params)
throws GPOrbitException
computeParamsArray in class GPParametersAbstractWithAnomalyparams - the orbital parameters as a IOrbitalParameters patrius object.
GPOrbitExceptionprotected fr.cnes.genius.interval.GIntervalAbstract.GStatus checkGlobalCoherence(fr.cnes.genius.interval.GIntervalAbstract.GStatus status)
checkGlobalCoherence in class GPParametersAbstractstatus - initial status.
public org.orekit.orbits.orbitalparameters.IOrbitalParameters getPatriusObject()
throws GPOrbitException
getPatriusObject in interface GPPatrius<org.orekit.orbits.orbitalparameters.IOrbitalParameters>getPatriusObject in class GPParametersAbstractGPOrbitException - if the parameters cannot be created
protected void recomputeAnomaliesMap()
throws GPOrbitException
recomputeAnomaliesMap in class GPParametersAbstractWithAnomalyGPOrbitException - 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 GPParametersAbstractWithAnomalyprotected double getCurrentAnomalyValue()
getCurrentAnomalyValue in class GPParametersAbstractWithAnomalyprotected fr.cnes.genius.main.GItemTypeInterface getXMLType()
getXMLType in class GPParametersAbstract
public void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplaydisplay in class GPParametersAbstractWithAnomalyfr.cnes.genius.exception.GException
protected void aditionalActionsAfter2(fr.cnes.genius.main.GEvent e)
throws GPOrbitException
GPParametersAbstractWithAnomaly, to be implemented by its sub-classes.
aditionalActionsAfter2 in class GPParametersAbstractWithAnomalye - processed event
GPOrbitException - in case of any problem
protected void aditionalActionsBefore1(fr.cnes.genius.main.GEvent e)
throws GPOrbitException
GPParametersAbstract, to be
implemented by its sub-classes.
aditionalActionsBefore1 in class GPParametersAbstracte - processed event
GPOrbitException - if the previous parameters are not validprotected double[] copyNullParams()
GPApsisAltitudeParameters#NULL_APSIS_PARAMS.
copyNullParams in class GPParametersAbstractpublic void setEnabled(boolean b)
setEnabled in class GPParametersAbstractWithAnomalypublic double getCentralBodyEqRadius()
getCentralBodyEqRadius in interface GPCentralBodyRadiuspublic void setCentralBodyEqRadius(double centralBodyEqRadius)
setCentralBodyEqRadius in interface GPCentralBodyRadiuscentralBodyEqRadius - the central body equatorial radius to be set to the widget.
public void recomputeParams()
throws GPOrbitException
recomputeParams in interface GPCentralBodyRadiusGPOrbitException - 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 GPParametersAbstractWithAnomalyfr.cnes.genius.exception.GComponentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||