Public Member Functions | |
Vector3d | absCoM () |
compute CoM in global frame More... | |
Transform3D | absTransform () |
void | absTransform (double[] p, double[] R) |
void | addLink (String name) |
create and add a new link as a child More... | |
void | addLink (GrxLinkItem child) |
add a child link More... | |
void | addRobot (File f) |
load and add a new robot as a child More... | |
void | addSegment (String name) |
create and add a new sensor as a child More... | |
void | addSensor (String name) |
create and add a new sensor as a child More... | |
void | addSensor (GrxSensorItem sensor) |
add a sensor as a child More... | |
void | calcForwardKinematics () |
compute forward kinematics More... | |
boolean | centerOfMass (double [] com) |
set CoM position More... | |
void | centerOfMass (String value) |
set CoM position from string More... | |
void | clearAABB () |
GrxLinkItem | clone () |
Override clone method. More... | |
void | delete () |
void | encoderPulse (double e) |
void | encoderPulse (String e) |
void | gearRatio (double r) |
void | gearRatio (String g) |
ValueEditType | GetValueEditType (String key) |
boolean | inertia (double [] newI) |
set inertia matrix More... | |
void | inertia (String i) |
void | jointAxis (double[] newAxis) |
set joint axis More... | |
void | jointId (short id) |
set joint id More... | |
void | jointId (String value) |
void | jointType (String type) |
set joint type More... | |
void | jointValue (double jv) |
set new joint value More... | |
boolean | jointValue (String value) |
set joint value from string More... | |
void | llimit (double[] l) |
void | llimit (String l) |
double [] | localRotation () |
boolean | localRotation (double[] rot) |
boolean | localRotation (String value) |
double [] | localTranslation () |
boolean | localTranslation (double[] pos) |
boolean | localTranslation (String value) |
void | lvlimit (double[] lv) |
void | lvlimit (String lv) |
void | makeAABB (ShapeInfo shape, double[] T) |
void | mass (double m) |
set mass from string More... | |
boolean | mass (String value) |
void | modifyCenterOfMass () |
void | modifyInertia () |
void | modifyMass () |
boolean | propertyChanged (String property, String value) |
check validity of new value of property and update if valid More... | |
void | removeSensor (GrxSensorItem sensor) |
void | rename (String newName) |
rename this Link More... | |
void | restoreColor () |
void | rotorInertia (double r) |
void | rotorResistor (double r) |
void | rotorResistor (String r) |
void | setColor (java.awt.Color color) |
void | setFocused (boolean b) |
set/unset fucus on this item More... | |
void | setJointValuesWithinLimit () |
limit joint value within limits recursively More... | |
void | setTransform (Vector3d pos, Matrix3d rot) |
set new position and rotation in global frame More... | |
void | setTransform (Transform3D trans) |
set new position and rotation in global frame More... | |
void | setVisibleAABB (boolean b) |
void | torqueConst (double t) |
void | torqueConst (String t) |
void | ulimit (double[] u) |
void | ulimit (String u) |
void | uvlimit (double[] uv) |
void | uvlimit (String uv) |
Public Member Functions inherited from com.generalrobotix.ui.item.GrxTransformItem | |
GrxTransformItem (String name, GrxPluginManager manager, GrxModelItem model) | |
void | addChild (GrxTransformItem child) |
add a child More... | |
void | removeChild (GrxTransformItem child) |
remove a child from children More... | |
void | delete () |
delete this item and children More... | |
GrxModelItem | model () |
get model item to which this item belongs More... | |
void | setFocused (boolean b) |
void | gatherSensors (String type, List< GrxSensorItem > sensors) |
Vector3d | transformV3 (Vector3d v) |
Switch | getBBSwitch () |
Public Member Functions inherited from com.generalrobotix.ui.GrxBaseItem | |
File | chooseSaveFile () |
GrxBaseItem | clone () |
Override clone method. More... | |
boolean | create () |
void | delete () |
delete this item More... | |
File | getDefaultDir () |
get default directory More... | |
String | getFileExtention () |
get file extension More... | |
Object | getValue () |
boolean | load (File file) |
void | paste (String clipVal) |
paste object More... | |
void | setValue (Object o) |
Public Member Functions inherited from com.generalrobotix.ui.GrxBasePlugin | |
void | addObserver (GrxObserver v) |
GrxBasePlugin | clone () |
Override clone method. More... | |
void | deleteObserver (GrxObserver v) |
boolean | equals (Object obj) |
check whether obj equals to this More... | |
Element | getElement () |
get element More... | |
Image | getIcon () |
get icon More... | |
Vector< Action > | getMenu () |
get menu More... | |
String [] | getMenuPath () |
get menu path More... | |
final String | getName () |
get name More... | |
ArrayList< GrxObserver > | getObserver () |
String | getOldName () |
Vector< MenuManager > | getSubMenu () |
get subMenu More... | |
String | getURL (boolean expand) |
ValueEditType | GetValueEditType (String key) |
Return editing type of the key item. More... | |
boolean | isExclusive () |
check whether this is exclusive or not More... | |
boolean | isSelected () |
check whether this is selected or not More... | |
void | notifyObservers (Object... arg) |
boolean | propertyChanged (String property, String value) |
check validity of new value of property and update if valid More... | |
boolean | registerCORBA () |
void | rename (String newName) |
rename this item More... | |
void | restoreProperties () |
restore properties. Called by menu item "restore Properties" More... | |
void | setDocument (Document doc) |
set document More... | |
void | setElement (Element element) |
set element More... | |
void | setExclusive (boolean b) |
set exclusive flag More... | |
void | setFocused (boolean b) |
set/unset focus on this plugin More... | |
void | setMenuItem (Action a) |
add a menu item More... | |
void | setName (String name) |
set name More... | |
Object | setProperty (String key, String value) |
set property value associated with a keyword More... | |
void | setSelected (boolean b) |
set selected flag More... | |
void | setSubMenu (MenuManager m) |
add a submenu More... | |
void | setURL (String url) |
set URL property More... | |
void | shutdown () |
Element | storeProperties () |
store properties More... | |
final String | toString () |
convert to String. Currently, name is returned. More... | |
void | unregisterCORBA () |
Public Member Functions inherited from com.generalrobotix.ui.util.GrxConfigBundle | |
final Double | getDbl (String key, Double defaultVal) |
get double value associated to key More... | |
Double | getDbl (String value) |
final double [] | getDblAry (String key, double[] defaultVal) |
get double array associated to key More... | |
double [] | getDblAry (String value) |
get array of double from String More... | |
final Float | getFlt (String key, Float defaultVal) |
get float value associated to key More... | |
final Float | getFlt (String value) |
final float [] | getFltAry (String key, float[] defaultVal) |
get float array associated to key More... | |
float [] | getFltAry (String value) |
final Integer | getInt (String key, Integer defaultVal) |
get integer value associated to key More... | |
final int [] | getIntAry (String key) |
get integer array associated to key More... | |
final Short | getShort (String key, Short defaultVal) |
get short value associated to key More... | |
Short | getShort (String value) |
final String | getStr (String key) |
get value associated to keyword More... | |
final String | getStr (String key, String defaultVal) |
get value associated to key More... | |
GrxConfigBundle () | |
constructor More... | |
GrxConfigBundle (String fname) throws IOException | |
construct from a file More... | |
final boolean | isFalse (String key) |
check whether value associated to key includes a word "false" More... | |
final boolean | isFalse (String key, boolean defaultVal) |
check whether value associated to key includes a word "false" More... | |
final boolean | isTrue (String key) |
check whether value associated to key includes a word "true" More... | |
final boolean | isTrue (String key, boolean defaultVal) |
check whether value associated to key includes a word "true" More... | |
void | load (String fname) throws IOException |
load config from a file More... | |
final void | setBool (String key, boolean value) |
final void | setDbl (String key, double value) |
associate double value to key More... | |
final void | setDbl (String key, double value, int digits) |
associate double value to key More... | |
final void | setDblAry (String key, double[] value, int digits) |
associate double array to key More... | |
final void | setDblAry (String key, double[] value) |
associate double array to key More... | |
final void | setFlt (String key, float value) |
associate float value to key More... | |
final void | setFltAry (String key, float[] value) |
associate float array to key More... | |
final void | setInt (String key, int value) |
associate int value to key More... | |
final void | setShort (String key, short value) |
associate short value to key More... | |
void | store (String fname, String comments) throws IOException |
store this config More... | |
Public Attributes | |
short [] | childIndices_ |
子リンクインデックス列 More... | |
double | encoderPulse_ |
double | gearRatio_ |
double [] | jointAxis_ |
short | jointId_ |
String | jointType_ |
double | jointValue_ |
double | linkMass_ |
double [] | llimit_ |
short | parentIndex_ |
double | rotorInertia_ |
double | rotorResistor_ |
double | torqueConst_ |
double [] | ulimit_ |
Public Attributes inherited from com.generalrobotix.ui.item.GrxTransformItem | |
BranchGroup | bg_ |
Vector< GrxTransformItem > | children_ |
GrxTransformItem | parent_ |
TransformGroup | tg_ |
Protected Member Functions | |
GrxLinkItem (String name, GrxPluginManager manager, GrxModelItem model) | |
GrxLinkItem (String name, GrxPluginManager manager, GrxModelItem model, LinkInfo info) | |
Protected Member Functions inherited from com.generalrobotix.ui.item.GrxTransformItem | |
void | resizeBoundingBox () |
Protected Member Functions inherited from com.generalrobotix.ui.GrxBaseItem | |
GrxBaseItem (String name, GrxPluginManager manager) | |
constructor More... | |
void | setDefaultDirectory (String dir) |
void | setFileExtension (String ext) |
Protected Member Functions inherited from com.generalrobotix.ui.GrxBasePlugin | |
GrxBasePlugin (String name, GrxPluginManager manager) | |
constructor More... | |
void | setIcon (String iconName) |
set icon More... | |
void | setMenuPath (String[] path) |
set menu path More... | |
boolean | syncExec (Runnable r) |
Transfer SWT UI thread. More... | |
Private Member Functions | |
void | _init () |
common initialization More... | |
void | _initMenu () |
initialize menu More... | |
void | _updateScaleOfBall () |
void | updateAxis () |
Private Attributes | |
short | AABBmaxNum_ |
double [] | linkCenterOfMass_ |
double [] | linkInertia_ |
double [] | lvlimit_ |
double [] | rotation_ = {0,1,0,0} |
Switch | switchAABB_ |
Switch | switchAxis_ |
Switch | switchCom_ |
TransformGroup | tgCom_ |
double [] | translation_ = {0,0,0} |
double [] | uvlimit_ |
Additional Inherited Members | |
Static Public Member Functions inherited from com.generalrobotix.ui.GrxBasePlugin | |
static Object | getField (Class<? extends GrxBasePlugin > cls, String field, Object defaultValue) |
get field More... | |
Protected Attributes inherited from com.generalrobotix.ui.item.GrxTransformItem | |
GrxModelItem | model_ |
Protected Attributes inherited from com.generalrobotix.ui.GrxBaseItem | |
String | clipValue_ = "" |
File | file_ |
Protected Attributes inherited from com.generalrobotix.ui.GrxBasePlugin | |
Document | doc_ |
Element | element_ |
GrxPluginManager | manager_ |
Static Protected Attributes inherited from com.generalrobotix.ui.GrxBaseItem | |
static final String [] | jointTypeComboItem_ = new String[] { "fixed", "rotate", "free", "slide" } |
static final String [] | methodComboItem_ = new String[] { "EULER", "RUNGE_KUTTA" } |
static final String [] | modeComboItem_ = new String[] { "Torque", "HighGain" } |
Static Protected Attributes inherited from com.generalrobotix.ui.GrxBasePlugin | |
static final String [] | booleanComboItem_ = new String[] {"true", "false" } |
static final String | INDENT4 = " " |
static final String | ITEM_TAG = "item" |
static final String | PROPERTY_TAG = "property" |
static final String | VIEW_TAG = "view" |
Definition at line 68 of file GrxLinkItem.java.
|
inlineprotected |
Definition at line 664 of file GrxLinkItem.java.
|
inlineprotected |
info | link information retrieved through ModelLoader |
Definition at line 693 of file GrxLinkItem.java.
|
inlineprivate |
common initialization
Definition at line 882 of file GrxLinkItem.java.
|
inlineprivate |
initialize menu
Definition at line 755 of file GrxLinkItem.java.
|
inlineprivate |
Definition at line 515 of file GrxLinkItem.java.
|
inline |
|
inline |
Definition at line 98 of file GrxLinkItem.java.
|
inline |
Definition at line 112 of file GrxLinkItem.java.
|
inline |
create and add a new link as a child
name | name of the new link |
Definition at line 430 of file GrxLinkItem.java.
|
inline |
|
inline |
load and add a new robot as a child
f | file name of the new robot |
Definition at line 502 of file GrxLinkItem.java.
|
inline |
create and add a new sensor as a child
name | name of the new sensor |
Definition at line 472 of file GrxLinkItem.java.
|
inline |
create and add a new sensor as a child
name | name of the new sensor |
Definition at line 458 of file GrxLinkItem.java.
|
inline |
|
inline |
compute forward kinematics
Definition at line 616 of file GrxLinkItem.java.
|
inline |
set CoM position
com | CoM position(length=3) |
Definition at line 218 of file GrxLinkItem.java.
|
inline |
set CoM position from string
value | space separated array of double(length=3) |
Definition at line 237 of file GrxLinkItem.java.
|
inline |
Definition at line 1063 of file GrxLinkItem.java.
|
inline |
|
inline |
delete this link and children
Definition at line 1026 of file GrxLinkItem.java.
|
inline |
Definition at line 336 of file GrxLinkItem.java.
|
inline |
Definition at line 342 of file GrxLinkItem.java.
|
inline |
Definition at line 324 of file GrxLinkItem.java.
|
inline |
Definition at line 330 of file GrxLinkItem.java.
|
inline |
Definition at line 1139 of file GrxLinkItem.java.
|
inline |
set inertia matrix
newI | inertia matrix(length=9) |
Definition at line 196 of file GrxLinkItem.java.
|
inline |
Definition at line 207 of file GrxLinkItem.java.
|
inline |
set joint axis
axis | axis of this joint. it must be one of "X", "Y" and "Z" |
Definition at line 247 of file GrxLinkItem.java.
|
inline |
|
inline |
|
inline |
set joint type
type | type of this joint. It must be one of "fixed", "free", "rotate" and "slide" |
Definition at line 310 of file GrxLinkItem.java.
|
inline |
|
inline |
set joint value from string
value | joint value |
Definition at line 181 of file GrxLinkItem.java.
|
inline |
Definition at line 390 of file GrxLinkItem.java.
|
inline |
Definition at line 396 of file GrxLinkItem.java.
|
inline |
Definition at line 108 of file GrxLinkItem.java.
|
inline |
Definition at line 141 of file GrxLinkItem.java.
|
inline |
Definition at line 158 of file GrxLinkItem.java.
|
inline |
Definition at line 104 of file GrxLinkItem.java.
|
inline |
Definition at line 124 of file GrxLinkItem.java.
|
inline |
Definition at line 132 of file GrxLinkItem.java.
|
inline |
Definition at line 414 of file GrxLinkItem.java.
|
inline |
Definition at line 420 of file GrxLinkItem.java.
|
inline |
Definition at line 1067 of file GrxLinkItem.java.
|
inline |
|
inline |
Definition at line 296 of file GrxLinkItem.java.
|
inline |
Definition at line 1164 of file GrxLinkItem.java.
|
inline |
Definition at line 1187 of file GrxLinkItem.java.
|
inline |
Definition at line 1151 of file GrxLinkItem.java.
|
inline |
check validity of new value of property and update if valid
property | name of property |
value | value of property |
Definition at line 535 of file GrxLinkItem.java.
|
inline |
Definition at line 491 of file GrxLinkItem.java.
|
inline |
|
inline |
Definition at line 1045 of file GrxLinkItem.java.
|
inline |
Definition at line 348 of file GrxLinkItem.java.
|
inline |
Definition at line 354 of file GrxLinkItem.java.
|
inline |
Definition at line 360 of file GrxLinkItem.java.
|
inline |
Definition at line 1031 of file GrxLinkItem.java.
set/unset fucus on this item
When this item is focused, some geometries are displayed
b | true to fucus, false to unfocus |
Definition at line 1007 of file GrxLinkItem.java.
|
inline |
limit joint value within limits recursively
Definition at line 986 of file GrxLinkItem.java.
|
inline |
set new position and rotation in global frame
pos | new position |
rot | new rotation |
Definition at line 954 of file GrxLinkItem.java.
|
inline |
set new position and rotation in global frame
tform | new transform |
Definition at line 976 of file GrxLinkItem.java.
Definition at line 1059 of file GrxLinkItem.java.
|
inline |
Definition at line 366 of file GrxLinkItem.java.
|
inline |
Definition at line 372 of file GrxLinkItem.java.
|
inline |
Definition at line 378 of file GrxLinkItem.java.
|
inline |
Definition at line 384 of file GrxLinkItem.java.
|
inlineprivate |
Definition at line 920 of file GrxLinkItem.java.
|
inline |
Definition at line 402 of file GrxLinkItem.java.
|
inline |
Definition at line 408 of file GrxLinkItem.java.
|
private |
Definition at line 90 of file GrxLinkItem.java.
short [] com.generalrobotix.ui.item.GrxLinkItem.childIndices_ |
子リンクインデックス列
Definition at line 89 of file GrxLinkItem.java.
double com.generalrobotix.ui.item.GrxLinkItem.encoderPulse_ |
Definition at line 86 of file GrxLinkItem.java.
double com.generalrobotix.ui.item.GrxLinkItem.gearRatio_ |
Definition at line 84 of file GrxLinkItem.java.
double [] com.generalrobotix.ui.item.GrxLinkItem.jointAxis_ |
Definition at line 74 of file GrxLinkItem.java.
short com.generalrobotix.ui.item.GrxLinkItem.jointId_ |
Definition at line 71 of file GrxLinkItem.java.
String com.generalrobotix.ui.item.GrxLinkItem.jointType_ |
Definition at line 72 of file GrxLinkItem.java.
double com.generalrobotix.ui.item.GrxLinkItem.jointValue_ |
Definition at line 73 of file GrxLinkItem.java.
|
private |
Definition at line 80 of file GrxLinkItem.java.
|
private |
Definition at line 81 of file GrxLinkItem.java.
double com.generalrobotix.ui.item.GrxLinkItem.linkMass_ |
Definition at line 79 of file GrxLinkItem.java.
double [] com.generalrobotix.ui.item.GrxLinkItem.llimit_ |
Definition at line 76 of file GrxLinkItem.java.
|
private |
Definition at line 78 of file GrxLinkItem.java.
short com.generalrobotix.ui.item.GrxLinkItem.parentIndex_ |
Definition at line 88 of file GrxLinkItem.java.
|
private |
Definition at line 70 of file GrxLinkItem.java.
double com.generalrobotix.ui.item.GrxLinkItem.rotorInertia_ |
Definition at line 82 of file GrxLinkItem.java.
double com.generalrobotix.ui.item.GrxLinkItem.rotorResistor_ |
Definition at line 83 of file GrxLinkItem.java.
|
private |
Definition at line 96 of file GrxLinkItem.java.
|
private |
Definition at line 95 of file GrxLinkItem.java.
|
private |
Definition at line 93 of file GrxLinkItem.java.
|
private |
Definition at line 94 of file GrxLinkItem.java.
double com.generalrobotix.ui.item.GrxLinkItem.torqueConst_ |
Definition at line 85 of file GrxLinkItem.java.
|
private |
Definition at line 69 of file GrxLinkItem.java.
double [] com.generalrobotix.ui.item.GrxLinkItem.ulimit_ |
Definition at line 75 of file GrxLinkItem.java.
|
private |
Definition at line 77 of file GrxLinkItem.java.