public class GPRadiativeProperty extends GPRadiativePropertyAbstract implements GPPatrius<fr.cnes.sirius.patrius.assembly.properties.RadiativeProperty>
Index | Class | Item | Constraint |
0 | GLabelWithIndicator | label | 0, 0 => "newline , gapleft 0 , split 2" 0, 1 => (null) |
1 | GEntryReal | diffuseCoefEntryReal | 1, 0, 0 =>
"newline , gapleft 20 , split 2" 1, 0, 1 => (null) 1, 1 => (null) |
2 | GEntryReal | specularCoefEntryReal | 2, 0, 0 => "newline , gapleft 20 , split 2" 2, 0, 1 => (null) 2, 1 => (null) |
3 | GEntryReal | diffuseCoefEntryReal | 3, 0, 0 => "newline , gapleft 20 , split 2" 3, 0, 1 => (null) 3, 1 => (null) |
Constructor and Description |
---|
GPRadiativeProperty(String widgetId,
String label)
Creates a new instance.
|
GPRadiativeProperty(String widgetId,
String label,
fr.cnes.sirius.patrius.assembly.properties.RadiativeProperty radiativeProperty)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
double |
getAbsorptionRatio()
Get absorption coefficient.
|
double |
getDiffuseReflectionRatio()
Get diffuse coefficient.
|
fr.cnes.sirius.patrius.assembly.properties.RadiativeProperty |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
double |
getSpecularReflectionRatio()
Get specular coefficient.
|
void |
setDefaultValue(fr.cnes.sirius.patrius.assembly.properties.RadiativeProperty radiativeProperty)
Setter for the default radiative property.
|
void |
setSavedValue(fr.cnes.sirius.patrius.assembly.properties.RadiativeProperty radiativeProperty)
Setter for the saved radiative property.
|
void |
setValue(fr.cnes.sirius.patrius.assembly.properties.RadiativeProperty radiativeProperty)
Setter for the radiative property.
|
after, attachCopyPasteMenu, before, clear, display, generic, getGEntryRealAbsCoeff, getGEntryRealDifCoeff, getGEntryRealSpcCoeff, getGLabel, getSubComponent, isEnabled, isModified, read, setConstraint, setDefaultConstraints, setDisplayIsModifiedIndicatorAll, setEnabled, setNameInConfigFile, setWidgetId, 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, getName, getNameInConfigFile, getOperationSaveValue, getPathInConfigFile, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, isForcedStatus, launchInvalidPositionException, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setNameAndCommentInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidth, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem
public GPRadiativeProperty(String widgetId, String label, fr.cnes.sirius.patrius.assembly.properties.RadiativeProperty radiativeProperty)
widgetId
- widget identifier, if null an identifier will be automatically createdlabel
- widget labelradiativeProperty
- initial radiative propertypublic fr.cnes.sirius.patrius.assembly.properties.RadiativeProperty getPatriusObject()
getPatriusObject
in interface GPPatrius<fr.cnes.sirius.patrius.assembly.properties.RadiativeProperty>
public void setValue(fr.cnes.sirius.patrius.assembly.properties.RadiativeProperty radiativeProperty) throws fr.cnes.genius.exception.GArithmeticException
radiativeProperty
- radiative propertyfr.cnes.genius.exception.GArithmeticException
- if any of the radiative coefficients in radiativeProperty is NaN.public void setDefaultValue(fr.cnes.sirius.patrius.assembly.properties.RadiativeProperty radiativeProperty) throws fr.cnes.genius.exception.GArithmeticException
radiativeProperty
- default radiative property.fr.cnes.genius.exception.GArithmeticException
- if any of the radiative coefficients in radiativeProperty is NaN.public void setSavedValue(fr.cnes.sirius.patrius.assembly.properties.RadiativeProperty radiativeProperty) throws fr.cnes.genius.exception.GArithmeticException
radiativeProperty
- saved radiative propertyfr.cnes.genius.exception.GArithmeticException
- if any of the radiative coefficients in radiativeProperty is NaN.public double getAbsorptionRatio()
public double getSpecularReflectionRatio()
public double getDiffuseReflectionRatio()
Copyright © 2018. All rights reserved.