artisynth.demos.mech
Class FrameSpringDemo
java.lang.Object
artisynth.core.modelbase.ModelComponentBase
artisynth.core.modelbase.ComponentList<ModelComponent>
artisynth.core.modelbase.ModelBase
artisynth.core.modelbase.RenderableModelBase
artisynth.core.workspace.RootModel
artisynth.demos.mech.FrameSpringDemo
- 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
- Direct Known Subclasses:
- PointForceDemo
public class FrameSpringDemo
- extends RootModel
Method Summary |
RigidBody |
addBody(java.lang.String bodyName,
java.lang.String meshName)
|
void |
addFrameSpring(RigidBody bodyA,
RigidBody bodyB,
double x,
double y,
double z,
double kRot)
|
RevoluteJoint |
addRevoluteJoint(RigidBody bodyA,
RigidBody bodyB,
double x,
double y,
double z)
|
SphericalJoint |
addSphericalJoint(RigidBody bodyA,
RigidBody bodyB,
double x,
double y,
double z)
|
SphericalJoint |
addSphericalJoint(RigidBody bodyA,
RigidBody bodyB,
RigidTransform3d XDW)
|
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, getAllPropertyInfo, 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.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 java.util.Collection |
equals, hashCode |
FrameSpringDemo
public FrameSpringDemo()
FrameSpringDemo
public FrameSpringDemo(java.lang.String name)
throws java.io.IOException
- Throws:
java.io.IOException
addFrameSpring
public void addFrameSpring(RigidBody bodyA,
RigidBody bodyB,
double x,
double y,
double z,
double kRot)
addBody
public RigidBody addBody(java.lang.String bodyName,
java.lang.String meshName)
throws java.io.IOException
- Throws:
java.io.IOException
addRevoluteJoint
public RevoluteJoint addRevoluteJoint(RigidBody bodyA,
RigidBody bodyB,
double x,
double y,
double z)
addSphericalJoint
public SphericalJoint addSphericalJoint(RigidBody bodyA,
RigidBody bodyB,
double x,
double y,
double z)
addSphericalJoint
public SphericalJoint addSphericalJoint(RigidBody bodyA,
RigidBody bodyB,
RigidTransform3d XDW)