public class ShellNodeFem3dAttachment extends PointFem3dAttachment implements HasAttachments
ModelComponent.NavpanelVisibility
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, myProps, NULL_OBJ, useCompactPathNames
COPY_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, updateVelStates
checkMasterBlocks, getCopyReferences, getMasters, getPoint, getSlave, invalidateMasters, isDuplicatable, notifyMastersOfPositionChange, numMasters
addBackRefs, addBackRefs, addConnectedMasterRefs, clone, connectAttachment, getAttachment, oneMasterActive, oneMasterNotAttached, removeBackRefs, removeBackRefs, removeConnectedMasterRefs, setSlaveAffectsStiffness, slaveAffectsStiffness
checkFlag, 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, write
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferences
getAllPropertyInfo, getProperty
getChildren, hasChildren
isWritable, write
public ShellNodeFem3dAttachment()
public ShellNodeFem3dAttachment(FemNode3d node)
public ShellNodeFem3dAttachment(FemNode3d node, FemModel3d fem)
public FemNode3d getNode()
public boolean hasDirectorAttachment()
public DirectorFem3dAttachment getDirectorAttachment()
public void updateAttachment()
PointFem3dAttachment
updateAttachment
in interface DynamicAttachment
updateAttachment
in class PointFem3dAttachment
public boolean setFromElement(Point3d pos, FemElement elem, double reduceTol)
setFromElement
in class PointFem3dAttachment
public void connectToHierarchy(CompositeComponent hcomp)
DynamicAttachmentBase
connectToHierarchy
in interface ModelComponent
connectToHierarchy
in class DynamicAttachmentBase
hcomp
- hierarchy component to which this component,
or its ancestor, was attachedpublic void disconnectFromHierarchy(CompositeComponent hcomp)
DynamicAttachmentBase
disconnectFromHierarchy
in interface ModelComponent
disconnectFromHierarchy
in class DynamicAttachmentBase
hcomp
- hierarchy component from which this component,
or its ancestor, was detachedpublic void getAttachments(java.util.List<DynamicAttachment> list)
HasAttachments
getAttachments
in interface HasAttachments
public void postscan(java.util.Deque<ScanToken> tokens, CompositeComponent ancestor) throws java.io.IOException
PostScannable
scan()
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 PostScannable
postscan
in class ModelComponentBase
tokens
- 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 PointFem3dAttachment
java.io.IOException