public abstract class JointBase extends OpenSimObject implements ModelComponentGenerator<ModelComponent>
Modifier and Type | Class and Description |
---|---|
static class |
JointBase.BodyAndTransform |
Constructor and Description |
---|
JointBase() |
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 JointBase.BodyAndTransform findParentBodyAndTransform(ModelComponentMap componentMap)
public JointBase.BodyAndTransform findChildBodyAndTransform(ModelComponentMap componentMap)
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 java.util.ArrayList<Coordinate> getCoordinateArray()
public CoordinateSet getCoordinateSet()
public void setCoordinateSet(CoordinateSet cs)
public CoordinateList getCoordinates()
public void setCoordinates(CoordinateList coords)
public FrameList getFrames()
public void setFrames(FrameList frames)
public java.lang.String getSocketParentFrame()
public void setSocketParentFrame(java.lang.String path)
public java.lang.String getSocketChildFrame()
public void setSocketChildFrame(java.lang.String path)
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<ModelComponent>
geometryPath
- path to search for geometry filescomponentMap
- map for looking up other objects