public class LaymanModel extends MechModel
ModelComponent.NavpanelVisibilityMechSystem.ConstraintInfo, MechSystem.FrictionInfoCompositeComponent.NavpanelDisplay| Modifier and Type | Field and Description |
|---|---|
static PropertyList |
myProps |
myParametricsInSystemMatrixDEFAULT_NAVPANEL_DISPLAYenforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNamesTG_ARTICULATED, TG_DRAGGER, TG_PRESERVE_ORIENTATION, TG_SIMULATINGCOMPUTE_CONTACTS, UPDATE_CONTACTSTRANSPARENT, 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 TDW) |
SphericalJoint |
addSphericalJoint(RigidBody bodyA,
RigidBody bodyB,
double x,
double y,
double z,
double maxAng) |
SphericalJoint |
addSphericalJoint(RigidBody bodyA,
RigidBody bodyB,
RigidTransform3d TDW,
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, addBodyConnector, addConstrainer, addForceEffector, addFrame, addFrameMarker, addFrameMarker, addFrameMarker, addFrameSpring, addGeneralMassBlocks, addMeshBody, addModel, addMultiPointSpring, addMuscleExciter, addParticle, addPoint, addRenderable, addRigidBody, addTransformableDependencies, attachAxialSpring, attachFrame, attachFrame, attachFrameSpring, attachments, attachPoint, attachPoint, axialSprings, bodyConnectors, checkVelocityStability, clear, clearAxialSprings, clearBodyConnectors, clearCollisionBehavior, clearCollisionBehaviors, clearCollisionResponse, clearCollisionResponses, clearConstrainers, clearForceEffectors, clearFrameMarkers, clearFrames, clearFrameSprings, clearMeshBodies, clearModels, clearMultiPointSprings, clearParticles, clearPoints, clearRenderables, clearRigidBodies, combineMatrixTypes, componentChanged, computeDefaultPenetrationTol, constrainers, detachFrame, detachPoint, dispose, forceEffectors, frameMarkers, frames, frameSprings, getActingCollisionBehavior, getAddConstraintForces, getAttachments, getAuxStateComponents, getCollidables, getCollisionBehavior, getCollisionManager, getCollisionResponse, getConstrainers, getDefaultCollisionBehavior, getDynamicComponents, getExcitationColor, getExcitationColorMode, getForceEffectors, getFrameDamping, getFrameDampingMode, getGravity, getGravityMode, getIntegrator, getMassMatrixValues, getMatrixSolver, getMaxColoredExcitation, getMaxColoredExcitationMode, getMuscleExciters, getPenetrationTol, getPenetrationTolMode, getPointDamping, getPointDampingMode, getRadius, getRotaryDamping, getRotaryDampingMode, getSlaveObjectComponents, getStaticIncrements, getStaticTikhonovFactor, hasState, isActive, lowestCommonModel, meshBodies, models, mulInverseMass, multiPointSprings, nearestMechModel, particles, points, preadvance, projectRigidBodyPositionConstraints, recursivelyFinalizeAdvance, recursivelyInitialize, removeAxialSpring, removeBodyConnector, removeConstrainer, removeForceEffector, removeFrame, removeFrameMarker, removeFrameSpring, removeMeshBody, removeModel, removeMultiPointSpring, removeMuscleExciter, removeParticle, removePoint, removeRenderable, removeRigidBody, render, renderables, rigidBodies, scaleDistance, scaleMass, scan, setAddConstraintForces, setBounds, setBounds, setCollisionBehavior, setCollisionBehavior, setCollisionBehavior, setCollisionResponse, setCollisionResponse, setDefaultCollisionBehavior, setDefaultCollisionBehavior, setDefaultCollisionBehavior, setDefaultCollisionBehavior, setExcitationColor, setExcitationColorMode, setFrameDamping, setFrameDampingMode, setGravity, setGravity, setGravityMode, setIntegrator, setMatrixSolver, setMaxColoredExcitation, setMaxColoredExcitationMode, setPenetrationTol, setPenetrationTolIfNecessary, setPenetrationTolMode, setPointDamping, setPointDampingMode, setRotaryDamping, setRotaryDampingMode, setStaticIncrements, setStaticTikhonovFactor, topMechModel, transformGeometry, transformGeometry, updateBounds, validateMatrixSolveraddActivePosImpulse, addAttachmentJacobian, addAttachmentSolveBlocks, addGeneralSolveBlocks, addPosJacobian, addVelJacobian, advance, applyAttachmentForces, buildMassMatrix, buildSolveMatrix, closePrintStateFile, collectInitialForces, copy, createState, createVelocityJacobian, getActiveForces, getActiveMass, getActivePosDerivative, getActivePosState, getActivePosStateSize, getActiveStiffness, getActiveVelState, getActiveVelState, getActiveVelStateSize, getAttachmentConstraints, getAttachmentDerivatives, getAuxState, getBilateralConstraints, getBilateralConstraintSizes, getBilateralForces, getBilateralImpulses, getBilateralImpulses, getBilateralInfo, getDefaultStabilization, getDynamicDOFs, getDynamicsEnabled, getForces, getFrictionConstraints, getInitialState, getInverseMassMatrix, getMassMatrix, getNumBilateralImpulses, getNumUnilateralImpulses, getParametricForces, getParametricPosState, getParametricPosStateSize, getParametricPosTarget, getParametricVelState, getParametricVelStateSize, getParametricVelTarget, getPenetrationLimit, getPrintState, getProfiling, getSolveMatrixType, getSolver, getStabilization, getState, getStructureVersion, getUnilateralConstraints, getUnilateralConstraintSizes, getUnilateralForces, getUnilateralImpulses, getUnilateralImpulses, getUnilateralInfo, getUpdateForcesAtStepEnd, getUpdateForcesAtStepEndMode, hasParameterizedType, initialize, maxFrictionConstraintSets, numActiveComponents, numAttachedComponents, numParametricComponents, openPrintStateFile, printActiveStiffness, reduceVelocityJacobian, reopenPrintStateFile, setActiveForces, setActivePosState, setActiveVelState, setAuxState, setBilateralImpulses, setBilateralImpulses, setDefaultStabilization, setDynamicsEnabled, setForces, setParametricForces, setParametricPosState, setParametricVelState, setPenetrationLimit, setPrintState, setPrintState, setProfiling, setStabilization, setState, setUnilateralImpulses, setUnilateralImpulses, setUpdateForcesAtStepEnd, setUpdateForcesAtStepEndMode, topMechSystem, updateAttachmentPos, updateAttachmentVel, updateConstraints, updateForces, updatePosState, updateVelState, writeBilateralConstraintMatrix, writeBilateralConstraintMatrix, writeMassMatrix, writeMassMatrix, writeStiffnessMatrix, writeStiffnessMatrixcreateRenderProps, getRenderHints, getRenderProps, getSelection, isSelectable, numSelectionQueriesNeeded, prerender, setRenderPropsactionPerformed, copy, getInitialState, getMaxStepSize, getMenuItems, hierarchyContainsReferences, setInitialState, setMaxStepSizeadd, add, addAll, addComponents, addFixed, addNumbered, clone, contains, contains, containsAll, ensureCapacity, findComponent, get, get, getByNumber, getChildren, getNavpanelDisplay, getNumberLimit, getShortName, getTypeParameter, hasChildren, indexOf, invalidateNumbers, isEmpty, iterator, nextComponentNumber, numComponents, postscan, remove, remove, removeAll, removeAll, removeComponents, retainAll, set, setNavpanelDisplay, setNumbered, setNumberingStartAtOne, setShortName, size, toArray, toArray, updateNameMapcheckFlag, checkName, checkNameUniqueness, clearFlag, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, isConnectedToHierarchy, isFixed, isMarked, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setSelected, updateReferences, writeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadvance, getMaxStepSize, initializeconnectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, isFixed, isMarked, isSelected, notifyParentOfChange, postscan, setFixed, setMarked, setName, setNumber, setParent, setSelected, updateReferencesgetPropertygetChildren, hasChildrenisWritable, writecreateState, getInitialState, getState, setStateaddActivePosImpulse, 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, updateForcesgetNamepublic static PropertyList myProps
public LaymanModel()
public LaymanModel(java.lang.String name)
throws java.io.IOException
java.io.IOExceptionpublic PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiesgetAllPropertyInfo in class MechModelpublic double getFriction()
public void setFriction(double mu)
setFriction in class MechModelpublic 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.IOExceptionpublic SphericalJoint addSphericalJoint(RigidBody bodyA, RigidBody bodyB, double x, double y, double z, double maxAng)
public SphericalJoint addSphericalJoint(RigidBody bodyA, RigidBody bodyB, RigidTransform3d TDW, double maxAng)
public RevoluteJoint addRevoluteJoint(RigidBody bodyA, RigidBody bodyB, RigidTransform3d TDW)
public RevoluteJoint addRevoluteJoint(RigidBody bodyA, RigidBody bodyB, double x, double y, double z)