artisynth.core.mechmodels
Class MultiPointSpringList<S extends MultiPointSpring>

java.lang.Object
  extended by artisynth.core.modelbase.ModelComponentBase
      extended by artisynth.core.modelbase.ComponentList<C>
          extended by artisynth.core.modelbase.RenderableComponentList<S>
              extended by artisynth.core.mechmodels.PointSpringList<S>
                  extended by artisynth.core.mechmodels.MultiPointSpringList<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

public class MultiPointSpringList<S extends MultiPointSpring>
extends PointSpringList<S>


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.mechmodels.PointSpringList
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
MultiPointSpringList(java.lang.Class<S> type)
           
MultiPointSpringList(java.lang.Class<S> type, java.lang.String name, java.lang.String shortName)
           
 
Method Summary
 void render(GLRenderer renderer, int flags)
          Render this object using Open GL via the JOGL.
 
Methods inherited from class artisynth.core.mechmodels.PointSpringList
createDefaultMaterial, createRenderProps, getAllPropertyInfo, getMaterial, scaleDistance, scaleMass, setMaterial
 
Methods inherited from class artisynth.core.modelbase.RenderableComponentList
getRenderHints, getRenderProps, getSelection, isSelectable, numSelectionQueriesNeeded, prerender, 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, 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.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

MultiPointSpringList

public MultiPointSpringList(java.lang.Class<S> type)

MultiPointSpringList

public MultiPointSpringList(java.lang.Class<S> type,
                            java.lang.String name,
                            java.lang.String shortName)
Method Detail

render

public void render(GLRenderer renderer,
                   int flags)
Description copied from interface: GLRenderable
Render this object using Open GL via the JOGL.

Specified by:
render in interface GLRenderable
Overrides:
render in class RenderableComponentList<S extends MultiPointSpring>
Parameters:
renderer - renderer object which is used to perform the rendering. Provides pointers to GL and GLU, along with helper functions.
flags - supplies flags that may be used to control different aspects of the rendering. Flags are defined in GLRenderer and currently include GLRenderer.SELECTED, GLRenderer.VERTEX_COLORING, GLRenderer.HSV_COLOR_INTERPOLATION, GLRenderer.SORT_FACES, and GLRenderer.CLEAR_MESH_DISPLAY_LISTS.