public class GPVehicleAeroProps extends fr.cnes.genius.lowLevel.GPanel implements fr.cnes.genius.main.GReadWrite, fr.cnes.genius.main.GDisplay, fr.cnes.genius.main.GListener, fr.cnes.genius.main.GClear, fr.cnes.genius.main.GCondensedStatusInterface, GPPatriusWithObjects<fr.cnes.sirius.patrius.assembly.vehicle.AerodynamicProperties>
| Index | Class | Item | Constraint |
| 0 | GChoice | coeffsTypeChoice | 0, 0, 0 => "newline , gapleft 20 , split 2" 0, 0, 1 => (null) 0, 1 => "split" |
| 1 | GEntryReal | dragCoeffEntryReal | 1, 0, 0 =>
"newline , gapleft 20 , split 2" 1, 0, 1 => (null) 1, 1 => (null) |
| 2 | GEntryReal | liftCoeffEntryReal | 2, 0, 0 =>
"newline , gapleft 20 , split 2" 2, 0, 1 => (null) 2, 1 => (null) |
| 3 | GChoice | variableChoice | 3, 0, 0 => "newline , gapleft 20 , split 2" 3, 0, 1 => (null) 3, 1 => "split" |
| 4 | GPAeroCoeffByOneVar | altitudeTable1D | "newline , gapleft 20 , spanx 3" (see table below) |
| 5 | GPAeroCoeffByOneVar | aoATable1D | "newline , gapleft 20 , spanx 3" (see table below) |
| 6 | GPAeroCoeffByOneVar | machTable1D | "newline , gapleft 20 , spanx 3" (see table below) |
| 7 | GPAeroCoeffByTwoVar | aoAandMachTable2D | "newline , gapleft 20 , spanx 3"
(see table below) |
| Index | Class | Item | Constraint |
| 4, 0 | GLabelWithIndicator | title | 4, 0, 0 =>
"newline , split 2" 4, 0, 1 => "wrap" |
| 4, 1 | GEntryRealVector | altitudeRealVec | "newline" (see table below) |
| 4, 2 | GEntryRealVector | dragRealVec | "newline" (see table below) |
| 4, 3 | GEntryRealVector | liftRealVec | "newline" (see table below) |
| 4, 4 | GPopupList | popup_0 | (null) |
| 4, 5 | GPopupList | popup_1 | (null) |
| Index | Class | Item | Constraint |
| 4, 1, 0 | GLabelWithIndicator | label | 4, 1, 0, 0
=> "split 2 , alignx Center" 4, 1, 0, 1 => (null) |
| 4, 1, 1 | GRealField | field_1 | "newline" |
| 4, 1, 2 | GPopupList | unitPopup | "alignx Center , cell 0 2" |
| Index | Class | Item | Constraint |
| 4, 2, 0 | GLabelWithIndicator | label | 4, 2, 0, 0 =>
"split 2 , alignx Center" 4, 2, 0, 1 => (null) |
| 4, 2, 1 | GRealField | field_1 | "" |
| Index | Class | Item | Constraint |
| 4, 3, 0 | GLabelWithIndicator | label | 4, 3, 0, 0 =>
"split 2 , alignx Center" 4, 3, 0, 1 => (null) |
| 4, 3, 1 | GRealField | field_1 | "" |
| Index | Class | Item | Constraint |
| 5, 0 | GLabelWithIndicator | title | 5, 0, 0 =>
"newline , split 2" 5, 0, 1 => "wrap" |
| 5, 1 | GEntryRealVector | aoARealVec | "newline" (see table below) |
| 5, 2 | GEntryRealVector | dragRealVec | "newline" (see table below) |
| 5, 3 | GEntryRealVector | liftRealVec | "newline" (see table below) |
| 5, 4 | GPopupList | popup_0 | (null) |
| 5, 5 | GPopupList | popup_1 | (null) |
| Index | Class | Item | Constraint |
| 5, 1, 0 | GLabelWithIndicator | label | 5, 1, 0, 0 =>
"split 2 , alignx Center" 5, 1, 0, 1 => (null) |
| 5, 1, 1 | GRealField | field_1 | "newline" |
| 5, 1, 2 | GPopupList | unitPopup | "alignx Center , cell 0 2" |
| Index | Class | Item | Constraint |
| 5, 2, 0 | GLabelWithIndicator | label | 5, 2, 0, 0 =>
"split 2 , alignx Center" 5, 2, 0, 1 => (null) |
| 5, 2, 1 | GRealField | field_1 | "" |
| Index | Class | Item | Constraint |
| 5, 3, 0 | GLabelWithIndicator | label | 5, 3, 0, 0 =>
"split 2 , alignx Center" 5, 3, 0, 1 => (null) |
| 5, 3, 1 | GRealField | field_1 | "" |
| Index | Class | Item | Constraint |
| 6, 0 | GLabelWithIndicator | title | 6, 0, 0 =>
"newline , split 2" 6, 0, 1 => "wrap" |
| 6, 1 | GEntryRealVector | machRealVec | "newline" (see table below) |
| 6, 2 | GEntryRealVector | dragRealVec | "newline" (see table below) |
| 6, 3 | GEntryRealVector | liftRealVec | "newline" (see table below) |
| 6, 4 | GPopupList | popup_0 | (null) |
| 6, 5 | GPopupList | popup_1 | (null) |
| Index | Class | Item | Constraint |
| 6, 1, 0 | GLabelWithIndicator | label | 6, 1, 0, 0 =>
"split 2 , alignx Center" 6, 1, 0, 1 => (null) |
| 6, 1, 1 | GRealField | field_1 | "newline" |
| Index | Class | Item | Constraint |
| 6, 2, 0 | GLabelWithIndicator | label | 6, 2, 0, 0 =>
"split 2 , alignx Center" 6, 2, 0, 1 => (null) |
| 6, 2, 1 | GRealField | field_1 | "" |
| Index | Class | Item | Constraint |
| 6, 3, 0 | GLabelWithIndicator | label | 6, 3, 0, 0 =>
"split 2 , alignx Center" 6, 3, 0, 1 => (null) |
| 6, 3, 1 | GRealField | field_1 | "" |
| Index | Class | Item | Constraint |
| 7, 0 | GChoice | aoAandMachCoeffChoice | 7, 0,
0, 0 => "newline , gapleft 0 , split 2" 7, 0, 0, 1 => (null) 7, 0, 1 => "split" |
| 7, 1 | GTable2D | aoAandMachCxTable2D | "newline , gapleft 0 , spanx 3" (see table below) |
| 7, 2 | GTable2D | aoAandMachCzTable2D | "newline , gapleft 0 , spanx 3" (see table below) |
| Index | Class | Item | Constraint |
| 7, 1, 0 | GLabel | dataLabel | "newline , spanx 2 , alignx Center" |
| 7, 1, 1 | GLabel | columnHeaderLabel | "newline , spanx 2 , split 2 , alignx Center" |
| 7, 1, 2 | GLabel | rowHeaderLabel | "newline , aligny Center" |
| 7, 1, 3 | GTable | table | "wmax 450 , hmax 200" |
| Index | Class | Item | Constraint |
| 7, 2, 0 | GLabel | dataLabel | "newline , spanx 2 , alignx Center" |
| 7, 2, 1 | GLabel | columnHeaderLabel | "newline , spanx 2 , split 2 , alignx Center" |
| 7, 2, 2 | GLabel | rowHeaderLabel | "newline , aligny Center" |
| 7, 2, 3 | GTable | table | "wmax 450 , hmax 200" |
| Modifier and Type | Class and Description |
|---|---|
static class |
GPVehicleAeroProps.AeroCoeffAsFunctionOfTypes
Enum of available variables to define aerodynamic coefficients as function of the spacecraft
state parameters.
|
static class |
GPVehicleAeroProps.AeroCoeffTypes
Enum of available aerodynamic coefficients types.
|
fr.cnes.genius.lowLevel.GPanel.Panel, fr.cnes.genius.lowLevel.GPanel.ScrollBarVisibilityfr.cnes.genius.main.GComponent.CopyPasteOperation, fr.cnes.genius.main.GComponent.DisplayIndicatorStatus, fr.cnes.genius.main.GComponent.ItemType, fr.cnes.genius.main.GComponent.OperationGPPatriusWithObjects.ArgsChecker| Constructor and Description |
|---|
GPVehicleAeroProps()
Creates a Empty constructor.The widget identifier will be automatically created
|
GPVehicleAeroProps(String widgetId,
String name,
fr.cnes.sirius.patrius.assembly.vehicle.AerodynamicProperties aeroProp,
boolean showExpertCoeffSettings)
Creates a new instance.
|
GPVehicleAeroProps(String widgetId,
String name,
boolean showExpertCoeffSettings)
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.sirius.patrius.forces.atmospheres.Atmosphere |
getAtmosphere()
Getter for the atmosphere.
|
fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid |
getEarthShape()
Getter for the Earth shape.
|
fr.cnes.genius.highLevel.GChoice |
getGChoiceCoeffsType()
Getter for the choice with the type of coefficients.
|
fr.cnes.genius.highLevel.GChoice |
getGChoiceVariable()
Getter for the choice with the variable.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealDragCoeff()
Getter for the entry real to set the drag coefficient.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealLiftCoeff()
Getter for the entry real to set the lift coefficient.
|
GPAeroCoeffByTwoVar |
getGPCoeffByTwoVarAoAandMach()
Getter for the widget to set the coefficients as a function of angle of attack and mach
number.
|
fr.cnes.genius.highLevel.GTable1D |
getGTable1DAltitude()
Getter for the table 1D to set the coefficients as a function of altitude.
|
fr.cnes.genius.highLevel.GTable1D |
getGTable1DAoA()
Getter for the table 1D to set the coefficients as a function of angle of attack.
|
fr.cnes.genius.highLevel.GTable1D |
getGTable1DMach()
Getter for the table 1D to set the coefficients as a function of mach number.
|
fr.cnes.sirius.patrius.assembly.vehicle.AerodynamicProperties |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.sirius.patrius.assembly.vehicle.AerodynamicProperties |
getPatriusObject(Object... args)
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
fr.cnes.sirius.patrius.assembly.vehicle.VehicleSurfaceModel |
getSurfaceModel()
Method to get the vehicle surface model that will allow to display/write/read expert settings
for a tabulated sphere without solar panels, and to get the aerodynamic properties.
|
boolean |
isEnabled() |
boolean |
isModified() |
void |
read() |
void |
setAerodynamicProperties(fr.cnes.sirius.patrius.assembly.vehicle.AerodynamicProperties aeroProp)
Setter for the aerodynamic property.
|
void |
setAtmosphere(fr.cnes.sirius.patrius.forces.atmospheres.Atmosphere atmosphere)
Setter for the atmosphere.
|
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget.
|
void |
setDefaultAerodynamicProperties(fr.cnes.sirius.patrius.assembly.vehicle.AerodynamicProperties aeroProp)
Setter for the default aerodynamic property.
|
void |
setDefaultConstraints()
Setter for the default constraint of the widget.
|
void |
setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
Controls the display of the isModified indicator of all sub-widgets.
|
void |
setEarthShape(fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid earthShape)
Setter for the Earth shape.
|
void |
setEnabled(boolean b) |
void |
setSavedAerodynamicProperties(fr.cnes.sirius.patrius.assembly.vehicle.AerodynamicProperties aeroProp)
Setter for the saved aerodynamic property.
|
void |
setSurfaceModel(fr.cnes.sirius.patrius.assembly.vehicle.VehicleSurfaceModel vehicleSurfaceModel)
Method to set the vehicle surface model that will allow to display/write/read expert settings
for a tabulated sphere without solar panels, and to get the aerodynamic properties.
|
void |
setWidgetId(String widgetId) |
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus) |
protected void |
updateIsModifiedIndicator() |
void |
write() |
clearConstraint, getClassConstraint, getComponent, getHorizontalScroll, getInnerDescendantClassConstraint, getJPanel, getJScrollPane, getLayoutConstraints, getStringClassConstraint, getVerticalScroll, mainClear, mainDisplay, processMouseWheelEvent, put, setClassConstraint, setColumnConstraints, setConstraint, setHorizontalScroll, setInnerDescendantClassConstraint, setLayoutConstraints, setMargins, setPanelConstraints, setPreferredSize, setRowConstraints, setUnitIncrement, setVerticalScroll, unputactivateConstraintsByType, attachCopyPasteMenu, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, 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, setBusyCursor, setCommentInConfigFile, 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 GPVehicleAeroProps()
public GPVehicleAeroProps(String widgetId, String name, boolean showExpertCoeffSettings)
widgetId - widget identifier, if null an identifier will be automatically createdname - name in configuration fileshowExpertCoeffSettings - if true tabulated coefficients appear too for sphere shape
without solar panelspublic GPVehicleAeroProps(String widgetId, String name, fr.cnes.sirius.patrius.assembly.vehicle.AerodynamicProperties aeroProp, boolean showExpertCoeffSettings) throws fr.cnes.sirius.patrius.utils.exception.PatriusException
widgetId - widget identifier, if null an identifier will be automatically createdname - name in configuration fileaeroProp - aerodynamic propertyshowExpertCoeffSettings - if true tabulated coefficients appear too for sphere shape
without solar panelsfr.cnes.sirius.patrius.utils.exception.PatriusException - if aero coeffs are inconsistentpublic void setWidgetId(String widgetId)
setWidgetId in class fr.cnes.genius.main.GComponentpublic void setDefaultConstraints()
setDefaultConstraints in class fr.cnes.genius.lowLevel.GPanelpublic void setConstraint(int widgetGap)
widgetGap - left gap from panel border to display the label of the widget.public fr.cnes.sirius.patrius.assembly.vehicle.VehicleSurfaceModel getSurfaceModel()
public void setSurfaceModel(fr.cnes.sirius.patrius.assembly.vehicle.VehicleSurfaceModel vehicleSurfaceModel)
getPatriusObject(), display() , read() and
write() methods.vehicleSurfaceModel - vehicle surface model.public fr.cnes.genius.highLevel.GChoice getGChoiceCoeffsType()
public fr.cnes.genius.highLevel.GChoice getGChoiceVariable()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealDragCoeff()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealLiftCoeff()
public fr.cnes.genius.highLevel.GTable1D getGTable1DAltitude()
public fr.cnes.genius.highLevel.GTable1D getGTable1DAoA()
public fr.cnes.genius.highLevel.GTable1D getGTable1DMach()
public GPAeroCoeffByTwoVar getGPCoeffByTwoVarAoAandMach()
public void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GExceptionpublic void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GPanelfr.cnes.genius.exception.GExceptionpublic void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplayfr.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 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 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 fr.cnes.sirius.patrius.assembly.vehicle.AerodynamicProperties getPatriusObject()
throws GPVehicleException
getPatriusObject in interface GPPatrius<fr.cnes.sirius.patrius.assembly.vehicle.AerodynamicProperties>GPVehicleException - if the main part shape is undefinedpublic fr.cnes.sirius.patrius.assembly.vehicle.AerodynamicProperties getPatriusObject(Object... args) throws fr.cnes.genius.exception.GException
getPatriusObject in interface GPPatriusWithObjects<fr.cnes.sirius.patrius.assembly.vehicle.AerodynamicProperties>args - The parameters are 0: CustomVehicleSurfaceModel, 1: OneAxisEllipsoid, 2:
Atmosphere.fr.cnes.genius.exception.GException - if the PATRIUS object cannot be created from the widget data.public void setAerodynamicProperties(fr.cnes.sirius.patrius.assembly.vehicle.AerodynamicProperties aeroProp)
throws GPVehicleException,
fr.cnes.genius.exception.GArithmeticException,
fr.cnes.sirius.patrius.utils.exception.PatriusException
aeroProp - aerodynamic propertyGPVehicleException - in case of problem with the aerodynamic property.fr.cnes.genius.exception.GArithmeticException - if aero coeffs are constant and NaN dans aeroProp.fr.cnes.sirius.patrius.utils.exception.PatriusException - if aero coeffs are inconsistentpublic void setDefaultAerodynamicProperties(fr.cnes.sirius.patrius.assembly.vehicle.AerodynamicProperties aeroProp)
throws GPVehicleException,
fr.cnes.genius.exception.GArithmeticException,
fr.cnes.sirius.patrius.utils.exception.PatriusException
aeroProp - default aerodynamic property.GPVehicleException - in case of problem with the aerodynamic property.fr.cnes.genius.exception.GArithmeticException - if aero coeffs are constant and NaN dans aeroProp.fr.cnes.sirius.patrius.utils.exception.PatriusException - if aero coeffs are inconsistentpublic void setSavedAerodynamicProperties(fr.cnes.sirius.patrius.assembly.vehicle.AerodynamicProperties aeroProp)
throws GPVehicleException,
fr.cnes.genius.exception.GArithmeticException,
fr.cnes.sirius.patrius.utils.exception.PatriusException
aeroProp - saved aerodynamic propertyGPVehicleException - in case of problem with the aerodynamic property.fr.cnes.genius.exception.GArithmeticException - if aero coeffs are constant and NaN dans aeroProp.fr.cnes.sirius.patrius.utils.exception.PatriusException - if aero coeffs are inconsistentpublic void setEarthShape(fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid earthShape)
throws fr.cnes.genius.exception.GArithmeticException
earthShape - the Earth's shapefr.cnes.genius.exception.GArithmeticException - if equatorial radius or flatness in earthShape are NaNpublic fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid getEarthShape()
public void setAtmosphere(fr.cnes.sirius.patrius.forces.atmospheres.Atmosphere atmosphere)
atmosphere - the atmospherepublic fr.cnes.sirius.patrius.forces.atmospheres.Atmosphere getAtmosphere()
public void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterfacepublic boolean isEnabled()
isEnabled in class fr.cnes.genius.main.GComponentpublic void setEnabled(boolean b)
setEnabled in class fr.cnes.genius.main.GComponentpublic boolean isModified()
isModified in class fr.cnes.genius.main.GComponentpublic void setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
displayIndicatorStatus - if Always the modifiedStatusIndicator is always shown, if Never
the modifiedStatusIndicator is never shown, if Automatic the modifiedStatusIndicator
is shown as needed.protected void updateIsModifiedIndicator()
updateIsModifiedIndicator in class fr.cnes.genius.main.GComponentpublic 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.GComponentExceptionCopyright © 2025. All rights reserved.