artisynth.core.materials
Class AxialMuscleMaterial
java.lang.Object
artisynth.core.materials.MaterialBase
artisynth.core.materials.AxialMaterial
artisynth.core.materials.AxialMuscleMaterial
- All Implemented Interfaces:
- ScalableUnits, java.lang.Cloneable, CompositeProperty, HasProperties, Clonable, Scannable
- Direct Known Subclasses:
- BlemkerAxialMuscle, ConstantAxialMuscle, LinearAxialMuscle, MasoudMillardLAM, PaiAxialMuscle, PeckAxialMuscle
public abstract class AxialMuscleMaterial
- extends AxialMaterial
Methods inherited from class artisynth.core.materials.MaterialBase |
getProperty, getPropertyHost, getPropertyInfo, hasProperty, hasSymmetricTangent, isWritable, scan, setPropertyHost, setPropertyInfo, tangentSymmetryChanged, updateMaterial, write |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_MAX_FORCE
public static double DEFAULT_MAX_FORCE
DEFAULT_OPT_LENGTH
public static double DEFAULT_OPT_LENGTH
DEFAULT_MAX_LENGTH
public static double DEFAULT_MAX_LENGTH
DEFAULT_PASSIVE_FRACTION
public static double DEFAULT_PASSIVE_FRACTION
DEFAULT_TENDON_RATIO
public static double DEFAULT_TENDON_RATIO
DEFAULT_DAMPING
public static double DEFAULT_DAMPING
DEFAULT_SCALING
public static double DEFAULT_SCALING
maxStretch
public static final double maxStretch
- See Also:
- Constant Field Values
minStretch
public static final double minStretch
- See Also:
- Constant Field Values
myProps
public static PropertyList myProps
AxialMuscleMaterial
public AxialMuscleMaterial()
getAllPropertyInfo
public PropertyList getAllPropertyInfo()
- Description copied from interface:
HasProperties
- Returns a list giving static information about all properties exported by
this object.
- Specified by:
getAllPropertyInfo
in interface HasProperties
- Overrides:
getAllPropertyInfo
in class MaterialBase
- Returns:
- static information for all exported properties
getMaxForce
public double getMaxForce()
setMaxForce
public void setMaxForce(double maxF)
getMaxForceMode
public PropertyMode getMaxForceMode()
setMaxForceMode
public void setMaxForceMode(PropertyMode mode)
getPassiveFraction
public double getPassiveFraction()
setPassiveFraction
public void setPassiveFraction(double passiveFraction)
getPassiveFractionMode
public PropertyMode getPassiveFractionMode()
setPassiveFractionMode
public void setPassiveFractionMode(PropertyMode mode)
getOptLength
public double getOptLength()
setOptLength
public void setOptLength(double optL)
getOptLengthMode
public PropertyMode getOptLengthMode()
setOptLengthMode
public void setOptLengthMode(PropertyMode mode)
getMaxLength
public double getMaxLength()
setMaxLength
public void setMaxLength(double maxL)
getMaxLengthMode
public PropertyMode getMaxLengthMode()
setMaxLengthMode
public void setMaxLengthMode(PropertyMode mode)
getTendonRatio
public double getTendonRatio()
setTendonRatio
public void setTendonRatio(double tendonRatio)
getTendonRatioMode
public PropertyMode getTendonRatioMode()
setTendonRatioMode
public void setTendonRatioMode(PropertyMode mode)
getForceScaling
public double getForceScaling()
setForceScaling
public void setForceScaling(double fScaling)
getForceScalingMode
public PropertyMode getForceScalingMode()
setForceScalingMode
public void setForceScalingMode(PropertyMode mode)
getDamping
public double getDamping()
setDamping
public void setDamping(double E)
getDampingMode
public PropertyMode getDampingMode()
setDampingMode
public void setDampingMode(PropertyMode mode)
setAxialMuscleMaterialProps
public void setAxialMuscleMaterialProps(double maxF,
double optL,
double maxL,
double passiveFraction,
double tendonRatio,
double damping,
double forceScaling)
equals
public boolean equals(AxialMaterial mat)
- Overrides:
equals
in class AxialMaterial
clone
public AxialMuscleMaterial clone()
- Description copied from interface:
CompositeProperty
- Returns a clone of this composite property.
- Specified by:
clone
in interface CompositeProperty
- Specified by:
clone
in interface Clonable
- Overrides:
clone
in class AxialMaterial
- Returns:
- clone of this property
scaleDistance
public void scaleDistance(double s)
- Description copied from interface:
ScalableUnits
- Scales all distance coordinates.
- Specified by:
scaleDistance
in interface ScalableUnits
- Overrides:
scaleDistance
in class MaterialBase
- Parameters:
s
- scaling factor
scaleMass
public void scaleMass(double s)
- Description copied from interface:
ScalableUnits
- Scales all mass units.
- Specified by:
scaleMass
in interface ScalableUnits
- Overrides:
scaleMass
in class MaterialBase
- Parameters:
s
- scaling factor
getSubClasses
public static java.lang.Class<?>[] getSubClasses()