public abstract class DynamicComponentBase extends RenderableComponentBase implements DynamicComponent
ModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibility| Modifier and Type | Field and Description |
|---|---|
protected DynamicAttachment |
myAttachment |
protected java.util.LinkedList<AttachingComponent> |
myAttachmentRequests |
protected java.util.ArrayList<Constrainer> |
myConstrainers |
protected boolean |
myDynamicP |
protected java.util.LinkedList<DynamicAttachment> |
myMasterAttachments |
protected int |
mySolveIdx |
myProps, myRenderPropsANCESTOR_SELECTED, DEFAULT_NAVPANEL_VISIBILITY, enforceUniqueCompositeNames, enforceUniqueNames, FIXED, FREE_FLAG_MASK, freeFlags, MARKED, myFlags, myName, myNumber, myParent, NAVPANEL_ALWAYS, NAVPANEL_HIDDEN, NON_WRITABLE, NULL_OBJ, SCANNING, SELECTED, useCompactPathNamesTG_ARTICULATED, TG_DRAGGER, TG_PRESERVE_ORIENTATION, TG_SIMULATINGTRANSPARENT, TWO_DIMENSIONAL| Constructor and Description |
|---|
DynamicComponentBase() |
createRenderProps, defaultRenderProps, defaultRenderPropsAreNull, getAllPropertyInfo, getRenderHints, getRenderProps, getSelection, isSelectable, isVisible, numSelectionQueriesNeeded, prerender, render, setDefaultValues, setRenderProps, setVisible, updateBounds, updateRenderPropscheckFlag, checkName, checkNameUniqueness, clearFlag, clone, createTempFlag, dowrite, getChildren, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, postscanAttributeName, postscanItem, postscanReference, postscanReferences, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, scanAndStoreReference, scanAndStoreReferences, scanAttributeName, scanItem, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences, write, writeItemsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddForce, addPosImpulse, applyExternalForces, applyGravity, createMassBlock, getEffectiveMass, getEffectiveMass, getEffectiveMassForces, getForce, getMass, getMass, getPosDerivative, getPosState, getPosStateSize, getState, getVelState, getVelStateSize, hasForce, isMassConstant, mulInverseEffectiveMass, resetEffectiveMass, setForce, setPosState, setRandomForce, setRandomPosState, setRandomVelState, setState, setVelState, velocityLimitExceeded, zeroExternalForces, zeroForcesadvanceState, getAuxVarDerivative, getAuxVarState, getStateVersion, numAuxVars, requiresAdvance, setAuxVarStategetHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferencesgetAllPropertyInfo, getPropertygetChildren, hasChildrenpostscanisWritable, writeaddPosJacobian, addSolveBlocks, addVelJacobian, applyForces, getJacobianTypetransformPriorityprotected DynamicAttachment myAttachment
protected java.util.LinkedList<DynamicAttachment> myMasterAttachments
protected java.util.LinkedList<AttachingComponent> myAttachmentRequests
protected java.util.ArrayList<Constrainer> myConstrainers
protected boolean myDynamicP
protected int mySolveIdx
public DynamicAttachment getAttachment()
getAttachment in interface DynamicAgentprotected void setDynamic(boolean dynamic)
dynamic property for this component. If the property
value is true, the component's position/velocity state will
evolve in time in response to forces. Typically, this method is made
publicly available only for components which contain mass, since force
response is ill-defined for components which don't.dynamic - setting for the dynamic propertypublic boolean isDynamic()
isDynamic in interface DynamicAgentpublic void setAttached(DynamicAttachment attachment)
setAttached in interface DynamicAgentpublic boolean isActive()
isActive in interface DynamicAgentpublic boolean isAttached()
isAttached in interface DynamicAgentpublic boolean isParametric()
isParametric in interface DynamicAgentpublic boolean isControllable()
isControllable in interface DynamicAgentpublic int getSolveIndex()
getSolveIndex in interface DynamicAgentpublic void setSolveIndex(int idx)
setSolveIndex in interface DynamicAgentpublic abstract void addSolveBlock(SparseNumberedBlockMatrix S)
addSolveBlock in interface DynamicAgentpublic void getInverseMass(Matrix Minv, Matrix M)
getInverseMass in interface DynamicAgentpublic void addMasterAttachment(DynamicAttachment a)
addMasterAttachment in interface DynamicAgentpublic void removeMasterAttachment(DynamicAttachment a)
removeMasterAttachment in interface DynamicAgentpublic java.util.LinkedList<DynamicAttachment> getMasterAttachments()
getMasterAttachments in interface DynamicAgentpublic java.util.List<Constrainer> getConstrainers()
getConstrainers in interface DynamicAgentpublic void addConstrainer(Constrainer c)
addConstrainer in interface DynamicAgentpublic boolean removeConstrainer(Constrainer c)
removeConstrainer in interface DynamicAgentpublic DynamicComponentBase copy(int flags, java.util.Map<ModelComponent,ModelComponent> copyMap)
copy in class RenderableComponentBasepublic boolean hasState()
hasState in interface HasNumericStatehasState in interface ModelComponenthasState in class ModelComponentBasepublic void transformGeometry(AffineTransform3dBase X)
transformGeometry in interface TransformableGeometrypublic void addTransformableDependencies(TransformGeometryContext context, int flags)
addTransformableDependencies in interface TransformableGeometrypublic void transformGeometry(GeometryTransformer gtr, TransformGeometryContext context, int flags)
transformGeometry in interface TransformableGeometrypublic void addAttachmentRequest(AttachingComponent ac)
addAttachmentRequest in interface DynamicComponentpublic boolean removeAttachmentRequest(AttachingComponent ac)
removeAttachmentRequest in interface DynamicComponentpublic void connectToHierarchy(CompositeComponent comp)
connectToHierarchy in interface ModelComponentconnectToHierarchy in class ModelComponentBasepublic void disconnectFromHierarchy(CompositeComponent comp)
disconnectFromHierarchy in interface ModelComponentdisconnectFromHierarchy in class ModelComponentBase