public abstract class JointBase extends OpenSimObject implements ModelComponentGenerator<JointBase>
Constructor and Description |
---|
JointBase() |
Modifier and Type | Method and Description |
---|---|
JointBase |
clone() |
JointBase |
createComponent(java.io.File geometryPath,
ModelComponentMap componentMap)
Creates and returns a model component, using the provided component map
to look up other dependent objects.
|
CoordinateSet |
getCoordinateSet() |
RigidTransform3d |
getJointTransformInChild()
Joint pose relative to child body
|
RigidTransform3d |
getJointTransformInParent()
Joint pose relative to parent body
|
Point3d |
getLocation() |
Point3d |
getLocationInParent() |
AxisAngle |
getOrientation() |
AxisAngle |
getOrientationInParent() |
java.lang.String |
getParentBody() |
boolean |
getReverse() |
void |
setCoordinateSet(CoordinateSet cs) |
void |
setLocation(Point3d loc) |
void |
setLocationInParent(Point3d loc) |
void |
setOrientation(AxisAngle orient) |
void |
setOrientationInParent(AxisAngle orient) |
void |
setParentBody(java.lang.String body) |
void |
setReverse(boolean set) |
public void setParentBody(java.lang.String body)
public java.lang.String getParentBody()
public void setLocationInParent(Point3d loc)
public Point3d getLocationInParent()
public void setOrientationInParent(AxisAngle orient)
public AxisAngle getOrientationInParent()
public RigidTransform3d getJointTransformInParent()
public void setLocation(Point3d loc)
public Point3d getLocation()
public RigidTransform3d getJointTransformInChild()
public void setOrientation(AxisAngle orient)
public AxisAngle getOrientation()
public void setReverse(boolean set)
public boolean getReverse()
public CoordinateSet getCoordinateSet()
public void setCoordinateSet(CoordinateSet cs)
public JointBase clone()
clone
in interface Clonable
clone
in class OpenSimObject
public JointBase createComponent(java.io.File geometryPath, ModelComponentMap componentMap)
ModelComponentGenerator
createComponent
in interface ModelComponentGenerator<JointBase>
geometryPath
- path to search for geometry filescomponentMap
- map for looking up other objects