Public Member Functions | |
GrxSegmentItem (String name, GrxPluginManager manager_, GrxModelItem model_, LinkInfo linkInfo, SegmentInfo segmentInfo) | |
boolean | propertyChanged (String property, String value) |
check validity of new value of property and update if valid | |
void | setFocused (boolean b) |
set/unset focus on this plugin | |
Public Attributes | |
double[] | centerOfMass_ |
double | mass_ |
double[] | momentOfInertia_ |
Private Member Functions | |
void | _updateScaleOfBall () |
void | centerOfMass (double[] centerOfMass) |
void | mass (double mass) |
void | momentOfInertia (double[] inertia) |
Private Attributes | |
Switch | switchCom_ |
TransformGroup | tgCom_ |
Definition at line 19 of file GrxSegmentItem.java.
com.generalrobotix.ui.item.GrxSegmentItem.GrxSegmentItem | ( | String | name, |
GrxPluginManager | manager_, | ||
GrxModelItem | model_, | ||
LinkInfo | linkInfo, | ||
SegmentInfo | segmentInfo | ||
) | [inline] |
Definition at line 27 of file GrxSegmentItem.java.
void com.generalrobotix.ui.item.GrxSegmentItem._updateScaleOfBall | ( | ) | [inline, private] |
Definition at line 113 of file GrxSegmentItem.java.
void com.generalrobotix.ui.item.GrxSegmentItem.centerOfMass | ( | double[] | centerOfMass | ) | [inline, private] |
Definition at line 71 of file GrxSegmentItem.java.
void com.generalrobotix.ui.item.GrxSegmentItem.mass | ( | double | mass | ) | [inline, private] |
Definition at line 56 of file GrxSegmentItem.java.
void com.generalrobotix.ui.item.GrxSegmentItem.momentOfInertia | ( | double[] | inertia | ) | [inline, private] |
Definition at line 63 of file GrxSegmentItem.java.
boolean com.generalrobotix.ui.item.GrxSegmentItem.propertyChanged | ( | String | property, |
String | value | ||
) | [inline] |
check validity of new value of property and update if valid
property | name of property |
value | value of property |
Reimplemented from com.generalrobotix.ui.GrxBasePlugin.
Definition at line 82 of file GrxSegmentItem.java.
void com.generalrobotix.ui.item.GrxSegmentItem.setFocused | ( | boolean | b | ) | [inline] |
set/unset focus on this plugin
b | true to focus, false to unfocus |
Reimplemented from com.generalrobotix.ui.item.GrxTransformItem.
Definition at line 106 of file GrxSegmentItem.java.
Definition at line 21 of file GrxSegmentItem.java.
Definition at line 20 of file GrxSegmentItem.java.
Definition at line 22 of file GrxSegmentItem.java.
Switch com.generalrobotix.ui.item.GrxSegmentItem.switchCom_ [private] |
Definition at line 24 of file GrxSegmentItem.java.
TransformGroup com.generalrobotix.ui.item.GrxSegmentItem.tgCom_ [private] |
Definition at line 25 of file GrxSegmentItem.java.