artisynth.core.mechmodels
Class MultiPointMuscleVia

java.lang.Object
  extended by artisynth.core.modelbase.ModelComponentBase
      extended by artisynth.core.mechmodels.Spring
          extended by artisynth.core.mechmodels.PointSpringBase
              extended by artisynth.core.mechmodels.MultiPointSpring
                  extended by artisynth.core.mechmodels.MultiPointMuscle
                      extended by artisynth.core.mechmodels.MultiPointMuscleVia
All Implemented Interfaces:
ExcitationComponent, ForceComponent, ForceEffector, RequiresInitialize, RequiresPrePostAdvance, CopyableComponent, ModelComponent, RenderableComponent, ScalableUnits, java.lang.Cloneable, HasProperties, HierarchyNode, GLRenderable, GLSelectable, HasRenderProps, Renderable, Scannable

public class MultiPointMuscleVia
extends MultiPointMuscle


Nested Class Summary
 class MultiPointMuscleVia.ViaPoint
           
 
Nested classes/interfaces inherited from interface artisynth.core.mechmodels.ExcitationComponent
ExcitationComponent.CombinationRule
 
Nested classes/interfaces inherited from interface artisynth.core.modelbase.ModelComponent
ModelComponent.NavpanelVisibility
 
Field Summary
 
Fields inherited from class artisynth.core.mechmodels.MultiPointMuscle
myProps
 
Fields inherited from class artisynth.core.mechmodels.MultiPointSpring
myIgnoreCoriolisInJacobian
 
Fields inherited from class artisynth.core.mechmodels.PointSpringBase
useMaterial
 
Fields inherited from class artisynth.core.modelbase.ModelComponentBase
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
 
Fields inherited from interface artisynth.core.modelbase.CopyableComponent
COPY_REFERENCES
 
Fields inherited from interface maspack.render.GLRenderable
TRANSLUCENT, TWO_DIMENSIONAL
 
Constructor Summary
MultiPointMuscleVia()
           
 
Method Summary
 MultiPointMuscleVia.ViaPoint addViaPoint(Point p, double l, double s, Point p0, Point p1)
           
 void clearViaPoints()
           
 void updateStructure()
          Hook method to allow sub-classes to update their structure by adding or removing points.
 void updateViaPoints()
           
 
Methods inherited from class artisynth.core.mechmodels.MultiPointMuscle
addExcitationSource, addExcitationSource, computeDFdl, computeDFdldot, computeF, computePassiveF, createConstant, createConstant, createLinear, createLinear, createPai, createPai, createPeck, createPeck, createPeck, getAllPropertyInfo, getCombinationRule, getDefaultActivationWeight, getExcitation, getExcitationColor, getExcitationColorMode, getExcitationGain, getForceNorm, getJacobianType, getMaxColoredExcitation, getMaxColoredExcitationMode, getNetExcitation, getPassiveForceNorm, getRenderColor, getSoftReferences, initialize, isEnabled, prerender, removeExcitationSource, resetLengthProps, scaleDistance, scaleMass, setCombinationRule, setEnabled, setExcitation, setExcitationColor, setExcitationColorMode, setExcitationGain, setMaxColoredExcitation, setMaxColoredExcitationMode, updateReferences
 
Methods inherited from class artisynth.core.mechmodels.MultiPointSpring
addPoint, addPoint, addPosJacobian, addSolveBlocks, addVelJacobian, applyForces, clearPassiveSegments, clearPoints, computeSegmentForce, containsPoint, copy, getActiveLength, getActiveLengthDot, getCopyReferences, getHardReferences, getLength, getLengthDot, getPoint, indexOfPoint, isDuplicatable, isSegmentPassive, numPoints, postadvance, preadvance, printPointReferences, removePoint, render, scan, setPoint, setRestLengthFromPoints, setSegmentPassive, updateBounds
 
Methods inherited from class artisynth.core.mechmodels.PointSpringBase
createDefaultMaterial, createRenderProps, getEffectiveMaterial, getMaterial, getMaxForce, getRenderHints, getRenderProps, getRestLength, getSelection, isSelectable, numSelectionQueriesNeeded, setDamping, setLinearMaterial, setMaterial, setMaxForce, setRenderProps, setRestLength, setStiffness
 
Methods inherited from class artisynth.core.modelbase.ModelComponentBase
checkFlag, checkName, checkNameUniqueness, clearFlag, clone, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getChildren, getGrandParent, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, hasChildren, hasState, isFixed, isMarked, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, 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 maspack.properties.HasProperties
getProperty
 
Methods inherited from interface maspack.properties.HierarchyNode
getChildren, hasChildren
 
Methods inherited from interface maspack.util.Scannable
isWritable, write
 

Constructor Detail

MultiPointMuscleVia

public MultiPointMuscleVia()
Method Detail

addViaPoint

public MultiPointMuscleVia.ViaPoint addViaPoint(Point p,
                                                double l,
                                                double s,
                                                Point p0,
                                                Point p1)

clearViaPoints

public void clearViaPoints()

updateViaPoints

public void updateViaPoints()

updateStructure

public void updateStructure()
Description copied from class: MultiPointSpring
Hook method to allow sub-classes to update their structure by adding or removing points.

Overrides:
updateStructure in class MultiPointSpring