public class ShellNodeFem3dAttachment extends PointFem3dAttachment implements HasAttachments
ModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibilityenforceUniqueCompositeNames, enforceUniqueNames, myNumber, myProps, NULL_OBJ, useCompactPathNamesCOPY_REFERENCES, REST_POSITION| Constructor and Description |
|---|
ShellNodeFem3dAttachment() |
ShellNodeFem3dAttachment(FemNode3d node) |
ShellNodeFem3dAttachment(FemNode3d node,
FemModel3d fem) |
ShellNodeFem3dAttachment(FemNode3d node,
FemNode3d[] nodes,
double[] coords) |
| Modifier and Type | Method and Description |
|---|---|
void |
connectToHierarchy(CompositeComponent hcomp)
Update the attachment position state whenever we connect to the parent
(i.e., plug in to the hierarchy).
|
void |
disconnectFromHierarchy(CompositeComponent hcomp)
Update the attachment position state whenever we connect to the parent
(i.e., plug in to the hierarchy).
|
void |
getAttachments(java.util.List<DynamicAttachment> list)
Returns the attachments contained by this component.
|
DirectorFem3dAttachment |
getDirectorAttachment() |
FemNode3d |
getNode() |
boolean |
hasDirectorAttachment() |
void |
postscan(java.util.Deque<ScanToken> tokens,
CompositeComponent ancestor)
Performs any required post-scanning for this component.
|
boolean |
setFromElement(Point3d pos,
FemElement elem,
double reduceTol) |
void |
updateAttachment()
Update attachment to reflect changes in the slave state.
|
void |
writeItems(java.io.PrintWriter pw,
NumberFormat fmt,
CompositeComponent ancestor) |
add1DConstraintBlocks, add2DConstraintBlocks, addMassToMasters, addMassToNodeMasters, addRelativeVelocity, addTargetJacobian, applyForces, collectMasterComponents, computeForceOnMasters, computeNodeCoordinates, copy, create, getCoordinate, getCoordinates, getCurrentPos, getCurrentVel, getDerivative, getElement, getGT, getHardReferences, getNodes, getRestPosition, isControllable, mulSubGT, mulSubGTM, mulSubMG, setFromElement, setFromFem, setFromFem, setFromNodes, setFromNodes, setFromNodes, setFromNodes, updatePosStates, updateVelStatescheckMasterBlocks, getCopyReferences, getMasters, getPoint, getSlave, invalidateMasters, isDuplicatable, notifyMastersOfPositionChange, numMastersaddBackRefs, addBackRefs, addConnectedMasterRefs, clone, connectAttachment, getAttachment, oneMasterActive, oneMasterNotAttached, removeBackRefs, removeBackRefs, removeConnectedMasterRefs, setSlaveAffectsStiffness, slaveAffectsStiffnesscheckFlag, checkName, checkNameUniqueness, clearFlag, createTempFlag, getAllPropertyInfo, getChildren, getGrandParent, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, hasState, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences, writeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferencesgetAllPropertyInfo, getPropertygetChildren, hasChildrenisWritable, writepublic ShellNodeFem3dAttachment()
public ShellNodeFem3dAttachment(FemNode3d node)
public ShellNodeFem3dAttachment(FemNode3d node, FemModel3d fem)
public FemNode3d getNode()
public boolean hasDirectorAttachment()
public DirectorFem3dAttachment getDirectorAttachment()
public void updateAttachment()
PointFem3dAttachmentupdateAttachment in interface DynamicAttachmentupdateAttachment in class PointFem3dAttachmentpublic boolean setFromElement(Point3d pos, FemElement elem, double reduceTol)
setFromElement in class PointFem3dAttachmentpublic void connectToHierarchy(CompositeComponent hcomp)
DynamicAttachmentBaseconnectToHierarchy in interface ModelComponentconnectToHierarchy in class DynamicAttachmentBasehcomp - hierarchy component to which this component,
or its ancestor, was attachedpublic void disconnectFromHierarchy(CompositeComponent hcomp)
DynamicAttachmentBasedisconnectFromHierarchy in interface ModelComponentdisconnectFromHierarchy in class DynamicAttachmentBasehcomp - hierarchy component from which this component,
or its ancestor, was detachedpublic void getAttachments(java.util.List<DynamicAttachment> list)
HasAttachmentsgetAttachments in interface HasAttachmentspublic void postscan(java.util.Deque<ScanToken> tokens, CompositeComponent ancestor) throws java.io.IOException
PostScannablescan() method and stored in the token queue.
The most common use of this method is to resolve the paths
of component references, which may not have been created
at the time of the initial scan() call.postscan in interface PostScannablepostscan in class ModelComponentBasetokens - token information that was stored during
scan().ancestor - ancestor component with respect to which
reference component paths are defined.java.io.IOException - if an error is encountered (such as a reference to a
non-existent component)public void writeItems(java.io.PrintWriter pw,
NumberFormat fmt,
CompositeComponent ancestor)
throws java.io.IOException
writeItems in class PointFem3dAttachmentjava.io.IOException