artisynth.core.mechmodels
Class MarkerPlanarConnector
java.lang.Object
artisynth.core.modelbase.ModelComponentBase
artisynth.core.modelbase.RenderableComponentBase
artisynth.core.mechmodels.RigidBodyConnector
artisynth.core.mechmodels.PlanarConnector
artisynth.core.mechmodels.MarkerPlanarConnector
- All Implemented Interfaces:
- Constrainer, HasAuxState, RigidBodyConstrainer, CopyableComponent, HasCoordinateFrame, ModelComponent, RenderableComponent, ScalableUnits, TransformableGeometry, java.lang.Cloneable, HasProperties, HierarchyNode, GLRenderable, GLSelectable, HasRenderProps, Renderable, Scannable
public class MarkerPlanarConnector
- extends PlanarConnector
Methods inherited from class artisynth.core.mechmodels.PlanarConnector |
copy, createRenderProps, getAllPropertyInfo, getPlanarActivation, getPlaneSize, isUnilateral, prerender, render, scaleDistance, set, set, setDefaultValues, setPlaneSize, updateBounds |
Methods inherited from class artisynth.core.mechmodels.RigidBodyConnector |
addBilateralConstraints, addFrictionConstraints, addFrictionConstraints, addUnilateralConstraints, advanceAuxState, connectToHierarchy, disconnectFromHierarchy, getActivation, getAuxState, getBilateralBlockA, getBilateralBlockB, getBilateralForceInA, getBilateralForceInA, getBilateralImpulses, getBilateralInfo, getBilateralSizes, getBodyA, getBodyB, getBreakAccel, getBreakSpeed, getCompliance, getContactDistance, getCopyReferences, getCurrentXDB, getCurrentXDW, getCurrentXFA, getCurrentXFW, getDamping, getHardReferences, getInitialAuxState, getLinearCompliance, getPenetrationTol, getPenetrationTolMode, getPose, getRotaryCompliance, getUnilateralBlockA, getUnilateralBlockB, getUnilateralForceInA, getUnilateralForceInA, getUnilateralImpulses, getUnilateralInfo, getUnilateralSizes, getXCA, getXCB, getXDB, getXFA, hasState, hasUnilateralConstraints, isActive, isDuplicatable, isEnabled, maxFrictionConstraintSets, numBilateralConstraints, numBodies, numUnilateralConstraints, scaleMass, setAuxState, setBilateralImpulses, setBodies, setBreakAccel, setBreakSpeed, setCompliance, setContactDistance, setDamping, setEnabled, setLinearCompliance, setPenetrationTol, setPenetrationTolMode, setRotaryCompliance, setUnilateralImpulses, setXDB, setXFA, skipAuxState, transformGeometry, transformGeometry, updateBodyStates, updateConstraints, updateForBodyPositionChange, updateUnilateralConstraints, zeroImpulses |
Methods inherited from class artisynth.core.modelbase.ModelComponentBase |
checkFlag, checkName, checkNameUniqueness, clearFlag, clone, createTempFlag, getChildren, getGrandParent, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, isFixed, isMarked, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, 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, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, postscan, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, updateReferences |
MarkerPlanarConnector
public MarkerPlanarConnector(FrameMarker mkr,
RigidBody bodyB,
RigidTransform3d XPB)
MarkerPlanarConnector
public MarkerPlanarConnector(FrameMarker mkr,
RigidTransform3d XPW)
MarkerPlanarConnector
public MarkerPlanarConnector()
setFrameMarker
public void setFrameMarker(FrameMarker mkr)
getFrameMarker
public FrameMarker getFrameMarker()
getBilateralConstraints
public int getBilateralConstraints(java.util.ArrayList<RigidBodyConstraint> bilaterals)
- Description copied from interface:
RigidBodyConstrainer
- Gets the bilateral constraints associated with this constrainer. They are
supplied by the constrainer and appended to an array list.
- Specified by:
getBilateralConstraints
in interface RigidBodyConstrainer
- Overrides:
getBilateralConstraints
in class RigidBodyConnector
- Parameters:
bilaterals
- array list into which the constrainer places the constraints
getUnilateralConstraints
public double getUnilateralConstraints(java.util.ArrayList<RigidBodyConstraint> unilaterals,
boolean setEngaged)
- Description copied from interface:
RigidBodyConstrainer
- Gets the unilateral constraints associated with this constrainer. They are
supplied by the constrainer and appended to an array list.
- Specified by:
getUnilateralConstraints
in interface RigidBodyConstrainer
- Overrides:
getUnilateralConstraints
in class RigidBodyConnector
- Parameters:
unilaterals
- array list into which the constrainer places the constraintssetEngaged
- if true, recompute the set of unilateral constraints.
If false, the set of unilateral constraints will stay the same.
- Returns:
- maximum penetration of the unilateral constraints
setUnilateral
public void setUnilateral(boolean unilateral)
- Overrides:
setUnilateral
in class PlanarConnector