public class GPLOFAttitudeLaw extends GPSpinStabilizedAbstract implements fr.cnes.genius.main.GListener
| Index | Class | Item | Constraint |
| 0 | GLabelWithIndicator | labelLawName | 0, 0 =>
"newline , gapleft 0 , split 2" 0, 1 => (null) |
| 1 | GSeparator | separator1 | "newline , gapleft 0 , spanx 3 , growx" |
| 2 | GComboBoxWithLabel | comboBoxLawEvol | 2, 0, 0 =>
"newline , gapleft 0 , split 2" 2, 0, 1 => (null) 2, 1 => (null) |
| 3 | GPSpinStabilizedData | spinStabilizedData | "newline" (see table below) |
| 4 | GComboBoxWithLabel | comboBoxLofType | 4, 0, 0 =>
"newline , gapleft 20 , split 2" 4, 0, 1 => (null) 4, 1 => (null) |
| 5 | GCheckBox | checkBoxExpertConfig | "newline , gapleft 20 , split 2" |
| 6 | GPFrame | pseudoInertialFrame | "newline" (see table below) |
| 7 | GCheckBoxWithIndicator | checkboxAngleBias | 7, 0, 0
=> "newline , gapleft 20 , split 2" 7, 0, 1 => (null) 7, 1 => (null) |
| 8 | GPRotation | rotationAngleBias | "newline" (see table below) |
| Index | Class | Item | Constraint |
| 3, 0 | GSeparator | separator2 | "newline , gapleft 20 , spanx 3 , growx" |
| 3, 1 | GLabelWithIndicator | labelSpinData | 3, 1, 0 =>
"newline , gapleft 20 , split 2" 3, 1, 1 => (null) |
| 3, 2 | GPDateOffset | dateOffsetSpinDelay | "newline" (see table below) |
| 3, 3 | GCheckBoxWithIndicator | checkboxOccultAxis | 3,
3, 0, 0 => "newline , gapleft 40 , split 2" 3, 3, 0, 1 => (null) 3, 3, 1 => (null) |
| 3, 4 | GPAxisCoordinates | axisCoordinatesSpinAxis | "newline" (see table below) |
| 3, 5 | GEntryReal | entryRealSpinRate | 3, 5, 0, 0 =>
"newline , gapleft 40 , split 2" 3, 5, 0, 1 => (null) 3, 5, 1 => "split 2" 3, 5, 2 => (null) |
| Index | Class | Item | Constraint |
| 3, 2, 0 | GLabelWithIndicator | label | 3, 2,
0, 0 => "newline , gapleft 40 , split 2" 3, 2, 0, 1 => (null) |
| 3, 2, 1 | GPDateOffsetField | offsetField | "split 2" |
| 3, 2, 2 | GPopupList | popupListUnits | (null) |
| Index | Class | Item | Constraint |
| 3, 4, 0 | GLabelWithIndicator | label | 3,
4, 0, 0 => "newline , gapleft 40 , split 2" 3, 4, 0, 1 => (null) |
| 3, 4, 1 | GComboBoxWithLabel | comboBoxType | 3, 4, 1,
0, 0 => "newline , gapleft 60 , split 2" 3, 4, 1, 0, 1 => (null) 3, 4, 1, 1 => (null) |
| 3, 4, 2 | GEntryReal | entryRealVecX | 3, 4, 2, 0, 0
=> "newline , gapleft 60 , split 2" 3, 4, 2, 0, 1 => (null) 3, 4, 2, 1 => "split 2" |
| 3, 4, 3 | GEntryReal | entryRealVecY | 3, 4, 3, 0, 0 =>
"newline , gapleft 60 , split 2" 3, 4, 3, 0, 1 => (null) 3, 4, 3, 1 => "split 2" |
| 3, 4, 4 | GEntryReal | entryRealVecZ | 3, 4, 4, 0, 0 =>
"newline , gapleft 60 , split 2" 3, 4, 4, 0, 1 => (null) 3, 4, 4, 1 => "split 2" |
| 3, 4, 5 | GEntryReal | entryRealAlfa | 3, 4, 5, 0, 0 =>
"newline , gapleft 60 , split 2" 3, 4, 5, 0, 1 => (null) 3, 4, 5, 1 => "split 2" 3, 4, 5, 2 => (null) |
| 3, 4, 6 | GEntryReal | entryRealBeta | 3, 4, 6, 0, 0
=> "newline , gapleft 60 , split 2" 3, 4, 6, 0, 1 => (null) 3, 4, 6, 1 => "split 2" 3, 4, 6, 2 => (null) |
| 3, 4, 7 | GEntryReal | entryRealNorm | 3, 4, 7, 0, 0
=> "newline , gapleft 60 , split 2" 3, 4, 7, 0, 1 => (null) 3, 4, 7, 1 => "split 2" |
| Index | Class | Item | Constraint |
| 6, 0 | GComboBoxWithLabel | comboBoxRefFrame | 6, 0, 0, 0 =>
"newline , gapleft 40 , split 2" 6, 0, 0, 1 => (null) 6, 0, 1 => "split 4" |
| 6, 1 | GCheckBoxWithIndicator | checkBoxEOP | 6, 1, 0,
0 => (null) 6, 1, 0, 1 => (null) 6, 1, 1 => (null) |
| 6, 2 | GPAbsoluteDate | absoluteDateH0 | "newline" (see table below) |
| 6, 3 | GEntryReal | entryRealN | 6, 3, 0, 0 =>
"newline , gapleft 20 , split 2" 6, 3, 0, 1 => (null) 6, 3, 1 => "split 2" 6, 3, 2 => (null) |
| 6, 4 | GEntryReal | entryRealLon | 6, 4, 0, 0 =>
"newline , gapleft 20 , split 2" 6, 4, 0, 1 => (null) 6, 4, 1 => "split 2" 6, 4, 2 => (null) |
| Index | Class | Item | Constraint |
| 6, 2, 0 | GLabelWithIndicator | label | 6, 2, 0, 0
=> "newline , gapleft 20 , split 2" 6, 2, 0, 1 => (null) |
| 6, 2, 1 | GPDateField | dateField | "spanx 2 , split 5" |
| 6, 2, 2 | GPopupListWithLabel | popupListTimeScales | 6, 2, 2, 0, 0 => "split 4" 6, 2, 2, 0, 1 => (null) 6, 2, 2, 1 => (null) |
| 6, 2, 3 | GButton | buttonRelativeDate | (null) |
| Index | Class | Item | Constraint |
| 8, 0 | GLabelWithIndicator | label | 8, 0, 0 =>
"newline , gapleft 40 , split 2" 8, 0, 1 => (null) |
| 8, 1 | GButton | forcePivotButton | (null) |
| 8, 2 | GCheckBox | deactivateConversionsCheckbox | "newline , gapleft 60 , spanx 4" |
| 8, 3 | GComboBoxWithLabel | comboBoxRotationOrder | 8, 3, 0, 0 =>
"newline , gapleft 60 , split 2" 8, 3, 0, 1 => (null) 8, 3, 1 => (null) |
| 8, 4 | GEntryReal | entryRealPsi | 8, 4, 0, 0 =>
"newline , gapleft 60 , split 2" 8, 4, 0, 1 => (null) 8, 4, 1 => "split 2" 8, 4, 2 => (null) |
| 8, 5 | GEntryReal | entryRealTheta | 8, 5, 0, 0 =>
"newline , gapleft 60 , split 2" 8, 5, 0, 1 => (null) 8, 5, 1 => "split 2" 8, 5, 2 => (null) |
| 8, 6 | GEntryReal | entryRealPhi | 8, 6, 0, 0 =>
"newline , gapleft 60 , split 2" 8, 6, 0, 1 => (null) 8, 6, 1 => "split 2" 8, 6, 2 => (null) |
| Modifier and Type | Class and Description |
|---|---|
static class |
GPLOFAttitudeLaw.GPLOFTypes
Enumerate of available LOF types in the widget with their equivalent Patrius enumerate item.
|
GPSpinStabilizedAbstract.GPLawsEvolutionGPAttitudeLawAbstract.GPAttitudeLawWithEarthShapeANGLE_UNITS, ANGULAR_SPEED_UNITS, SUB_GAP| Constructor and Description |
|---|
GPLOFAttitudeLaw()
Empty constructor.The widgetId will be assigned automatically.
|
GPLOFAttitudeLaw(String label)
Creates a new instance.The widgetId will be assigned automatically.
|
GPLOFAttitudeLaw(String label,
fr.cnes.sirius.patrius.attitudes.LofOffset attitudeLaw)
Creates a new instance.
|
GPLOFAttitudeLaw(String widgetId,
String label)
Creates a new instance.
|
GPLOFAttitudeLaw(String widgetId,
String label,
fr.cnes.sirius.patrius.attitudes.LofOffset attitudeLaw)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
after(fr.cnes.genius.main.GEvent e) |
void |
before(fr.cnes.genius.main.GEvent e) |
void |
clear() |
void |
display() |
void |
generic() |
fr.cnes.genius.highLevel.GComboBoxWithLabel |
getComboBoxLofType()
Getter for the GComboBox to select the LOF type.
|
protected fr.cnes.sirius.patrius.math.geometry.euclidean.threed.Vector3D |
getDefaultPointingAxis()
Gets the pointing axis for the spin stabilized attitude law in case of comming from outside
the spin stabilized data.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckboxAngleBias()
Getter for the GCheckBox to select whether angle bias has to be shown or not.
|
fr.cnes.genius.lowLevel.GCheckBox |
getGCheckBoxExpertConfig()
Getter for the GCheckBox to select whether expert configuration has to be shown or not.
|
GPFrame |
getGPFramePseudoInertialFrame()
Getter for the GPFrame to define the pseudo inertial frame.
|
GPRotation |
getGPRotationAngleBias()
Getter for the GPRotation to set the angle bias.
|
fr.cnes.sirius.patrius.attitudes.AttitudeLaw |
getLaw()
Gets the PATRIUS attitude law object builded with MMI parameters.
|
fr.cnes.sirius.patrius.attitudes.AttitudeLaw |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
protected fr.cnes.sirius.patrius.math.geometry.euclidean.threed.Vector3D |
getPointingAxis()
Gets the pointing axis for the spin stabilized attitude law in case of comming from outside
the spin stabilized data.
|
protected fr.cnes.sirius.patrius.math.geometry.euclidean.threed.Vector3D |
getSavedPointingAxis()
Gets the pointing axis for the spin stabilized attitude law in case of comming from outside
the spin stabilized data.
|
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
boolean |
isModified() |
boolean |
isNativeAttitudeLaw(fr.cnes.sirius.patrius.attitudes.AttitudeLaw attLaw)
Method to check if an attitude law is an instance of this type.
|
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget.
|
void |
setDisplayExpertConfig(boolean display)
Sets whether the expert configuration is to be shown or not.
|
void |
setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
Controls the display of the isModified indicator of all sub-widgets.
|
void |
setEnabled(boolean flag) |
void |
setPseudoInertialFrame(fr.cnes.sirius.patrius.frames.Frame pseudoInertialFrame)
Set the frame to the pseudo inertial frame.
|
protected void |
setSubWidgetsDefaultValues(fr.cnes.sirius.patrius.attitudes.AttitudeLaw attitudeLaw)
Private method to set the default values to the sub-widgets related to the non-rotating law.
|
protected void |
setSubWidgetsSavedValues(fr.cnes.sirius.patrius.attitudes.AttitudeLaw attitudeLaw)
Private method to set the saved values to the sub-widgets related to the non-rotating law.
|
protected void |
setSubWidgetsValues(fr.cnes.sirius.patrius.attitudes.AttitudeLaw attitudeLaw)
Private method to set the values to the sub-widgets related to the non-rotating law.
|
void |
setWidgetId(String widgetId) |
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus) |
protected void |
updateIsModifiedIndicator() |
displaySpinStabilizedData, getAvailableLawEvolutions, getGCheckBoxOccultAxis, getGComboBoxLawEvolution, getGEntryRealSpinRate, getGLabelSpinData, getGPAxisCoordinatesSpinAxis, getGPDateOffsetSpinDelay, getGPLawEvolutionEnum, getGSeparator2, getReferenceDate, getSpinnedLaw, setAttitudeLaw, setAvailableLawEvolutions, setDefaultAttitudeLaw, setGPLawEvolutionEnum, setReferenceDate, setSavedAttitudeLawgetGLabelLawName, getGSeparator1, isEnabled, read, setDefaultConstraints, updateStatus, writeactivateConstraintsByType, attachCopyPasteMenu, 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, setWidth, setWindowBusyCursor, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItempublic GPLOFAttitudeLaw()
public GPLOFAttitudeLaw(String label)
label - for the widgetpublic GPLOFAttitudeLaw(String widgetId, String label)
widgetId - widget identifier, if null an identifier will be automatically created.label - for the widgetpublic GPLOFAttitudeLaw(String widgetId, String label, fr.cnes.sirius.patrius.attitudes.LofOffset attitudeLaw)
widgetId - widget identifier, if null an identifier will be automatically created.label - for the widgetattitudeLaw - attitude law to initialize the widgetpublic GPLOFAttitudeLaw(String label, fr.cnes.sirius.patrius.attitudes.LofOffset attitudeLaw)
label - for the widgetattitudeLaw - attitude law to initialize the widgetpublic void setWidgetId(String widgetId)
setWidgetId in class GPSpinStabilizedAbstractpublic fr.cnes.genius.highLevel.GComboBoxWithLabel getComboBoxLofType()
public fr.cnes.genius.lowLevel.GCheckBox getGCheckBoxExpertConfig()
public GPFrame getGPFramePseudoInertialFrame()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckboxAngleBias()
public GPRotation getGPRotationAngleBias()
public void setPseudoInertialFrame(fr.cnes.sirius.patrius.frames.Frame pseudoInertialFrame)
throws GPAttitudeException
pseudoInertialFrame - The frame to be set.GPAttitudeException - In case the of invalid frame.public void setConstraint(int widgetGap)
setConstraint in class GPSpinStabilizedAbstractwidgetGap - left gap from panel border to display the label of the widget.public void setDisplayExpertConfig(boolean display)
display - whether the expert configuration is to be shown or not.public void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplaydisplay in class GPAttitudeLawAbstractfr.cnes.genius.exception.GExceptionpublic void generic()
throws fr.cnes.genius.exception.GException
generic in class GPSpinStabilizedAbstractfr.cnes.genius.exception.GExceptionpublic fr.cnes.sirius.patrius.attitudes.AttitudeLaw getLaw()
throws GPAttitudeException
GPAttitudeException - if PatriusDataSet has not been initialized or if the pseudo
inertial Frame is not pseudo-inertial or if the spin start date is not definedpublic fr.cnes.sirius.patrius.attitudes.AttitudeLaw getPatriusObject()
throws GPAttitudeException
getPatriusObject in interface GPPatrius<fr.cnes.sirius.patrius.attitudes.AttitudeLaw>getPatriusObject in class GPAttitudeLawAbstractGPAttitudeException - if pseudoInertialFrame is not a pseudo-inertial frame or if
PatriusDataSet has not been initialized or if the spin start date is not defined.public void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearclear in class GPSpinStabilizedAbstractfr.cnes.genius.exception.GExceptionpublic void setEnabled(boolean flag)
setEnabled in class GPSpinStabilizedAbstractpublic boolean isNativeAttitudeLaw(fr.cnes.sirius.patrius.attitudes.AttitudeLaw attLaw)
isNativeAttitudeLaw in class GPAttitudeLawAbstractattLaw - input attitude law.protected void setSubWidgetsValues(fr.cnes.sirius.patrius.attitudes.AttitudeLaw attitudeLaw)
throws GPAttitudeException,
fr.cnes.genius.exception.GArithmeticException
setSubWidgetsValues in class GPSpinStabilizedAbstractattitudeLaw - PATRIUS attitude law. Must be of native type.GPAttitudeException - if the attitude law pseudo inertial frame is not available in the
widgetfr.cnes.genius.exception.GArithmeticException - if the angle bias rotation quaternion is not valid:protected void setSubWidgetsDefaultValues(fr.cnes.sirius.patrius.attitudes.AttitudeLaw attitudeLaw)
throws GPAttitudeException,
fr.cnes.genius.exception.GArithmeticException
setSubWidgetsDefaultValues in class GPSpinStabilizedAbstractattitudeLaw - PATRIUS attitude law. Must be of native type.GPAttitudeException - if the attitude law pseudo inertial frame is not available in the
widgetfr.cnes.genius.exception.GArithmeticException - if the angle bias rotation quaternion is not valid:protected void setSubWidgetsSavedValues(fr.cnes.sirius.patrius.attitudes.AttitudeLaw attitudeLaw)
throws GPAttitudeException,
fr.cnes.genius.exception.GArithmeticException
setSubWidgetsSavedValues in class GPSpinStabilizedAbstractattitudeLaw - PATRIUS attitude law. Must be of native type.GPAttitudeException - if the attitude law pseudo inertial frame is not available in the
widgetfr.cnes.genius.exception.GArithmeticException - if the angle bias rotation quaternion is not valid:public void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterfaceupdateCondensedStatus in class GPSpinStabilizedAbstractpublic void setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
setDisplayIsModifiedIndicatorAll in class GPSpinStabilizedAbstractdisplayIndicatorStatus - if Always the modifiedStatusIndicator is always shown, if Never
the modifiedStatusIndicator is never shown, if Automatic the modifiedStatusIndicator
is shown as needed.public boolean isModified()
isModified in class GPSpinStabilizedAbstractprotected void updateIsModifiedIndicator()
updateIsModifiedIndicator in class GPSpinStabilizedAbstractpublic fr.cnes.genius.main.GComponent getSubComponent(int position)
throws fr.cnes.genius.exception.GComponentException
getSubComponent in class GPSpinStabilizedAbstractfr.cnes.genius.exception.GComponentExceptionprotected fr.cnes.sirius.patrius.math.geometry.euclidean.threed.Vector3D getPointingAxis()
getPointingAxis in class GPSpinStabilizedAbstractprotected fr.cnes.sirius.patrius.math.geometry.euclidean.threed.Vector3D getDefaultPointingAxis()
throws GPAttitudeException
getDefaultPointingAxis in class GPSpinStabilizedAbstractGPAttitudeException - in case of any problem.protected fr.cnes.sirius.patrius.math.geometry.euclidean.threed.Vector3D getSavedPointingAxis()
throws GPAttitudeException
getSavedPointingAxis in class GPSpinStabilizedAbstractGPAttitudeException - in case of any problem.public 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.GListenerafter in class GPSpinStabilizedAbstractfr.cnes.genius.exception.GExceptionCopyright © 2025. All rights reserved.