public class OpenSimCustomJoint extends JointBase
ModelComponent.NavpanelVisibility
Modifier and Type | Field and Description |
---|---|
static PropertyList |
myProps |
useOldDerivativeMethod
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
TG_ARTICULATED, TG_DRAGGER, TG_PRESERVE_ORIENTATION, TG_SIMULATING
TRANSPARENT, TWO_DIMENSIONAL
Constructor and Description |
---|
OpenSimCustomJoint(CustomJoint cj) |
OpenSimCustomJoint(RigidBody bodyA,
RigidBody bodyB,
RigidTransform3d XJointWorld,
TransformAxis[] axes,
Coordinate[] coords) |
OpenSimCustomJoint(RigidBody bodyA,
RigidTransform3d XFA,
RigidBody bodyB,
RigidTransform3d XDB,
TransformAxis[] axes,
Coordinate[] coords) |
OpenSimCustomJoint(RigidBody bodyA,
RigidTransform3d XFA,
RigidTransform3d XDW,
TransformAxis[] axes,
Coordinate[] coords) |
OpenSimCustomJoint(SpatialTransform trans,
CoordinateSet coords) |
OpenSimCustomJoint(TransformAxis[] axes,
Coordinate[] coords) |
Modifier and Type | Method and Description |
---|---|
RenderProps |
createRenderProps()
Factory method to create render properties appropriate to this object.
|
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
void |
render(Renderer renderer,
int flags)
Render this object using the functionality of the supplied
Renderer . |
void |
setDefaultValues()
Sets the attributes of this component to their default values.
|
void |
updateBounds(Vector3d pmin,
Vector3d pmax)
Update the minimum and maximum points for this object.
|
copy, getAxisLength, getDrawFrameC, getDrawFrameD, getPosition, getRenderFrame, prerender, scaleDistance, setAxisLength, setDrawFrameC, setDrawFrameD
addBilateralConstraints, addFrictionConstraints, addMasterBlocks, addTransformableDependencies, addUnilateralConstraints, advanceState, connectToHierarchy, disconnectFromHierarchy, findAttachedBodies, getActivation, getBilateralConstraints, getBilateralForceInA, getBilateralForceInA, getBilateralForces, getBilateralInfo, getBilateralSizes, getBodyA, getBodyB, getBreakAccel, getBreakSpeed, getCompliance, getConstrainedComponents, getContactDistance, getCopyReferences, getCurrentTCW, getCurrentTCW, getCurrentTDW, getCurrentTDW, getCurrentTXW, getDamping, getFrameAttachmentA, getFrameAttachmentB, getHardReferences, getLinearCompliance, getOtherBody, getPenetrationTol, getPenetrationTolMode, getPose, getRotaryCompliance, getState, getUnilateralConstraints, getUnilateralForceInA, getUnilateralForceInA, getUnilateralForces, getUnilateralInfo, getUnilateralSizes, hasState, hasTranslation, hasUnilateralConstraints, isActive, isConnectedToBodies, isDuplicatable, isEnabled, maxFrictionConstraintSets, numBilateralConstraints, numBodies, numUnilateralConstraints, printConstraintInfo, scaleMass, setAlwaysAdjustBodyA, setBilateralForces, setBodies, setBodies, setBodies, setBodies, setBreakAccel, setBreakSpeed, setCompliance, setContactDistance, setCurrentTCW, setCurrentTDW, setDamping, setEnabled, setLinearCompliance, setPenetrationTol, setPenetrationTolMode, setRotaryCompliance, setState, setUnilateralForces, transformGeometry, transformGeometry, updateBodyStates, updateConstraints, updateForBodyPositionChange, updateUnilateralConstraints, zeroForces
getRenderHints, getRenderProps, getSelection, isSelectable, isVisible, numSelectionQueriesNeeded, setRenderProps, setVisible, updateRenderProps
checkFlag, checkName, checkNameUniqueness, clearFlag, clone, createTempFlag, getChildren, getGrandParent, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences, write
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStateVersion
getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferences
getProperty
getChildren, hasChildren
postscan
isWritable, write
public static PropertyList myProps
public OpenSimCustomJoint(CustomJoint cj)
public OpenSimCustomJoint(SpatialTransform trans, CoordinateSet coords)
public OpenSimCustomJoint(TransformAxis[] axes, Coordinate[] coords)
public OpenSimCustomJoint(RigidBody bodyA, RigidTransform3d XFA, RigidTransform3d XDW, TransformAxis[] axes, Coordinate[] coords)
public OpenSimCustomJoint(RigidBody bodyA, RigidTransform3d XFA, RigidBody bodyB, RigidTransform3d XDB, TransformAxis[] axes, Coordinate[] coords)
public OpenSimCustomJoint(RigidBody bodyA, RigidBody bodyB, RigidTransform3d XJointWorld, TransformAxis[] axes, Coordinate[] coords)
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class JointBase
public void setDefaultValues()
ModelComponentBase
setDefaultValues
in class JointBase
public void updateBounds(Vector3d pmin, Vector3d pmax)
IsRenderable
updateBounds
in interface IsRenderable
updateBounds
in class JointBase
pmin
- minimum pointpmax
- maximum pointpublic RenderProps createRenderProps()
HasRenderProps
createRenderProps
in interface HasRenderProps
createRenderProps
in class JointBase
public void render(Renderer renderer, int flags)
IsRenderable
Renderer
.render
in interface IsRenderable
render
in class JointBase
renderer
- provides the functionality used to perform the rendering.flags
- flags that may be used to control different
aspects of the rendering. Flags are defined in Renderer
and currently include
Renderer.HIGHLIGHT
and
Renderer.SORT_FACES
.