|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectartisynth.core.modelbase.ModelComponentBase
artisynth.core.modelbase.ComponentList<ModelComponent>
artisynth.core.modelbase.ModelBase
artisynth.core.modelbase.RenderableModelBase
artisynth.core.workspace.RootModel
artisynth.demos.mech.DoubleArmDemo
public class DoubleArmDemo
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.workspace.RootModel |
---|
myProps, 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 | |
---|---|
DoubleArmDemo()
|
|
DoubleArmDemo(java.lang.String name)
|
Method Summary | |
---|---|
void |
addBody(java.lang.String name,
RigidTransform3d pose,
java.lang.String meshName)
|
void |
addEndPoint()
|
void |
addJoint()
|
void |
addMuscles()
|
void |
addPanel(DriverInterface driver)
|
void |
addRigidBodies()
|
void |
attach(DriverInterface driver)
Attach this root model to a driver program |
void |
detach(DriverInterface driver)
Detach this root model from a driver program. |
void |
setupRenderProps()
|
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 |
Constructor Detail |
---|
public DoubleArmDemo()
public DoubleArmDemo(java.lang.String name)
Method Detail |
---|
public void addRigidBodies()
public void addBody(java.lang.String name, RigidTransform3d pose, java.lang.String meshName)
public void addJoint()
public void addMuscles()
public void addEndPoint()
public void setupRenderProps()
public void addPanel(DriverInterface driver)
public void attach(DriverInterface driver)
RootModel
attach
in class RootModel
driver
- Interface giving access to the frame and viewerpublic void detach(DriverInterface driver)
RootModel
detach
in class RootModel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |