public class SphericalJoint extends SphericalJointBase
ModelComponent.NavpanelVisibility
HasAuxState.StateContext
Modifier and Type | Field and Description |
---|---|
static PropertyList |
myProps |
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
COPY_REFERENCES
ARTICULATED, SIMULATING
TRANSLUCENT, TWO_DIMENSIONAL
Constructor and Description |
---|
SphericalJoint() |
SphericalJoint(RigidBody bodyA,
RigidBody bodyB,
Point3d worldPnt) |
SphericalJoint(RigidBody bodyA,
RigidBody bodyB,
RigidTransform3d XWJ) |
SphericalJoint(RigidBody bodyA,
RigidTransform3d XFA,
RigidBody bodyB,
RigidTransform3d XDB) |
SphericalJoint(RigidBody bodyA,
RigidTransform3d XFA,
RigidTransform3d XDW) |
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) |
createRenderProps, prerender, render, setDefaultValues, updateBounds
getAxisLength, getPosition, getRenderFrame, scaleDistance, setAxisLength
addBilateralConstraints, addFrictionConstraints, addFrictionConstraints, addUnilateralConstraints, advanceAuxState, connectToHierarchy, disconnectFromHierarchy, getActivation, getAuxState, getBilateralBlockA, getBilateralBlockB, getBilateralConstraints, 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, getUnilateralConstraints, 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
getRenderHints, getRenderProps, getSelection, isSelectable, numSelectionQueriesNeeded, setRenderProps, updateRenderProps
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCopyReferences, isDuplicatable
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, postscan, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, updateReferences
getProperty
getChildren, hasChildren
isWritable, write
public static PropertyList myProps
public SphericalJoint()
public SphericalJoint(RigidBody bodyA, RigidTransform3d XFA, RigidTransform3d XDW)
public SphericalJoint(RigidBody bodyA, RigidTransform3d XFA, 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()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class SphericalJointBase
public 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)
CopyableComponent
COPY_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 CopyableComponent
copy
in class SphericalJointBase