public abstract class ForceSpringBase extends ForceBase
VisibleBase.DisplayPreference| Modifier and Type | Field and Description |
|---|---|
static boolean |
useMuscleComponents |
| Constructor and Description |
|---|
ForceSpringBase() |
| Modifier and Type | Method and Description |
|---|---|
ForceSpringBase |
clone() |
ModelComponent |
createComponent(java.io.File geometryPath,
ModelComponentMap componentMap)
Creates and returns a model component, using the provided component map
to look up other dependent objects.
|
ModelComponent |
createComponentLegacy(java.io.File geometryPath,
ModelComponentMap componentMap) |
ModelComponent |
createComponentWithOsimMuscles(java.io.File geometryPath,
ModelComponentMap componentMap) |
GeometryPath |
getGeometryPath() |
void |
setGeometryPath(GeometryPath gp) |
getAppliesForce, isDisabled, setAppliesForce, setDisabledcreateRenderProps, getVisibleObject, setVisibleObjectgetColor, getDisplayPreference, getOpacity, setColor, setDisplayPreference, setOpacitypublic GeometryPath getGeometryPath()
public void setGeometryPath(GeometryPath gp)
public ForceSpringBase clone()
public ModelComponent createComponent(java.io.File geometryPath, ModelComponentMap componentMap)
ModelComponentGeneratorcreateComponent in interface ModelComponentGenerator<ModelComponent>createComponent in class ForceBasegeometryPath - path to search for geometry filescomponentMap - map for looking up other objectspublic ModelComponent createComponentLegacy(java.io.File geometryPath, ModelComponentMap componentMap)
public ModelComponent createComponentWithOsimMuscles(java.io.File geometryPath, ModelComponentMap componentMap)