public class LaymanModel extends MechModel
ModelComponent.NavpanelVisibility
MechSystem.ConstraintInfo, MechSystem.FrictionInfo
CompositeComponent.NavpanelDisplay
Modifier and Type | Field and Description |
---|---|
static PropertyList |
myProps |
myParametricsInSystemMatrix
DEFAULT_NAVPANEL_DISPLAY
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
ARTICULATED, SIMULATING
COMPUTE_CONTACTS, UPDATE_CONTACTS
TRANSLUCENT, TWO_DIMENSIONAL
Constructor and Description |
---|
LaymanModel() |
LaymanModel(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
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) |
RevoluteJoint |
addRevoluteJoint(RigidBody bodyA,
RigidBody bodyB,
RigidTransform3d XDW) |
SphericalJoint |
addSphericalJoint(RigidBody bodyA,
RigidBody bodyB,
double x,
double y,
double z,
double maxAng) |
SphericalJoint |
addSphericalJoint(RigidBody bodyA,
RigidBody bodyB,
RigidTransform3d XDW,
double maxAng) |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
double |
getFriction() |
void |
setFriction(double mu) |
addAttachment, addAxialSpring, addConstrainer, addForceEffector, addFrameMarker, addFrameMarker, addFrameSpring, addMeshBody, addModel, addMultiPointSpring, addMuscleExciter, addParticle, addRenderable, addRigidBody, addRigidBodyConnector, advance, attachAxialSpring, attachFrameSpring, attachments, attachPoint, attachPoint, attachPoint, attachPoint, attachPoint, axialSprings, checkVelocityStability, clear, clearAxialSprings, clearConstrainers, clearForceEffectors, clearFrameMarkers, clearFrameSprings, clearMeshBodies, clearModels, clearMultiPointSprings, clearParticles, clearRenderables, clearRigidBodies, clearRigidBodyConnectors, closePrintStateFile, combineMatrixTypes, componentChanged, computeDefaultPenetrationTol, constrainers, detachPoint, dispose, forceEffectors, frameMarkers, frameSprings, getAddConstraintForces, getAttachments, getAuxStateComponents, getCollidables, getCollisionBehavior, getCollisionManager, getConstrainers, getDefaultCollisionBehavior, getDynamicComponents, getExcitationColor, getExcitationColorMode, getForceEffectors, getFrameDamping, getFrameDampingMode, getGravity, getGravityMode, getIntegrator, getMatrixSolver, getMaxColoredExcitation, getMaxColoredExcitationMode, getMuscleExciters, getPenetrationTol, getPenetrationTolMode, getPointDamping, getPointDampingMode, getPrintState, getProfiling, getRadius, getRotaryDamping, getRotaryDampingMode, getSlaveObjectComponents, hasState, isActive, lowestCommonModel, meshBodies, models, multiPointSprings, openPrintStateFile, particles, preadvance, projectRigidBodyPositionConstraints, recursivelyFinalizeAdvance, recursivelyInitialize, removeAxialSpring, removeConstrainer, removeForceEffector, removeFrameMarker, removeFrameSpring, removeMeshBody, removeModel, removeMultiPointSpring, removeMuscleExciter, removeParticle, removeRenderable, removeRigidBody, removeRigidBodyConnector, render, renderables, reopenPrintStateFile, rigidBodies, rigidBodyConnectors, scaleDistance, scaleMass, scan, setAddConstraintForces, setBounds, setBounds, setCollisionBehavior, setCollisionBehavior, setCollisionBehavior, setDefaultCollisionBehavior, setDefaultCollisionBehavior, setDefaultCollisionBehavior, setDefaultCollisionBehavior, setExcitationColor, setExcitationColorMode, setFrameDamping, setFrameDampingMode, setGravity, setGravity, setGravityMode, setIntegrator, setMatrixSolver, setMaxColoredExcitation, setMaxColoredExcitationMode, setPenetrationTol, setPenetrationTolIfNecessary, setPenetrationTolMode, setPointDamping, setPointDampingMode, setPrintState, setProfiling, setRotaryDamping, setRotaryDampingMode, topMechModel, transformGeometry, transformGeometry, updateBounds, validateMatrixSolver
addActivePosImpulse, addAttachmentJacobian, addAttachmentSolveBlocks, addGeneralSolveBlocks, addPosJacobian, addVelJacobian, applyAttachmentForces, buildMassMatrix, buildSolveMatrix, copy, createState, createVelocityJacobian, getActiveForces, getActivePosDerivative, getActivePosState, getActivePosStateSize, getActiveStiffness, getActiveVelState, getActiveVelState, getActiveVelStateSize, getAttachmentConstraints, getAttachmentDerivatives, getAuxState, getBilateralConstraints, getBilateralConstraintSizes, getBilateralImpulses, getBilateralImpulses, getBilateralInfo, getDefaultStabilization, getDynamicsEnabled, getFrictionConstraints, getInitialState, getInverseMassMatrix, getMass, getMassMatrix, getNumBilateralImpulses, getNumUnilateralImpulses, getParametricForces, getParametricPosState, getParametricPosStateSize, getParametricPosTarget, getParametricVelState, getParametricVelStateSize, getParametricVelTarget, getPenetrationLimit, getSolveMatrixType, getSolver, getStabilization, getState, getStructureVersion, getUnilateralConstraints, getUnilateralConstraintSizes, getUnilateralImpulses, getUnilateralImpulses, getUnilateralInfo, getUpdateForcesAtStepEnd, hasParameterizedType, initialize, maxFrictionConstraintSets, numActiveComponents, numAttachedComponents, numParametricComponents, printActiveStiffness, reduceVelocityJacobian, setActiveForces, setActivePosState, setActiveVelState, setAuxState, setBilateralImpulses, setBilateralImpulses, setDefaultStabilization, setDynamicsEnabled, setParametricForces, setParametricPosState, setParametricVelState, setPenetrationLimit, setStabilization, setState, setUnilateralImpulses, setUnilateralImpulses, setUpdateForcesAtStepEnd, updateAttachmentPos, updateAttachmentVel, updateConstraints, updateForces, updatePosState, updateVelState, writeBilateralConstraintMatrix, writeMassMatrix, writeStiffnessMatrix
createRenderProps, getRenderHints, getRenderProps, getSelection, isSelectable, numSelectionQueriesNeeded, prerender, setRenderProps
copy, getInitialState, getMaxStepSize, hierarchyContainsReferences, setInitialState, setMaxStepSize
add, add, addAll, addComponents, addFixed, addNumbered, clone, contains, contains, containsAll, ensureCapacity, findComponent, get, get, getByNumber, getChildren, getNavpanelDisplay, getNumberLimit, getShortName, getTypeParameter, hasChildren, indexOf, isEmpty, iterator, nextComponentNumber, numComponents, postscan, remove, remove, removeAll, removeAll, removeComponents, retainAll, setNavpanelDisplay, setNumberingStartAtOne, setShortName, size, toArray, toArray, updateNameMap
checkFlag, checkName, checkNameUniqueness, clearFlag, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, isFixed, isMarked, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setSelected, updateReferences, write
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMaxStepSize, initialize
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, isFixed, isMarked, isSelected, notifyParentOfChange, postscan, setFixed, setMarked, setName, setNumber, setParent, setSelected, updateReferences
getProperty
getChildren, hasChildren
isWritable, write
createState, getInitialState, getState, setState
addActivePosImpulse, addPosJacobian, addVelJacobian, buildMassMatrix, buildSolveMatrix, getActiveForces, getActivePosDerivative, getActivePosState, getActivePosStateSize, getActiveVelState, getActiveVelStateSize, getBilateralConstraints, getBilateralImpulses, getBilateralInfo, getFrictionConstraints, getInverseMassMatrix, getMassMatrix, getParametricForces, getParametricPosState, getParametricPosStateSize, getParametricPosTarget, getParametricVelState, getParametricVelStateSize, getParametricVelTarget, getSolveMatrixType, getStructureVersion, getUnilateralConstraints, getUnilateralImpulses, getUnilateralInfo, maxFrictionConstraintSets, numActiveComponents, numParametricComponents, setActiveForces, setActivePosState, setActiveVelState, setBilateralImpulses, setParametricForces, setParametricPosState, setParametricVelState, setUnilateralImpulses, updateConstraints, updateForces
getName
public static PropertyList myProps
public LaymanModel()
public LaymanModel(java.lang.String name) throws java.io.IOException
java.io.IOException
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class MechModel
public double getFriction()
public void setFriction(double mu)
setFriction
in class MechModel
public void addFrameSpring(RigidBody bodyA, RigidBody bodyB, double x, double y, double z, double kRot)
public RigidBody addBody(java.lang.String bodyName, java.lang.String meshName) throws java.io.IOException
java.io.IOException
public SphericalJoint addSphericalJoint(RigidBody bodyA, RigidBody bodyB, double x, double y, double z, double maxAng)
public SphericalJoint addSphericalJoint(RigidBody bodyA, RigidBody bodyB, RigidTransform3d XDW, double maxAng)
public RevoluteJoint addRevoluteJoint(RigidBody bodyA, RigidBody bodyB, RigidTransform3d XDW)
public RevoluteJoint addRevoluteJoint(RigidBody bodyA, RigidBody bodyB, double x, double y, double z)