Search in sources :

Example 1 with ConstantAxialMuscle

use of artisynth.core.materials.ConstantAxialMuscle in project artisynth_core by artisynth.

the class MultiPointMuscle method createConstant.

public static MultiPointMuscle createConstant(double maxForce) {
    MultiPointMuscle m = new MultiPointMuscle();
    ConstantAxialMuscle mat = new ConstantAxialMuscle();
    mat.setMaxForce(maxForce);
    m.setMaterial(mat);
    return m;
}
Also used : ConstantAxialMuscle(artisynth.core.materials.ConstantAxialMuscle)

Example 2 with ConstantAxialMuscle

use of artisynth.core.materials.ConstantAxialMuscle in project artisynth_core by artisynth.

the class MultiPointMuscle method createConstant.

public static MultiPointMuscle createConstant() {
    MultiPointMuscle m = new MultiPointMuscle();
    m.setMaterial(new ConstantAxialMuscle());
    return m;
}
Also used : ConstantAxialMuscle(artisynth.core.materials.ConstantAxialMuscle)

Example 3 with ConstantAxialMuscle

use of artisynth.core.materials.ConstantAxialMuscle in project artisynth_core by artisynth.

the class Muscle method setConstantMuscleMaterial.

public void setConstantMuscleMaterial(double maxF) {
    ConstantAxialMuscle mat = new ConstantAxialMuscle();
    mat.setMaxForce(maxF);
    setMaterial(mat);
}
Also used : ConstantAxialMuscle(artisynth.core.materials.ConstantAxialMuscle)

Aggregations

ConstantAxialMuscle (artisynth.core.materials.ConstantAxialMuscle)3