artisynth.core.femmodels
Class PointToPointMuscle
java.lang.Object
artisynth.core.modelbase.ModelComponentBase
artisynth.core.modelbase.ComponentList<ModelComponent>
artisynth.core.modelbase.ModelBase
artisynth.core.modelbase.RenderableModelBase
artisynth.core.mechmodels.MechSystemBase
artisynth.core.femmodels.FemModel
artisynth.core.femmodels.FemModel3d
artisynth.core.femmodels.FemMuscleModel
artisynth.core.femmodels.PointToPointMuscle
- All Implemented Interfaces:
- AuxiliaryMaterial, Collidable, Constrainer, ExcitationComponent, ForceEffector, HasAuxState, HasSlaveObjects, MechSystem, MechSystemModel, RequiresInitialize, ComponentChangeListener, ComponentListView<ModelComponent>, CompositeComponent, CopyableComponent, HasState, IndexedComponentList, Model, ModelComponent, MutableCompositeComponent<ModelComponent>, ParameterizedClass, RenderableComponent, PropertyChangeListener, ScalableUnits, TransformableGeometry, java.lang.Cloneable, java.lang.Iterable<ModelComponent>, java.util.Collection<ModelComponent>, HasProperties, HierarchyNode, GLRenderable, GLSelectable, HasRenderProps, Renderable, Clonable, Disposable, ListView<ModelComponent>, Scannable
public class PointToPointMuscle
- extends FemMuscleModel
Methods inherited from class artisynth.core.femmodels.FemMuscleModel |
addExcitationSource, addExcitationSource, addFiberMeshBundle, addMuscleBundle, addMuscleExciter, addPosJacobian, addSolveBlocks, addVelJacobian, applyForces, clearMuscleBundles, clearMuscleExciters, computeAverageFiberDirection, computeStress, computeStress, computeTangent, computeTangent, createDefaultMuscleMaterial, createMuscleMaterial, getActivations, getActivations, getCombinationRule, getDefaultActivationWeight, getDirectionRenderLen, getDirectionRenderLenMode, getDirectionRenderType, getDirectionRenderTypeMode, getExcitationColor, getExcitationColorMode, getExcitationGain, getFiberRenderProps, getMaxColoredExcitation, getMaxColoredExcitationMode, getMuscleBundles, getMuscleExciters, getMuscleMaterial, getNetExcitation, getSoftReferences, hasSymmetricTangent, isInvertible, notifyActivationsSet, numActivations, prerender, recursivelyInitialize, removeExcitationSource, removeMuscleBundle, removeMuscleExciter, render, scaleDistance, scaleMass, setActivations, setActivations, setBundlesActive, setCombinationRule, setDefaultValues, setDirectionRenderLen, setDirectionRenderLenMode, setDirectionRenderType, setDirectionRenderTypeMode, setExcitationColor, setExcitationColorMode, setExcitationGain, setFiberRenderProps, setMaxColoredExcitation, setMaxColoredExcitationMode, setMuscleMaterial, transformGeometry, transformGeometry, updateReferences |
Methods inherited from class artisynth.core.femmodels.FemModel3d |
addBilateralConstraints, addElement, addMarker, addMaterialBundle, addMesh, addMesh, addMesh, addNode, addNumberedElement, addNumberedMarker, addNumberedNode, advance, advanceAuxState, clearElements, clearMaterialBundles, componentChanged, copy, createCollisionData, createFineSurfaceMesh, createGrid, createHexGrid, createSurfaceMesh, createSurfaceMesh, dispose, findContainingElement, findNearestElement, findNearestNode, findNearestSurfaceElement, getAuxState, getAuxStateComponents, getBilateralImpulses, getBilateralInfo, getBilateralSizes, getByNumber, getCollidables, getColorMap, getColorMapMode, getCopyReferences, getElement, getElementByNumber, getElementNeighbors, getElements, getElementWidgetSize, getElementWidgetSizeMode, getHardIncompMethod, getHardIncompMethodRange, getIncompCompliance, getIncompressible, getInitialAuxState, getJacobianType, getMaterialBundles, getMesh, getMeshes, getNodalPlotRange, getNode, getNodeNeighbors, getNodes, getNumMeshes, getSelection, getSoftIncompMethod, getSoftIncompMethodRange, getSurfaceElement, getSurfaceMesh, getSurfaceMeshVertex, invalidateRestData, invalidateStressAndStiffness, invalidateSurfaceMesh, isAutoGeneratingSurface, isCollidable, isDuplicatable, isSurfaceNode, markInvertedRestElements, numQuadraticElements, numTetElements, postscan, printANSYSElements, printANSYSNodes, recursivelyFinalizeAdvance, removeAllMeshes, removeElement, removeMaterialBundle, removeMesh, removeNode, resetRestPosition, scan, scanMesh, scanMesh, scanSurfaceMesh, scanSurfaceMesh, setAutoGenerateSurface, setAuxState, setBilateralImpulses, setColorMap, setColorMapMode, setComputeNodalStrain, setComputeNodalStress, setElementWidgetSize, setElementWidgetSizeMode, setIncompCompliance, setIncompressible, setMaterial, setSoftIncompMethod, setSurfaceMesh, setSurfaceRendering, skipAuxState, subdivideHex, subdivideHexs, updateConstraints, updateSlavePos, updateStress, updateStressAndStiffness, useAnsysNumbering, writeMesh, writeSurfaceMesh, writeSurfaceMesh, zeroImpulses |
Methods inherited from class artisynth.core.femmodels.FemModel |
addFrictionConstraints, addMarker, addMarker, addUnilateralConstraints, attachments, attachPoint, checkVelocityStability, clear, createDefaultMaterial, detachAllNodes, detachPoint, forcesNeedUpdating, getAttachments, getCharacteristicSize, getCollidables, getConstrainers, getDensity, getDensityMode, getDynamicComponents, getEnergy, getForceEffectors, getGravity, getGravityMode, getImplicitIterations, getImplicitPrecision, getIntegrator, getMass, getMaterial, getMatrixSolver, getNodeMass, getNumInverted, getParticleDamping, getRestVolume, getSlaveObjectComponents, getStiffnessDamping, getStressPlotRange, getStressPlotRangeMode, getStressPlotRanging, getStressPlotRangingMode, getSurfaceRendering, getSurfaceRenderingMode, getToleranceType, getUnilateralImpulses, getUnilateralInfo, getUnilateralSizes, getVolume, hasState, isProfile, markers, maxFrictionConstraintSets, numElements, numNodes, propertyChanged, removeMarker, resetStressPlotRange, setBounds, setDensity, setDensityMode, setGravity, setGravity, setGravityMode, setImplicitIterations, setImplicitPrecision, setIntegrator, setLinearMaterial, setMatrixSolver, setMaxStepSize, setParticleDamping, setProfile, setStiffnessDamping, setStressPlotRange, setStressPlotRangeMode, setStressPlotRanging, setStressPlotRangingMode, setSurfaceRenderingMode, setToleranceType, setUnilateralImpulses, updateBounds, updateRestVolume, updateSlaveVel, updateVolume, validateMatrixSolver, zeroExternalForces |
Methods inherited from class artisynth.core.mechmodels.MechSystemBase |
addActivePosImpulse, addAttachmentJacobian, addAttachmentSolveBlocks, addGeneralSolveBlocks, addPosJacobian, addVelJacobian, applyAttachmentForces, buildMassMatrix, buildSolveMatrix, createState, createVelocityJacobian, getActiveForces, getActivePosDerivative, getActivePosState, getActivePosStateSize, getActiveStiffness, getActiveVelState, getActiveVelState, getActiveVelStateSize, getAttachmentConstraints, getAttachmentDerivatives, getBilateralConstraints, getBilateralConstraintSizes, getBilateralImpulses, getBilateralInfo, getDefaultStabilization, getDynamicsEnabled, getFrictionConstraints, getInitialState, getInverseMassMatrix, getMassMatrix, getNumBilateralImpulses, getNumUnilateralImpulses, getParametricForces, getParametricPosState, getParametricPosStateSize, getParametricPosTarget, getParametricVelState, getParametricVelStateSize, getParametricVelTarget, getPenetrationLimit, getSolveMatrixType, getSolver, getStabilization, getState, getStructureVersion, getUnilateralConstraints, getUnilateralConstraintSizes, getUnilateralImpulses, getUnilateralInfo, getUpdateForcesAtStepEnd, hasParameterizedType, initialize, numActiveComponents, numAttachedComponents, numParametricComponents, preadvance, printActiveStiffness, reduceVelocityJacobian, setActiveForces, setActivePosState, setActiveVelState, setBilateralImpulses, setDefaultStabilization, setDynamicsEnabled, setParametricForces, setParametricPosState, setParametricVelState, setPenetrationLimit, setStabilization, setState, setUnilateralImpulses, setUpdateForcesAtStepEnd, updateAttachmentPos, updateAttachmentVel, updateConstraints, updateForces, updatePosState, updateVelState, writeBilateralConstraintMatrix, writeMassMatrix, writeStiffnessMatrix |
Methods inherited from class artisynth.core.modelbase.ComponentList |
add, add, addAll, addComponents, addFixed, addNumbered, clone, contains, contains, containsAll, ensureCapacity, findComponent, get, get, getChildren, getNavpanelDisplay, getNumberLimit, getShortName, getTypeParameter, hasChildren, indexOf, isEmpty, iterator, nextComponentNumber, numComponents, remove, remove, removeAll, removeAll, removeComponents, retainAll, setNavpanelDisplay, setNumberingStartAtOne, setShortName, size, toArray, toArray, updateNameMap |
Methods inherited from class artisynth.core.modelbase.ModelComponentBase |
checkFlag, checkName, checkNameUniqueness, clearFlag, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, isFixed, isMarked, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setSelected, write |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface artisynth.core.modelbase.ModelComponent |
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, postscan, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected |
Methods inherited from interface artisynth.core.mechmodels.MechSystem |
addActivePosImpulse, addPosJacobian, addVelJacobian, buildMassMatrix, buildSolveMatrix, getActiveForces, getActivePosDerivative, getActivePosState, getActivePosStateSize, getActiveVelState, getActiveVelStateSize, getBilateralConstraints, getBilateralImpulses, getBilateralInfo, getFrictionConstraints, getInverseMassMatrix, getMassMatrix, getParametricForces, getParametricPosState, getParametricPosStateSize, getParametricPosTarget, getParametricVelState, getParametricVelStateSize, getParametricVelTarget, getSolveMatrixType, getStructureVersion, getUnilateralConstraints, getUnilateralImpulses, getUnilateralInfo, maxFrictionConstraintSets, numActiveComponents, numParametricComponents, setActiveForces, setActivePosState, setActiveVelState, setBilateralImpulses, setParametricForces, setParametricPosState, setParametricVelState, setUnilateralImpulses, updateConstraints, updateForces |
Methods inherited from interface java.util.Collection |
equals, hashCode |
fempath
public static java.lang.String fempath
myProps
public static PropertyList myProps
originAttachmentNodes
public static final int[] originAttachmentNodes
insertionAttachmentNodes
public static final int[] insertionAttachmentNodes
PointToPointMuscle
public PointToPointMuscle()
PointToPointMuscle
public PointToPointMuscle(java.lang.String name,
double density,
double scale,
java.lang.String meshName,
boolean addMuscles)
throws java.lang.Exception
- Throws:
java.lang.Exception
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 FemMuscleModel
- Returns:
- static information for all exported properties
getExcitation
public double getExcitation()
- Description copied from class:
FemMuscleModel
- Returns the primary excitation for this component.
- Specified by:
getExcitation
in interface ExcitationComponent
- Overrides:
getExcitation
in class FemMuscleModel
- Returns:
- primary excitation value
setExcitation
public void setExcitation(double excitation)
- Description copied from class:
FemMuscleModel
- Sets the primary excitation for this component.
- Specified by:
setExcitation
in interface ExcitationComponent
- Overrides:
setExcitation
in class FemMuscleModel
- Parameters:
excitation
- excitation value
getFirstNode
public FemNode3d getFirstNode()
getLastNode
public FemNode3d getLastNode()
getMaxForce
public double getMaxForce()
setMaxForce
public void setMaxForce(double maxForce)