artisynth.core.mechmodels
Class PointSpringList<S extends PointSpringBase>
java.lang.Object
artisynth.core.modelbase.ModelComponentBase
artisynth.core.modelbase.ComponentList<C>
artisynth.core.modelbase.RenderableComponentList<S>
artisynth.core.mechmodels.PointSpringList<S>
- All Implemented Interfaces:
- ComponentChangeListener, ComponentListView<S>, CompositeComponent, IndexedComponentList, ModelComponent, MutableCompositeComponent<S>, ParameterizedClass, RenderableComponent, RenderableComponentListView<S>, ScalableUnits, java.lang.Cloneable, java.lang.Iterable<S>, java.util.Collection<S>, HasProperties, HierarchyNode, GLRenderable, GLSelectable, HasRenderProps, Renderable, ListView<S>, Scannable
- Direct Known Subclasses:
- AxialSpringList, MultiPointSpringList
public class PointSpringList<S extends PointSpringBase>
- extends RenderableComponentList<S>
- implements ScalableUnits
Methods inherited from class artisynth.core.modelbase.ComponentList |
add, add, addAll, addComponents, addFixed, addNumbered, clear, clone, componentChanged, contains, contains, containsAll, copy, ensureCapacity, findComponent, get, get, getByNumber, getChildren, getNavpanelDisplay, getNumberLimit, getShortName, getTypeParameter, hasChildren, hasParameterizedType, hierarchyContainsReferences, indexOf, isEmpty, iterator, nextComponentNumber, numComponents, postscan, remove, remove, removeAll, removeAll, removeComponents, retainAll, scan, 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, getSoftReferences, hasState, isFixed, isMarked, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setSelected, updateReferences, 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, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, postscan, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, updateReferences |
Methods inherited from interface java.util.Collection |
equals, hashCode |
myProps
public static PropertyList myProps
PointSpringList
public PointSpringList(java.lang.Class<S> type)
PointSpringList
public PointSpringList(java.lang.Class<S> type,
java.lang.String name,
java.lang.String shortName)
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 RenderableComponentList<S extends PointSpringBase>
- Returns:
- static information for all exported properties
createDefaultMaterial
public static AxialMaterial createDefaultMaterial()
getMaterial
public AxialMaterial getMaterial()
setMaterial
public void setMaterial(AxialMaterial mat)
createRenderProps
public RenderProps createRenderProps()
- Description copied from interface:
HasRenderProps
- Factory method to create render properties appropriate to this object.
- Specified by:
createRenderProps
in interface RenderableComponentListView<S extends PointSpringBase>
- Specified by:
createRenderProps
in interface HasRenderProps
- Overrides:
createRenderProps
in class RenderableComponentList<S extends PointSpringBase>
- Returns:
- new render properties for this object
scaleDistance
public void scaleDistance(double s)
- Description copied from interface:
ScalableUnits
- Scales all distance coordinates.
- Specified by:
scaleDistance
in interface ScalableUnits
- 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
- Parameters:
s
- scaling factor