artisynth.core.femmodels
Class MuscleBundleList

java.lang.Object
  extended by artisynth.core.modelbase.ModelComponentBase
      extended by artisynth.core.modelbase.ComponentList<C>
          extended by artisynth.core.modelbase.RenderableComponentList<MuscleBundle>
              extended by artisynth.core.femmodels.MuscleBundleList
All Implemented Interfaces:
ComponentChangeListener, ComponentListView<MuscleBundle>, CompositeComponent, IndexedComponentList, ModelComponent, MutableCompositeComponent<MuscleBundle>, ParameterizedClass, RenderableComponent, RenderableComponentListView<MuscleBundle>, ScalableUnits, java.lang.Cloneable, java.lang.Iterable<MuscleBundle>, java.util.Collection<MuscleBundle>, HasProperties, HierarchyNode, GLRenderable, GLSelectable, HasRenderProps, Renderable, ListView<MuscleBundle>, Scannable

public class MuscleBundleList
extends RenderableComponentList<MuscleBundle>
implements ScalableUnits


Nested Class Summary
 
Nested classes/interfaces inherited from interface artisynth.core.modelbase.ModelComponent
ModelComponent.NavpanelVisibility
 
Nested classes/interfaces inherited from interface artisynth.core.modelbase.CompositeComponent
CompositeComponent.NavpanelDisplay
 
Field Summary
 
Fields inherited from class artisynth.core.modelbase.RenderableComponentList
myProps
 
Fields inherited from class artisynth.core.modelbase.ComponentList
DEFAULT_NAVPANEL_DISPLAY
 
Fields inherited from class artisynth.core.modelbase.ModelComponentBase
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
 
Fields inherited from interface maspack.render.GLRenderable
TRANSLUCENT, TWO_DIMENSIONAL
 
Constructor Summary
MuscleBundleList()
           
MuscleBundleList(java.lang.String name, java.lang.String shortName)
           
 
Method Summary
 RenderProps createRenderProps()
          Factory method to create render properties appropriate to this object.
 boolean hasParameterizedType()
          Returns true if this class explicitly utilizes a parameterized type.
 void scaleDistance(double s)
          Scales all distance coordinates.
 void scaleMass(double s)
          Scales all mass units.
 
Methods inherited from class artisynth.core.modelbase.RenderableComponentList
getAllPropertyInfo, getRenderHints, getRenderProps, getSelection, isSelectable, numSelectionQueriesNeeded, prerender, render, rendersSubComponents, setRenderProps, updateBounds
 
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, 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.ComponentListView
contains, get, get, getByNumber, getName, getShortName, indexOf, iterator, nextComponentNumber, size
 
Methods inherited from interface maspack.util.ListView
contains
 
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 maspack.properties.HasProperties
getProperty
 
Methods inherited from interface maspack.properties.HierarchyNode
getChildren, hasChildren
 
Methods inherited from interface maspack.util.Scannable
isWritable, write
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

MuscleBundleList

public MuscleBundleList()

MuscleBundleList

public MuscleBundleList(java.lang.String name,
                        java.lang.String shortName)
Method Detail

hasParameterizedType

public boolean hasParameterizedType()
Description copied from interface: ParameterizedClass
Returns true if this class explicitly utilizes a parameterized type.

Specified by:
hasParameterizedType in interface ParameterizedClass
Overrides:
hasParameterizedType in class ComponentList<MuscleBundle>

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<MuscleBundle>
Specified by:
createRenderProps in interface HasRenderProps
Overrides:
createRenderProps in class RenderableComponentList<MuscleBundle>
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