public class SphericalJoint extends SphericalJointBase
ModelComponent.NavpanelVisibilityHasAuxState.StateContext| Modifier and Type | Field and Description |
|---|---|
static PropertyList |
myProps |
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNamesCOPY_REFERENCESTG_ARTICULATED, TG_DRAGGER, TG_PRESERVE_ORIENTATION, TG_SIMULATINGTRANSPARENT, TWO_DIMENSIONAL| Constructor and Description |
|---|
SphericalJoint() |
SphericalJoint(RigidBody bodyA,
RigidBody bodyB,
Point3d worldPnt) |
SphericalJoint(RigidBody bodyA,
RigidBody bodyB,
RigidTransform3d XWJ) |
SphericalJoint(RigidBody bodyA,
RigidTransform3d TCA,
RigidBody bodyB,
RigidTransform3d XDB) |
SphericalJoint(RigidBody bodyA,
RigidTransform3d TCA,
RigidTransform3d TDW) |
| Modifier and Type | Method and Description |
|---|---|
ModelComponent |
copy(int flags,
java.util.Map<ModelComponent,ModelComponent> copyMap)
Create a copy of this component.
|
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
double |
getMaximumTilt() |
Vector3d |
getMaxRotation() |
double |
getMaxTilt() |
boolean |
isRotationLimited() |
boolean |
isTiltLimited() |
void |
setMaximumTilt(double max) |
void |
setMaxRotation(double max) |
void |
setMaxRotation(double maxx,
double maxy,
double maxz) |
void |
setMaxRotation(Vector3d maxRot) |
void |
setMaxTilt(double max) |
void |
setRotationLimited(boolean enable) |
void |
setTiltLimited(boolean enable) |
rendercreateRenderProps, getAxisLength, getDrawFrame, getDrawFrameC, getDrawFrameD, getPosition, getRenderFrame, prerender, scaleDistance, setAxisLength, setDefaultValues, setDrawFrame, setDrawFrameC, setDrawFrameD, updateBoundsaddBilateralConstraints, addFrictionConstraints, addMasterBlocks, addTransformableDependencies, addUnilateralConstraints, advanceAuxState, connectToHierarchy, disconnectFromHierarchy, findAttachedBodies, getActivation, getAuxState, getBilateralConstraints, getBilateralForceInA, getBilateralForceInA, getBilateralImpulses, getBilateralInfo, getBilateralSizes, getBodyA, getBodyB, getBreakAccel, getBreakSpeed, getCompliance, getConstrainedComponents, getContactDistance, getCopyReferences, getCurrentTCW, getCurrentTCW, getCurrentTDW, getCurrentTDW, getCurrentTXW, getDamping, getHardReferences, getInitialAuxState, getLinearCompliance, getOtherBody, getPenetrationTol, getPenetrationTolMode, getPose, getRotaryCompliance, getUnilateralConstraints, getUnilateralForceInA, getUnilateralForceInA, getUnilateralImpulses, getUnilateralInfo, getUnilateralSizes, hasState, hasTranslation, hasUnilateralConstraints, isActive, isDuplicatable, isEnabled, maxFrictionConstraintSets, numBilateralConstraints, numBodies, numUnilateralConstraints, printConstraintInfo, scaleMass, setAuxState, setBilateralImpulses, setBodies, setBodies, setBodies, setBodies, setBreakAccel, setBreakSpeed, setCompliance, setContactDistance, setCurrentTCW, setCurrentTDW, setDamping, setEnabled, setLinearCompliance, setPenetrationTol, setPenetrationTolMode, setRotaryCompliance, setUnilateralImpulses, skipAuxState, transformGeometry, transformGeometry, updateBodyStates, updateConstraints, updateForBodyPositionChange, updateUnilateralConstraints, zeroImpulsesgetRenderHints, getRenderProps, getSelection, isSelectable, numSelectionQueriesNeeded, setRenderProps, updateRenderPropscheckFlag, checkName, checkNameUniqueness, clearFlag, clone, createTempFlag, getChildren, getGrandParent, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, isConnectedToHierarchy, isFixed, isMarked, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setSelected, updateReferences, writeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCopyReferences, isDuplicatableconnectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, postscan, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, updateReferencesgetPropertygetChildren, hasChildrenisWritable, writepublic static PropertyList myProps
public SphericalJoint()
public SphericalJoint(RigidBody bodyA, RigidTransform3d TCA, RigidTransform3d TDW)
public SphericalJoint(RigidBody bodyA, RigidTransform3d TCA, RigidBody bodyB, RigidTransform3d XDB)
public SphericalJoint(RigidBody bodyA, RigidBody bodyB, RigidTransform3d XWJ)
public boolean isTiltLimited()
public void setTiltLimited(boolean enable)
public boolean isRotationLimited()
public void setRotationLimited(boolean enable)
public PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiesgetAllPropertyInfo in class JointBasepublic void setMaximumTilt(double max)
public double getMaximumTilt()
public void setMaxTilt(double max)
public double getMaxTilt()
public void setMaxRotation(Vector3d maxRot)
public void setMaxRotation(double maxx,
double maxy,
double maxz)
public void setMaxRotation(double max)
public Vector3d getMaxRotation()
public ModelComponent copy(int flags, java.util.Map<ModelComponent,ModelComponent> copyMap)
CopyableComponentCOPY_REFERENCES
is set in flags, then any component referenced
by this component should itself be set to a copy. This
should be done first checking copyMap for an
existing copy of the referenced component. If there is no existing
copy, then a copy should be created by calling copy
recursively and adding the new copy to copyMap.copy in interface CopyableComponentcopy in class SphericalJointBaseflags - flags to control the copyingcopyMap - map to possible existing instances of referenced
components