|
||||||||||
| 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.GPanel
fr.cnes.genopus.vehicle.GPVehicleAeroProps
public class GPVehicleAeroProps
Widget for expert aerodynamic coefficients.
| 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" |
| Nested Class Summary | |
|---|---|
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. |
| Nested classes/interfaces inherited from class fr.cnes.genius.lowLevel.GPanel |
|---|
fr.cnes.genius.lowLevel.GPanel.Panel, fr.cnes.genius.lowLevel.GPanel.ScrollBarVisibility |
| 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 |
| Nested classes/interfaces inherited from interface fr.cnes.genopus.main.GPPatriusWithObjects |
|---|
GPPatriusWithObjects.ArgsChecker |
| Field Summary |
|---|
| Fields inherited from class fr.cnes.genius.main.GComponent |
|---|
NAME_ATTRIBUTE |
| Constructor Summary | |
|---|---|
GPVehicleAeroProps(String widgetId,
String name,
boolean showExpertCoeffSettings)
Creates a new instance. |
|
GPVehicleAeroProps(String widgetId,
String name,
CustomAerodynamicProperties aeroProp,
boolean showExpertCoeffSettings)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
after(fr.cnes.genius.main.GEvent e)
|
void |
before(fr.cnes.genius.main.GEvent e)
|
void |
clear()
|
void |
display()
|
void |
generic()
|
org.orekit.forces.atmospheres.Atmosphere |
getAtmosphere()
Getter for the atmosphere. |
org.orekit.bodies.ExtendedOneAxisEllipsoid |
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. |
CustomAerodynamicProperties |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget. |
CustomAerodynamicProperties |
getPatriusObject(Object... args)
Returns the PATRIUS object associated to a GENOPUS widget. |
fr.cnes.genius.main.GComponent |
getSubComponent(int position)
|
CustomVehicleSurfaceModel |
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(CustomAerodynamicProperties aeroProp)
Setter for the aerodynamic property. |
void |
setAtmosphere(org.orekit.forces.atmospheres.Atmosphere atmosphere)
Setter for the atmosphere. |
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget. |
void |
setDefaultAerodynamicProperties(CustomAerodynamicProperties aeroProp)
Setter for the default aerodynamic property. |
void |
setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
Controls the display of the isModified indicator of all sub-widgets. |
void |
setEarthShape(org.orekit.bodies.ExtendedOneAxisEllipsoid earthShape)
Setter for the Earth shape. |
void |
setEnabled(boolean b)
|
void |
setSavedAerodynamicProperties(CustomAerodynamicProperties aeroProp)
Setter for the saved aerodynamic property. |
void |
setSurfaceModel(CustomVehicleSurfaceModel 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()
|
| Methods inherited from class fr.cnes.genius.lowLevel.GPanel |
|---|
getClassConstraint, getComponent, getHorizontalScroll, getInnerDescendantClassConstraint, getJPanel, getJScrollPane, getStringClassConstraint, getVerticalScroll, mainClear, mainDisplay, put, setClassConstraint, setColumnConstraints, setHorizontalScroll, setInnerDescendantClassConstraint, setLayoutConstraints, setPreferredSize, setRowConstraints, setVerticalScroll |
| Methods inherited from class fr.cnes.genius.main.GComponent |
|---|
activateConstraintsByType, attachCopyPasteMenu, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, 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, 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 |
| Constructor Detail |
|---|
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 panels
public GPVehicleAeroProps(String widgetId,
String name,
CustomAerodynamicProperties aeroProp,
boolean showExpertCoeffSettings)
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 panels| Method Detail |
|---|
public void setWidgetId(String widgetId)
setWidgetId in class fr.cnes.genius.main.GComponentpublic void setConstraint(int widgetGap)
widgetGap - left gap from panel border to display the label of the widget.public CustomVehicleSurfaceModel getSurfaceModel()
public void setSurfaceModel(CustomVehicleSurfaceModel vehicleSurfaceModel)
#getPatriusObject(ExtendedOneAxisEllipsoid), 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.GException
public void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GPanelfr.cnes.genius.exception.GException
public void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplayfr.cnes.genius.exception.GException
public void read()
throws fr.cnes.genius.exception.GException
read in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GException
public void write()
throws fr.cnes.genius.exception.GException
write in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GException
public 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.GException
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.GException
public CustomAerodynamicProperties getPatriusObject()
throws GPVehicleException
getPatriusObject in interface GPPatrius<CustomAerodynamicProperties>GPVehicleException - if the main part shape is undefined
public CustomAerodynamicProperties getPatriusObject(Object... args)
throws fr.cnes.genius.exception.GException
getPatriusObject in interface GPPatriusWithObjects<CustomAerodynamicProperties>args - The parameters are 0: VehicleSurfaceModel, 1: ExtendedOneAxisEllipsoid, 2: Atmosphere.
fr.cnes.genius.exception.GException - if the PATRIUS object cannot be created from the widget data.
public void setAerodynamicProperties(CustomAerodynamicProperties aeroProp)
throws GPVehicleException
aeroProp - aerodynamic property
GPVehicleException - in case of problem with the aerodynamic property.
public void setDefaultAerodynamicProperties(CustomAerodynamicProperties aeroProp)
throws GPVehicleException
aeroProp - default aerodynamic property.
GPVehicleException - in case of problem with the aerodynamic property.
public void setSavedAerodynamicProperties(CustomAerodynamicProperties aeroProp)
throws GPVehicleException
aeroProp - saved aerodynamic property
GPVehicleException - in case of problem with the aerodynamic property.public void setEarthShape(org.orekit.bodies.ExtendedOneAxisEllipsoid earthShape)
earthShape - the Earth's shapepublic org.orekit.bodies.ExtendedOneAxisEllipsoid getEarthShape()
public void setAtmosphere(org.orekit.forces.atmospheres.Atmosphere atmosphere)
atmosphere - the atmospherepublic org.orekit.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.GComponent
public 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.GComponentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||