public class ToyMuscleArm extends RootModel
ModelComponent.NavpanelVisibility
CompositeComponent.NavpanelDisplay
DEFAULT_MODEL_TITLE, myProps, testSaveAndRestoreState
DEFAULT_MAX_STEP_SIZE
DEFAULT_NAVPANEL_DISPLAY
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
TRANSPARENT, TWO_DIMENSIONAL
STATE_IS_VOLATILE
Constructor and Description |
---|
ToyMuscleArm() |
Modifier and Type | Method and Description |
---|---|
HingeJoint |
addHingeJoint(RigidBody body0,
RigidBody body1,
double x0,
double z0,
double minDeg,
double maxDeg)
Adds a hinge joint between body0 and body1, at world coordinates
(x0,0,z0) and with the joint axis parallel to y.
|
Muscle |
addMuscle(RigidBody body0,
double x0,
double z0,
RigidBody body1,
double x1,
double z1)
Add an axial muscle between body0 and body1 using markers attached at
world coords (x0,0,z0) and (x1,0,z1), respectively.
|
MultiPointMuscle |
addWrappedMuscle(RigidBody body0,
double x0,
double z0,
RigidBody body1,
double x1,
double z1,
Wrappable wrapBody)
Add an wrapped muscle between body0 and body1 using markers attached at
world coords (x0,0,z0) and (x1,0,z1) and wrapping around wrapBody.
|
void |
build(java.lang.String[] args) |
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, findSourceDir, getAbout, getAdaptiveStepping, getAllPropertyInfo, getControllers, getControlPanels, getControlPanelTabs, getDefaultViewOrientation, getInitialState, getInputProbes, getMainFrame, getMainViewer, getMinStepSize, getModelTitle, getMonitors, getNextAdvanceTime, getNumTraceables, getOutputProbes, getRoot, getSourceRelativePath, getStartTime, getState, getState, getStopRequest, getTaskManager, getTestSaveRestoreState, getTraceSet, getTracingProbe, getTracingProbes, getViewerCenter, getViewerEye, getViewerUp, getWayPoint, getWayPointChecking, getWayPoints, getWorkingFolder, hasRoot, hasState, hasTracingProbes, initialize, invalidateInitialState, isBaseProperty, isCheckEnabled, isFocusable, isTracing, loadControlPanel, mergeAllControlPanels, mergeControlPanel, models, notifyParentOfChange, notifyStructureChanged, postscan, postscanInitialize, prerender, removeAllControllers, removeAllControlPanels, removeAllInputProbes, removeAllModels, removeAllMonitors, removeAllOutputProbes, removeAllWayPoints, removeComponentChangeListener, removeController, removeControlPanel, removeInputProbe, removeModel, removeMonitor, removeOutputProbe, removeRenderable, removeRenderable, removeWayPoint, render, renderables, rerender, resetInitialState, scan, scanProbes, setAdaptiveStepping, setCheckEnabled, setDefaultValues, setDefaultViewOrientation, setDefaultViewOrientation, setFocusable, setMainViewer, setMaxStepSize, setMinStepSize, setModelTitle, setStartTime, setState, setStopRequest, setTaskManager, setTestSaveRestoreState, setTracingProbesVisible, setViewerCenter, setViewerEye, setViewerUp, setWayPointChecking, setWorkingFolder, stopAdvance, updateBounds, write
createRenderProps, getRenderHints, getRenderProps, getSelection, isSelectable, numSelectionQueriesNeeded, setRenderProps
actionPerformed, copy, getDefaultMaxStepSize, getMaxStepSize, getMenuItems, hasParameterizedType, hierarchyContainsReferences, preadvance, setDefaultMaxStepSize
add, add, addAll, addComponents, addFixed, addNumbered, clone, contains, contains, containsAll, copy, ensureCapacity, findComponent, get, get, getByNumber, getChildren, getNavpanelDisplay, getNumberLimit, getOneBasedNumbering, getParameterType, getShortName, hasChildren, indexOf, invalidateNumbers, isEditable, isEmpty, iterator, nextComponentNumber, numComponents, remove, remove, removeAll, removeAll, removeComponents, resetNumbersToIndices, retainAll, set, setEditable, setNavpanelDisplay, setNumbered, setOneBasedNumbering, setShortName, size, toArray, toArray, updateNameMap
checkFlag, checkName, checkNameUniqueness, clearFlag, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences, write
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, isFixed, isMarked, isSelected, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferences
getProperty
getChildren, hasChildren
isWritable, write
getName
public Muscle addMuscle(RigidBody body0, double x0, double z0, RigidBody body1, double x1, double z1)
public MultiPointMuscle addWrappedMuscle(RigidBody body0, double x0, double z0, RigidBody body1, double x1, double z1, Wrappable wrapBody)
public HingeJoint addHingeJoint(RigidBody body0, RigidBody body1, double x0, double z0, double minDeg, double maxDeg)