public class FrameMarker extends Marker
ModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibility| Modifier and Type | Field and Description |
|---|---|
static PropertyList |
myProps |
myRenderCoordsenforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNamesCOPY_REFERENCES, REST_POSITIONTG_ARTICULATED, TG_DRAGGER, TG_PRESERVE_ORIENTATION, TG_SIMULATINGTRANSPARENT, TWO_DIMENSIONAL| Constructor and Description |
|---|
FrameMarker() |
FrameMarker(double x,
double y,
double z) |
FrameMarker(Frame frame,
double x,
double y,
double z) |
FrameMarker(Frame frame,
Point3d loc) |
FrameMarker(Point3d loc) |
FrameMarker(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
addTargetJacobian(SparseBlockMatrix J,
int bi)
Add a row to the motion target Jacobian for this motion target.
|
FrameMarker |
copy(int flags,
java.util.Map<ModelComponent,ModelComponent> copyMap)
Create a copy of this component.
|
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
boolean |
getCopyReferences(java.util.List<ModelComponent> refs,
ModelComponent ancestor)
Collects external references which must also be copied in order to
duplicate this component.
|
Point3d |
getDisplacement() |
double |
getDisplacementNorm() |
Frame |
getFrame() |
Point3d |
getLocation() |
void |
getLocation(Point3d loc) |
Point3d |
getRefPos() |
boolean |
isDuplicatable()
Returns true if this component can be duplicated.
|
void |
scaleDistance(double s)
Scales all distance coordinates.
|
void |
setAttached(DynamicAttachment ax)
Attach this component to another via a DynamicAttachment object.
|
void |
setDisplacement(Point3d disp) |
void |
setFrame(Frame frame) |
void |
setLocation(Point3d loc) |
void |
setRefPos(Point3d referencePosition) |
void |
setWorldLocation(Point3d loc) |
void |
transformLocation(AffineTransform3dBase X) |
void |
updateAttachment() |
void |
updatePosState() |
void |
updateState() |
void |
updateVelState() |
connectAttachment, connectToHierarchy, disconnectFromHierarchy, getAttachments, getHardReferencesaddEffectiveMass, addExternalForce, addForce, addForce, addPosImpulse, addPosJacobian, addScaledExternalForce, addScaledForce, addSolveBlock, addSolveBlocks, addToPointVelocity, addToSolveBlockDiagonal, addTransformableDependencies, addVelJacobian, applyExternalForces, applyForces, applyGravity, createMassBlock, createRenderProps, createSolveBlock, defaultRenderPropsAreNull, distance, distance, getEffectiveMass, getEffectiveMass, getEffectiveMassForces, getExternalForce, getForce, getForce, getJacobianType, getMass, getMass, getPointDamping, getPointDampingMode, getPosDerivative, getPosition, getPosition, getPosState, getPosStateSize, getRenderCoords, getRenderProps, getSelection, getState, getTargetActivity, getTargetPos, getTargetPosition, getTargetVel, getTargetVelocity, getTraceablePositionProperty, getTraceables, getVelocity, getVelocity, getVelState, getVelStateSize, hasForce, isMassConstant, isSelectable, mulInverseEffectiveMass, prerender, render, resetEffectiveMass, resetTargets, scaleMass, setContactConstraint, setExternalForce, setForce, setForce, setPointDamping, setPointDampingMode, setPosition, setPosition, setPosState, setRandomForce, setRandomPosState, setRandomVelState, setRenderProps, setScaledExternalForce, setState, setState, setTargetActivity, setTargetPos, setTargetPosition, setTargetVel, setTargetVelocity, setVelocity, setVelocity, setVelState, subForce, transformGeometry, updateBounds, velocityLimitExceeded, zeroExternalForces, zeroForcesaddAttachmentRequest, addConstrainer, addMasterAttachment, getAttachment, getConstrainers, getInverseMass, getMasterAttachments, getSolveIndex, hasState, isActive, isAttached, isControllable, isDynamic, isParametric, removeAttachmentRequest, removeConstrainer, removeMasterAttachment, setSolveIndex, transformGeometrygetRenderHints, isVisible, numSelectionQueriesNeeded, setVisible, updateRenderPropscheckFlag, 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, writeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttachmentgetName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferencesgetPropertygetChildren, hasChildrenpostscanisWritable, writeaddAttachmentRequest, removeAttachmentRequestaddConstrainer, addMasterAttachment, getAttachment, getConstrainers, getInverseMass, getMasterAttachments, getSolveIndex, isActive, isAttached, isControllable, isDynamic, isParametric, removeConstrainer, removeMasterAttachment, setSolveIndexadvanceState, getAuxVarDerivative, getAuxVarState, getStateVersion, hasState, numAuxVars, requiresAdvance, setAuxVarStatetransformGeometry, transformPrioritypublic static PropertyList myProps
public FrameMarker()
public FrameMarker(java.lang.String name)
public FrameMarker(Point3d loc)
public FrameMarker(double x,
double y,
double z)
public FrameMarker(Frame frame, double x, double y, double z)
public PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiesgetAllPropertyInfo in class Pointpublic void setAttached(DynamicAttachment ax)
DynamicAgentsetAttached in interface DynamicAgentsetAttached in class DynamicComponentBaseax - Specifies the attachment relationship between
this component and its master(s)public void getLocation(Point3d loc)
public Point3d getLocation()
public void setLocation(Point3d loc)
public void transformLocation(AffineTransform3dBase X)
public void setWorldLocation(Point3d loc)
public Frame getFrame()
public void setFrame(Frame frame)
public int addTargetJacobian(SparseBlockMatrix J, int bi)
vt = J u
addTargetJacobian in interface MotionTargetComponentaddTargetJacobian in class PointJ - motion target Jacobianbi - block row index for the row to be addedpublic void updateState()
updateState in class Markerpublic double getDisplacementNorm()
public void setDisplacement(Point3d disp)
public Point3d getDisplacement()
public Point3d getRefPos()
public void setRefPos(Point3d referencePosition)
public void updateAttachment()
public void scaleDistance(double s)
ScalableUnitsscaleDistance in interface ScalableUnitsscaleDistance in class Points - scaling factorpublic void updatePosState()
updatePosState in class Pointpublic void updateVelState()
updateVelState in class Pointpublic boolean isDuplicatable()
true if and only if CopyableComponent.getCopyReferences(java.util.List<artisynth.core.modelbase.ModelComponent>, artisynth.core.modelbase.ModelComponent) returns true.
This method is not currently used. It is intended to provide a faster
way of determining if a component can be duplicated, without having to
use CopyableComponent.getCopyReferences(java.util.List<artisynth.core.modelbase.ModelComponent>, artisynth.core.modelbase.ModelComponent) to build the list of copy references.
isDuplicatable in interface CopyableComponentisDuplicatable in class Pointtrue if this component can be duplicated.public boolean getCopyReferences(java.util.List<ModelComponent> refs, ModelComponent ancestor)
true if and only if CopyableComponent.isDuplicatable() returns
true.getCopyReferences in interface CopyableComponentgetCopyReferences in class Pointrefs - list to which references are appendedancestor - root node of the hierarchy from which references are to be excludedpublic FrameMarker copy(int flags, java.util.Map<ModelComponent,ModelComponent> copyMap)
CopyableComponentCOPY_REFERENCES
is set in flags, then any component referenced
by this component should itself be set to a copy. This
should be done first checking copyMap for an
existing copy of the referenced component. If there is no existing
copy, then a copy should be created by calling copy
recursively and adding the new copy to copyMap.copy in interface CopyableComponentcopy in class Pointflags - flags to control the copyingcopyMap - map to possible existing instances of referenced
components