public interface FrameAttachable extends PointAttachable
ModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibility| Modifier and Type | Method and Description |
|---|---|
FrameAttachment |
createFrameAttachment(Frame frame,
RigidTransform3d TFW)
Returns a FrameAttachment that attaches a
frame to this
component. |
createPointAttachmentconnectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferencesgetAllPropertyInfo, getPropertygetChildren, hasChildrenpostscanisWritable, writeFrameAttachment createFrameAttachment(Frame frame, RigidTransform3d TFW)
frame to this
component. Once attached the frame will follow the body around. The
initial pose of the frame is specified by TFW, which gives
its position and orientation in world coordinates. If TFW is
null, then the current pose of the frame is used. If
frame is null, then a virtual attachment is
created at the initial pose specified by
TFW. frame and TFW cannot both be
null.
In some cases, it may not be possible to attach the frame at the requested location. In that case, the method will relocate the frame to the nearest feasible attachment location.
frame - frame to be attachedTFW - transform from (initial) frame coordinates to world
coordinatesframe to this component