artisynth.demos.mech
Class SkinDemo

java.lang.Object
  extended by artisynth.core.modelbase.ModelComponentBase
      extended by artisynth.core.modelbase.ComponentList<ModelComponent>
          extended by artisynth.core.modelbase.ModelBase
              extended by artisynth.core.modelbase.RenderableModelBase
                  extended by artisynth.core.workspace.RootModel
                      extended by artisynth.demos.mech.SkinDemo
All Implemented Interfaces:
ComponentChangeListener, ComponentListView<ModelComponent>, CompositeComponent, HasState, IndexedComponentList, Model, ModelComponent, MutableCompositeComponent<ModelComponent>, ParameterizedClass, RenderableComponent, java.awt.event.ActionListener, java.lang.Cloneable, java.lang.Iterable<ModelComponent>, java.util.Collection<ModelComponent>, java.util.EventListener, HasProperties, HierarchyNode, GLRenderable, GLSelectable, HasRenderProps, Renderable, Disposable, ListView<ModelComponent>, Scannable

public class SkinDemo
extends RootModel


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
static PropertyList myProps
           
 
Fields inherited from class artisynth.core.workspace.RootModel
testSaveAndRestoreState
 
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
SkinDemo()
           
SkinDemo(java.lang.String name)
           
 
Method Summary
 void addAntagonist()
           
 RigidBody addBody(java.lang.String name, RigidTransform3d pose, java.lang.String meshName)
           
 void addEndPoint()
           
 void addFiberMesh()
           
 void addJoint()
           
 void addLoad()
           
 void addMuscle()
           
 void addPanel()
           
 void addProbes()
           
 void addRigidBodies()
           
 void addSkinMesh()
           
 PropertyList getAllPropertyInfo()
          Returns a list giving static information about all properties exported by this object.
 double getAlpha()
           
 void setAlpha(double alpha)
           
 void setupRenderProps()
           
 
Methods inherited from class artisynth.core.workspace.RootModel
actionPerformed, addBreakPoint, addComponentChangeListener, addController, addController, addControlPanel, addControlPanel, addInputProbe, addInputProbe, addModel, addMonitor, addMonitor, addOutputProbe, addOutputProbe, addRenderable, addRenderable, addTracingProbe, addWayPoint, addWayPoint, advance, applyControllers, applyInputProbes, applyMonitors, applyOutputProbes, attach, checkWrite, clear, clearRenderables, clearTraces, clearTracing, componentChanged, createState, detach, disableAllTracing, disableTracing, dispose, enableTracing, getAbout, getAdaptiveStepping, getControllers, getControlPanels, getControlPanelTabs, getDefaultViewOrientation, getInitialState, getInputProbes, getMainViewer, getMinStepSize, getModelMenuItems, getMonitors, getNextAdvanceTime, getNumTracables, getOutputProbes, getRoot, getState, getTraceSet, getTracingProbe, getTracingProbes, getViewerCenter, getViewerEye, getWayPoint, getWaypointChecking, getWayPoints, hasRoot, hasState, hasTracingProbes, initialize, isCheckEnabled, isFocusable, isTracing, loadControlPanel, makeMenuItem, mergeAllControlPanels, mergeControlPanel, models, notifyParentOfChange, notifyStructureChanged, postscan, prerender, removeAllControllers, removeAllControlPanels, removeAllInputProbes, removeAllModels, removeAllMonitors, removeAllOutputProbes, removeAllWayPoints, removeComponentChangeListener, removeController, removeControlPanel, removeInputProbe, removeModel, removeMonitor, removeOutputProbe, removeRenderable, removeRenderable, removeWayPoint, render, renderables, requestStop, rerender, scan, setAdaptiveStepping, setCheckEnabled, setDefaultValues, setDefaultViewOrientation, setFocusable, setMainViewer, setMaxStepSize, setMinStepSize, setState, setTracingProbesVisible, setViewerCenter, setViewerEye, setWaypointChecking, updateBounds
 
Methods inherited from class artisynth.core.modelbase.RenderableModelBase
createRenderProps, getRenderHints, getRenderProps, getSelection, isSelectable, numSelectionQueriesNeeded, setRenderProps
 
Methods inherited from class artisynth.core.modelbase.ModelBase
copy, getInitialState, getMaxStepSize, hierarchyContainsReferences, preadvance, setInitialState
 
Methods inherited from class artisynth.core.modelbase.ComponentList
add, add, addAll, addComponents, addFixed, addNumbered, clone, contains, contains, containsAll, copy, ensureCapacity, findComponent, get, get, getByNumber, getChildren, getNavpanelDisplay, getNumberLimit, getShortName, getTypeParameter, hasChildren, hasParameterizedType, 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, getSoftReferences, isFixed, isMarked, isSelected, isWritable, makeValidName, makeValidName, 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, isFixed, isMarked, isSelected, 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 artisynth.core.modelbase.ComponentListView
getName
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Field Detail

myProps

public static PropertyList myProps
Constructor Detail

SkinDemo

public SkinDemo()

SkinDemo

public SkinDemo(java.lang.String name)
Method Detail

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 RootModel
Returns:
static information for all exported properties

getAlpha

public double getAlpha()

setAlpha

public void setAlpha(double alpha)

addRigidBodies

public void addRigidBodies()

addBody

public RigidBody addBody(java.lang.String name,
                         RigidTransform3d pose,
                         java.lang.String meshName)

addJoint

public void addJoint()

addMuscle

public void addMuscle()

addAntagonist

public void addAntagonist()

addLoad

public void addLoad()

addEndPoint

public void addEndPoint()

setupRenderProps

public void setupRenderProps()

addPanel

public void addPanel()

addProbes

public void addProbes()

addSkinMesh

public void addSkinMesh()

addFiberMesh

public void addFiberMesh()