Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
com.generalrobotix.ui.item.GrxSegmentItem Class Reference
Inheritance diagram for com.generalrobotix.ui.item.GrxSegmentItem:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

Definition at line 19 of file GrxSegmentItem.java.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

Parameters:
propertyname of property
valuevalue of property
Returns:
true if checked(even if value is not used), false otherwise

Reimplemented from com.generalrobotix.ui.GrxBasePlugin.

Definition at line 82 of file GrxSegmentItem.java.

set/unset focus on this plugin

Parameters:
btrue to focus, false to unfocus

Reimplemented from com.generalrobotix.ui.item.GrxTransformItem.

Definition at line 106 of file GrxSegmentItem.java.


Member Data Documentation

Definition at line 21 of file GrxSegmentItem.java.

Definition at line 20 of file GrxSegmentItem.java.

Definition at line 22 of file GrxSegmentItem.java.

Definition at line 24 of file GrxSegmentItem.java.

Definition at line 25 of file GrxSegmentItem.java.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:21