public class LaymanModel extends MechModel
MechSystemBase.ConstraintForceStateSaver
ModelComponent.NavpanelVisibility
MechSystem.ConstraintInfo
CompositeComponent.NavpanelDisplay
Modifier and Type | Field and Description |
---|---|
static PropertyList |
myProps |
DEFAULT_STABILIZATION, DEFAULT_USE_IMPLICIT_FRICTION, myParametricsInSystemMatrix, mySaveForcesAsState, useAllDynamicComps
DEFAULT_MAX_STEP_SIZE
DEFAULT_NAVPANEL_DISPLAY
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
TG_ARTICULATED, TG_DRAGGER, TG_PRESERVE_ORIENTATION, TG_SIMULATING
STATE_IS_VOLATILE
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) |
HingeJoint |
addHingeJoint(RigidBody bodyA,
RigidBody bodyB,
double x,
double y,
double z) |
HingeJoint |
addHingeJoint(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()
Returns the global friction coefficient in the collision manager for this
MechModel.
|
void |
setFriction(double mu)
Sets the global friction coefficient in the collision manager for this
MechModel.
|
addAttachment, addAxialSpring, addBodyConnector, addConstrainer, addField, addForceEffector, addFrame, addFrameMarker, addFrameMarker, addFrameMarker, addFrameMarkerWorld, 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, clearFields, clearForceEffectors, clearFrameMarkers, clearFrames, clearFrameSprings, clearMeshBodies, clearModels, clearMultiPointSprings, clearMuscleExciters, clearParticles, clearPoints, clearRenderables, clearRigidBodies, combineMatrixTypes, componentChanged, computeDefaultPenetrationTol, computeDefaultWrapKnotDensity, constrainers, detachFrame, detachPoint, dispose, forceEffectors, frameMarkers, frames, frameSprings, getActingCollisionBehavior, getActiveStiffnessMatrix, getAddConstraintForces, getAddFrameMarkerStiffness, getAttachments, getAuxStateComponents, getCollidables, getCollisionBehavior, getCollisionManager, getCollisionResponse, getConstrainers, getDefaultCollisionBehavior, getDynamicComponents, getDynamicComponents, getExcitationColor, getExcitationColorMode, getFields, getForceEffectors, getFrameDamping, getFrameDampingMode, getGravity, getGravityMode, getInertialDamping, getInertialDampingMode, getIntegrator, getMassMatrixValues, getMaxColoredExcitation, getMaxColoredExcitationMode, getMuscleExciters, getPenetrationTol, getPenetrationTolMode, getPointDamping, getPointDampingMode, getRadius, getRotaryDamping, getRotaryDampingMode, getRotaryLimitTol, getRotaryLimitTolMode, getSlaveObjectComponents, getStaticIncrements, getStaticTikhonovFactor, getStiffnessMatrix, getTrueStiffnessMatrix, getWrapKnotDensity, getWrapKnotDensityMode, getYPRStiffnessMatrix, hasState, isActive, isBilateralStructureConstant, lowestCommonModel, meshBodies, models, mulInverseMass, multiPointSprings, nearestMechModel, particles, points, preadvance, projectRigidBodyPositionConstraints, recursivelyFinalizeAdvance, recursivelyInitialize, recursivelyPrepareAdvance, removeAxialSpring, removeBodyConnector, removeConstrainer, removeField, removeForceEffector, removeFrame, removeFrameMarker, removeFrameSpring, removeMeshBody, removeModel, removeMultiPointSpring, removeMuscleExciter, removeParticle, removePoint, removeRenderable, removeRigidBody, render, renderables, rigidBodies, scaleDistance, scaleMass, scan, setAddConstraintForces, setAddFrameMarkerStiffness, setBounds, setBounds, setCollisionBehavior, setCollisionBehavior, setCollisionBehavior, setCollisionResponse, setCollisionResponse, setCompliantContact, setCompliantContact, setDefaultCollisionBehavior, setDefaultCollisionBehavior, setDefaultCollisionBehavior, setDefaultCollisionBehavior, setExcitationColor, setExcitationColorMode, setFrameDamping, setFrameDampingMode, setGravity, setGravity, setGravityMode, setInertialDamping, setInertialDampingMode, setMaxColoredExcitation, setMaxColoredExcitationMode, setPenetrationTol, setPenetrationTolIfNecessary, setPenetrationTolMode, setPointDamping, setPointDampingMode, setRotaryDamping, setRotaryDampingMode, setRotaryLimitTol, setRotaryLimitTolMode, setStaticIncrements, setStaticTikhonovFactor, setWrapKnotDensity, setWrapKnotDensityMode, topMechModel, transformGeometry, transformGeometry, updateBounds, updateWrapSegments
addActivePosImpulse, addAttachmentJacobian, addAttachmentSolveBlocks, addGeneralSolveBlocks, addPosJacobian, addVelJacobian, advance, advanceAuxState, applyAttachmentForces, buildMassMatrix, buildSolveMatrix, closePrintStateFile, collectInitialForces, copy, createState, createVelocityJacobian, getActiveDampingMatrix, getActiveDynamicComponents, getActiveForces, getActiveMass, getActiveMassMatrix, getActivePosDerivative, getActivePosState, getActivePosStateSize, getActiveVelState, getActiveVelState, getActiveVelStateSize, getAttachmentConstraints, getAttachmentDerivatives, getAuxAdvanceState, getAuxVarDerivative, getAuxVarState, getAuxVarStateSize, getBilateralConstraints, getBilateralConstraintSizes, getBilateralForces, getBilateralForces, getBilateralInfo, getDefaultMatrixSolver, getDefaultStabilization, getDefaultUseImplicitFriction, getDynamicComponents, getDynamicDOFs, getDynamicsEnabled, getForces, getFrictionConstraints, getFrictionForces, getFrictionForces, getFrictionState, getFrictionState, getInitialState, getInverseMassMatrix, getMassMatrix, getMatrixSolver, getMatrixSolverRange, getNumBilateralForces, getNumUnilateralForces, getParametricForces, getParametricPosState, getParametricPosStateSize, getParametricPosTarget, getParametricVelState, getParametricVelStateSize, getParametricVelTarget, getPenetrationLimit, getPrintState, getProfiling, getSolveMatrixType, getSolver, getStabilization, getState, getStructureVersion, getUnilateralConstraints, getUnilateralConstraintSizes, getUnilateralForces, getUnilateralForces, getUnilateralInfo, getUnilateralState, getUnilateralState, getUpdateForcesAtStepEnd, getUpdateForcesAtStepEndMode, getUseImplicitFriction, initialize, maxFrictionConstraintSets, numActiveComponents, numAttachedComponents, numParametricComponents, openPrintStateFile, placeDynamicComponent, printActiveMass, printActiveMass, printActiveStiffness, printActiveStiffness, reduceVelocityJacobian, reopenPrintStateFile, setActiveForces, setActivePosState, setActiveVelState, setAuxAdvanceState, setAuxVarState, setBilateralForces, setBilateralForces, setDefaultMatrixSolver, setDefaultStabilization, setDefaultUseImplicitFriction, setDynamicsEnabled, setForces, setFrictionForces, setFrictionForces, setFrictionState, setFrictionState, setIntegrator, setMatrixSolver, setParametricForces, setParametricPosState, setParametricVelState, setPenetrationLimit, setPrintState, setPrintState, setProfiling, setStabilization, setState, setUnilateralForces, setUnilateralForces, setUnilateralState, setUnilateralState, setUpdateForcesAtStepEnd, setUpdateForcesAtStepEndMode, setUseImplicitFriction, topMechSystem, updateAttachmentPos, updateAttachmentVel, updateConstraints, updateForces, updatePosState, updateVelState, writeBilateralConstraintMatrix, writeBilateralConstraintMatrix, writeMassMatrix, writeMassMatrix, writePrintStateHeader, writeStiffnessMatrix, writeStiffnessMatrix
createRenderProps, getRenderHints, getRenderProps, getSelection, isSelectable, numSelectionQueriesNeeded, prerender, setRenderProps
actionPerformed, copy, getDefaultMaxStepSize, getMaxStepSize, getMenuItems, hasParameterizedType, hierarchyContainsReferences, setDefaultMaxStepSize, setMaxStepSize
add, add, addAll, addComponents, addFixed, addNumbered, clone, contains, contains, containsAll, ensureCapacity, findComponent, get, get, getByNumber, getChildren, getNavpanelDisplay, getNumberLimit, getOneBasedNumbering, getParameterType, getShortName, hasChildren, indexOf, invalidateNumbers, isEditable, isEmpty, iterator, nextComponentNumber, numComponents, postscan, 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, notifyParentOfChange, 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
transformPriority
getMaxStepSize
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, isFixed, isMarked, isSelected, notifyParentOfChange, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferences
getProperty
getChildren, hasChildren
postscan
isWritable, write
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()
MechModel
getFriction
in class MechModel
public void setFriction(double mu)
MechModel
setFriction
in class MechModel
mu
- global friction coefficientpublic 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 HingeJoint addHingeJoint(RigidBody bodyA, RigidBody bodyB, RigidTransform3d TDW)
public HingeJoint addHingeJoint(RigidBody bodyA, RigidBody bodyB, double x, double y, double z)