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
TG_ARTICULATED, TG_DRAGGER, TG_PRESERVE_ORIENTATION, TG_SIMULATING
COMPUTE_CONTACTS, UPDATE_CONTACTS
TRANSPARENT, 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, validateMatrixSolver
addActivePosImpulse, 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, writeStiffnessMatrix
createRenderProps, getRenderHints, getRenderProps, getSelection, isSelectable, numSelectionQueriesNeeded, prerender, setRenderProps
actionPerformed, copy, getInitialState, getMaxStepSize, getMenuItems, 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, invalidateNumbers, isEmpty, iterator, nextComponentNumber, numComponents, postscan, remove, remove, removeAll, removeAll, removeComponents, retainAll, set, setNavpanelDisplay, setNumbered, setNumberingStartAtOne, setShortName, size, toArray, toArray, updateNameMap
checkFlag, 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, write
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
advance, 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 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)