public class SphericalRpyJoint extends SphericalJointBase
ModelComponent.NavpanelVisibility
HasAuxState.StateContext
Modifier and Type | Field and Description |
---|---|
static PropertyList |
myProps |
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
COPY_REFERENCES
TG_ARTICULATED, TG_DRAGGER, TG_PRESERVE_ORIENTATION, TG_SIMULATING
TRANSPARENT, TWO_DIMENSIONAL
Constructor and Description |
---|
SphericalRpyJoint() |
SphericalRpyJoint(ConnectableBody bodyA,
ConnectableBody bodyB,
RigidTransform3d TFW) |
SphericalRpyJoint(RigidBody bodyA,
RigidBody bodyB,
RigidTransform3d XWJ) |
SphericalRpyJoint(RigidBody bodyA,
RigidTransform3d TCA,
RigidBody bodyB,
RigidTransform3d XDB) |
SphericalRpyJoint(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.
|
boolean |
getApplyEuler() |
double |
getPitch() |
DoubleInterval |
getPitchRange() |
double |
getRoll() |
DoubleInterval |
getRollRange() |
Vector3d |
getRpyRad() |
double |
getYaw() |
DoubleInterval |
getYawRange() |
boolean |
scanItem(ReaderTokenizer rtok,
java.util.Deque<ScanToken> tokens) |
void |
setApplyEuler(boolean apply) |
void |
setPitch(double pitch) |
void |
setPitchRange(double min,
double max) |
void |
setPitchRange(DoubleInterval range) |
void |
setRoll(double roll) |
void |
setRollRange(double min,
double max) |
void |
setRollRange(DoubleInterval range) |
void |
setRpyRad(Vector3d rpy) |
void |
setYaw(double yaw) |
void |
setYawRange(double min,
double max) |
void |
setYawRange(DoubleInterval range) |
render
createRenderProps, getAxisLength, getDrawFrame, getDrawFrameC, getDrawFrameD, getPosition, getRenderFrame, prerender, scaleDistance, setAxisLength, setDefaultValues, setDrawFrame, setDrawFrameC, setDrawFrameD, updateBounds
addBilateralConstraints, 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, 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, isConnectedToHierarchy, 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 SphericalRpyJoint()
public SphericalRpyJoint(RigidBody bodyA, RigidTransform3d TCA, RigidTransform3d TDW)
public SphericalRpyJoint(RigidBody bodyA, RigidTransform3d TCA, RigidBody bodyB, RigidTransform3d XDB)
public SphericalRpyJoint(RigidBody bodyA, RigidBody bodyB, RigidTransform3d XWJ)
public SphericalRpyJoint(ConnectableBody bodyA, ConnectableBody bodyB, RigidTransform3d TFW)
public Vector3d getRpyRad()
public void setRpyRad(Vector3d rpy)
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class JointBase
public double getRoll()
public void setRoll(double roll)
public DoubleInterval getRollRange()
public void setRollRange(DoubleInterval range)
public void setRollRange(double min, double max)
public double getPitch()
public void setPitch(double pitch)
public DoubleInterval getPitchRange()
public void setPitchRange(DoubleInterval range)
public void setPitchRange(double min, double max)
public double getYaw()
public void setYaw(double yaw)
public DoubleInterval getYawRange()
public void setYawRange(DoubleInterval range)
public void setYawRange(double min, double max)
public boolean scanItem(ReaderTokenizer rtok, java.util.Deque<ScanToken> tokens) throws java.io.IOException
java.io.IOException
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
flags
- flags to control the copyingcopyMap
- map to possible existing instances of referenced
componentspublic void setApplyEuler(boolean apply)
public boolean getApplyEuler()