public class FemNode3d extends FemNode implements Boundable
Modifier and Type | Class and Description |
---|---|
static class |
FemNode3d.CoordType
Specifies a nodal coordinate type
|
ModelComponent.NavpanelVisibility
Modifier and Type | Field and Description |
---|---|
static int |
COMPUTE_ENERGY_EXPLICIT
Flag indicating an explicit application request to compute strain energy
density for this node.
|
static int |
COMPUTE_STRAIN_EXPLICIT
Flag indicating an explicit application request to compute strain
for this node.
|
static int |
COMPUTE_STRESS_EXPLICIT
Flag indicating an explicit application request to compute stress
for this node.
|
static PropertyList |
myProps |
static int |
REST_POSITION_SCANNED
Flag indicating that the rest position was read during scan
|
myRenderCoords
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
COPY_REFERENCES, REST_POSITION
TG_ARTICULATED, TG_DRAGGER, TG_PRESERVE_ORIENTATION, TG_SIMULATING
TRANSPARENT, TWO_DIMENSIONAL
Constructor and Description |
---|
FemNode3d() |
FemNode3d(double x,
double y,
double z) |
FemNode3d(Point3d p) |
Modifier and Type | Method and Description |
---|---|
void |
addElementDependency(FemElement3dBase e) |
void |
addEnergyDensity(double sed) |
FemNodeNeighbor |
addIndirectNeighbor(FemNode3d nbrNode) |
void |
addLocalForce(Vector3d f) |
void |
addScaledStrain(double s,
SymmetricMatrix3d sig) |
void |
addTransformableDependencies(TransformGeometryContext context,
int flags)
Adds to
context any transformable components which should be
transformed as the same time as this component. |
void |
clearDirector() |
void |
clearIndirectNeighbors() |
void |
clearRestDirector() |
void |
computeCentroid(Vector3d centroid)
Computed the centroid of this element.
|
double |
computeCovariance(Matrix3d C)
Not implemented for FemNode3d.
|
double |
computeMassFromDensity() |
void |
computeRestDirector() |
void |
computeRestDirector(Vector3d dir) |
void |
connectToHierarchy(CompositeComponent hcomp)
Called by the system after this component, or an ancestor of this
component, is added to the component hierarchy (i.e., added as
a child of another CompositeComponent).
|
FemNode3d |
copy(int flags,
java.util.Map<ModelComponent,ModelComponent> copyMap)
Create a copy of this component.
|
void |
deregisterNodeNeighbor(FemNode3d nbrNode,
boolean shell) |
void |
disconnectFromHierarchy(CompositeComponent hcomp)
Called by the system after this component, or an ancestor of this
component, is removed from the component hierarchy (i.e., removed as a
child of its parent).
|
java.util.List<FemElement3dBase> |
getAdjacentElements()
Returns all elements (either shell or volumetric)
that reference this node.
|
java.util.List<ShellElement3d> |
getAdjacentShellElements()
Returns all shell elements that reference this node.
|
java.util.List<FemElement3d> |
getAdjacentVolumeElements()
Returns all volumetric elements that reference this node.
|
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
Point3d |
getBackCoordinates(FemNode3d.CoordType ctype) |
Vector3d |
getBackForce() |
Vector3d |
getBackInternalForce() |
BackNode3d |
getBackNode() |
Point3d |
getBackPosition() |
Point3d |
getBackRenderPosition() |
Point3d |
getBackRestPosition() |
int |
getBackSolveIndex() |
Vector3d |
getBackVelocity() |
boolean |
getComputeEnergyDensity()
Queries whether strain energy density computation has been explicitly
enabled for this node.
|
boolean |
getComputeStrain()
Queries whether strain computation has been explicitly enabled
for this node.
|
boolean |
getComputeStress()
Queries whether stress computation has been explicitly enabled
for this node.
|
Point3d |
getCoordinates(FemNode3d.CoordType ctype) |
Vector3d |
getDirector() |
void |
getDirector(Vector3d dir) |
Vector3d |
getDirectorVel() |
Vector3d |
getDisplacement() |
java.util.LinkedList<FemElement3d> |
getElementDependencies()
Deprecated.
|
double |
getEnergyDensity()
Returns the average strain energy density for this node.
|
DynamicAttachment |
getFrameAttachment() |
FrameNode3d |
getFrameNode() |
int |
getIncompressIndex() |
int |
getIndex() |
FemNodeNeighbor |
getIndirectNeighbor(FemNode3d node) |
FemNodeNeighbor |
getIndirectNeighborBySolveIndex(int idx) |
java.util.LinkedList<FemNodeNeighbor> |
getIndirectNeighbors() |
Vector3d |
getInternalForce() |
Point3d |
getLocalCoordinates(FemNode3d.CoordType ctype) |
Vector3d |
getLocalForce() |
Point3d |
getLocalPosition() |
Point3d |
getLocalRenderPosition() |
Point3d |
getLocalRestPosition() |
int |
getLocalSolveIndex() |
Vector3d |
getLocalVelocity() |
double |
getMAPStrain()
Returns the principal strain with the maximum absolute value for this
node.
|
double |
getMAPStress()
Returns the principal stress with the maximum absolute value for this
node.
|
double |
getMaxShearStrain()
Returns the maximum shear atrain for this node.
|
double |
getMaxShearStress()
Returns the maximum shear stress for this node.
|
FemNodeNeighbor |
getNodeNeighbor(FemNode3d node) |
FemNodeNeighbor |
getNodeNeighborBySolveIndex(int idx) |
java.util.ArrayList<FemNodeNeighbor> |
getNodeNeighbors() |
Point3d |
getPoint(int idx)
Returns the
idx -th point associated with this element. |
Point3d |
getRenderPosition() |
Point3d |
getRestDirector() |
void |
getRestDirector(Vector3d rdir) |
Point3d |
getRestPosition() |
void |
getState(DataBuffer data)
Saves state information for this component by adding data to the
supplied DataBuffer.
|
SymmetricMatrix3d |
getStrain()
Returns the average strain for this node.
|
SymmetricMatrix3d |
getStress()
Returns the average stress for this node.
|
double |
getStressStrainMeasure(FemModel.StressStrainMeasure m)
Returns the specified stress-strain measure.
|
Vector3d |
getTargetDisplacement() |
double |
getVonMisesStrain()
Returns the von Mises strain for this node.
|
double |
getVonMisesStress()
Returns the von Mises stress for this node.
|
boolean |
hasDirector() |
void |
invalidateRestDirectorIfNecessary() |
boolean |
isActiveLocal() |
boolean |
isRestDirectorExplicit() |
int |
numAdjacentElements() |
int |
numAdjacentShellElements() |
int |
numAdjacentVolumeElements() |
int |
numPoints()
Returns the number of points associated with this element, if any, or
zero otherwise.
|
void |
prerender(RenderList list)
Called prior to rendering to allow this object to update the internal
state required for rendering (such as by caching rendering coordinates).
|
void |
removeElementDependency(FemElement3dBase e) |
void |
resetEffectiveMass()
Resets the effective mass of this component to the nominal mass.
|
void |
resetRestPosition() |
void |
scaleDistance(double s)
Scales all distance coordinates.
|
void |
scan(ReaderTokenizer rtok,
java.lang.Object ref)
Scans this element from a ReaderTokenizer.
|
boolean |
scanItem(ReaderTokenizer rtok,
java.util.Deque<ScanToken> tokens) |
void |
setAttached(DynamicAttachment at)
Attach this component to another via a DynamicAttachment object.
|
void |
setBackForce(Vector3d f) |
void |
setBackPosition(Point3d pos) |
void |
setBackRestPosition(Point3d rest) |
void |
setBackVelocity(Vector3d vel) |
void |
setComputeEnergyDensity(boolean enable)
Explicitly enables or disables strain energy density computation for this
node, regardless of whether it is needed for surface rendering.
|
void |
setComputeStrain(boolean enable)
Explicitly enables or disables strain computation for this node,
regardless of whether it is needed for surface rendering.
|
void |
setComputeStress(boolean enable)
Explicitly enables or disables stress computation for this node,
regardless of whether it is needed for surface rendering.
|
void |
setDirector(Vector3d dir) |
void |
setDirectorVel(Vector3d vel) |
void |
setDynamic(boolean enable) |
void |
setExplicitMass(double m)
Sets the mass for this node to an explicit value.
|
void |
setFrameNode(FrameNode3d fnode) |
void |
setIncompressIndex(int idx) |
void |
setIndex(int idx) |
void |
setLocalForce(Vector3d f) |
void |
setRestDirector(Vector3d restDir) |
void |
setRestPosition(Point3d pos) |
void |
setState(DataBuffer data)
Restores the state for this component by reading from the supplied
data buffer, starting at the current buffer offsets.
|
void |
setTargetDisplacement(Vector3d del) |
void |
transformGeometry(GeometryTransformer gt,
TransformGeometryContext context,
int flags)
Transforms the geometry of this component, using the geometry transformer
gtr to transform its individual attributes. |
void |
zeroEnergyDensity() |
void |
zeroForces() |
void |
zeroStrain() |
void |
zeroStress() |
void |
zeroStressStrain() |
addMass, clearMass, getMass, invalidateMassIfNecessary, isMassExplicit, scaleMass, setMass, unsetExplicitMass
addEffectiveMass, applyGravity, applyPosImpulse, createPointAttachment, getCopyReferences, getEffectiveMass, getEffectiveMass, getInverseMass, getMass, getMass, getVelDerivative, isDuplicatable, mulInverseEffectiveMass
addExternalForce, addForce, addForce, addPosImpulse, addPosJacobian, addScaledExternalForce, addScaledForce, addSolveBlock, addSolveBlocks, addTargetJacobian, addToPointVelocity, addToSolveBlockDiagonal, addVelJacobian, applyExternalForces, applyForces, createMassBlock, createRenderProps, createSolveBlock, defaultRenderPropsAreNull, distance, distance, getEffectiveMassForces, getExternalForce, getForce, getForce, getJacobianType, getPointDamping, getPointDampingMode, getPosDerivative, getPosition, getPosition, getPosState, getPosStateSize, getRenderCoords, getRenderProps, getSelection, getTargetActivity, getTargetPos, getTargetPosition, getTargetVel, getTargetVelocity, getTraceablePositionProperty, getTraceables, getVelocity, getVelocity, getVelState, getVelStateSize, hasForce, isMassConstant, isSelectable, render, resetTargets, setContactConstraint, setExternalForce, setForce, setForce, setPointDamping, setPointDampingMode, setPosition, setPosition, setPosState, setRandomForce, setRandomPosState, setRandomVelState, setRenderProps, setScaledExternalForce, setState, setTargetActivity, setTargetPos, setTargetPosition, setTargetVel, setTargetVelocity, setVelocity, setVelocity, setVelState, subForce, updateBounds, updatePosState, updateVelState, velocityLimitExceeded, zeroExternalForces
addAttachmentRequest, addConstrainer, addMasterAttachment, getAttachment, getConstrainers, getMasterAttachments, getSolveIndex, hasState, isActive, isAttached, isControllable, isDynamic, isParametric, removeAttachmentRequest, removeConstrainer, removeMasterAttachment, setSolveIndex, transformGeometry
getRenderHints, isVisible, numSelectionQueriesNeeded, setVisible, updateRenderProps
checkFlag, checkName, checkNameUniqueness, clearFlag, clone, createTempFlag, getChildren, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences, write
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
updateBounds
getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferences
getProperty
getChildren, hasChildren
postscan
isWritable, write
addAttachmentRequest, removeAttachmentRequest
addConstrainer, addMasterAttachment, getAttachment, getConstrainers, getMasterAttachments, getSolveIndex, isActive, isAttached, isControllable, isDynamic, isParametric, removeConstrainer, removeMasterAttachment, setSolveIndex
advanceState, getAuxVarDerivative, getAuxVarState, getStateVersion, hasState, numAuxVars, requiresAdvance, setAuxVarState
transformGeometry, transformPriority
public static int REST_POSITION_SCANNED
public static int COMPUTE_STRESS_EXPLICIT
public static int COMPUTE_STRAIN_EXPLICIT
public static int COMPUTE_ENERGY_EXPLICIT
public static PropertyList myProps
public FemNode3d()
public FemNode3d(Point3d p)
public FemNode3d(double x, double y, double z)
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class Particle
public Point3d getLocalCoordinates(FemNode3d.CoordType ctype)
public Point3d getCoordinates(FemNode3d.CoordType ctype)
public int getIndex()
public void setIndex(int idx)
public int getIncompressIndex()
public void setIncompressIndex(int idx)
public double getVonMisesStress()
This quantity is available only when stress values are being computed
for this node, as described in the documentation for getStress()
.
If stress values are not being computed, 0 is returned.
public double getMAPStress()
This quantity is available only when stress values are being computed
for this node, as described in the documentation for getStress()
.
If stress values are not being computed, 0 is returned.
public double getMaxShearStress()
max (|s0-s1|/2, |s1-s2|/2, |s2-s0|/2)where
s0
, s1
, and s2
are the eigenvalues of
the stress tensor.
This quantity is available only when stress values are being computed
for this node, as described in the documentation for getStress()
.
If stress values are not being computed, 0 is returned.
public double getVonMisesStrain()
This quantity is available only when strain values are being computed
for this node, as described in the documentation for getStrain()
.
If strain values are not being computed, 0 is returned.
public double getMAPStrain()
This quantity is available only when strain values are being computed
for this node, as described in the documentation for getStrain()
.
If strain values are not being computed, 0 is returned.
public double getMaxShearStrain()
max (|s0-s1|/2, |s1-s2|/2, |s2-s0|/2)where
s0
, s1
, and s2
are the eigenvalues of
the strain tensor.
This quantity is available only when strain values are being computed
for this node, as described in the documentation for getStrain()
.
If strain values are not being computed, 0 is returned.
public double getStressStrainMeasure(FemModel.StressStrainMeasure m)
This requested quantity will be available only when the required
strain, stress or energy density values are being collected for this
node. Otherwise, 0 will be returned. To ensure this is the case, one may
use the FemModel3d
method FemModel.setComputeNodalStressStrain(artisynth.core.femmodels.FemModel.StressStrainMeasure)
.
public Vector3d getDisplacement()
public Vector3d getTargetDisplacement()
public void setTargetDisplacement(Vector3d del)
public void zeroStressStrain()
public SymmetricMatrix3d getStress()
Average nodal stress is computed for this node only when explicitly
requested using the FemModel3d
methods
FemModel.setComputeNodalStress(boolean)
or
FemModel.setComputeNodalStressStrain(artisynth.core.femmodels.FemModel.StressStrainMeasure)
, or when an FEM mesh
or cut plane is being rendered with a color map that requires stress
information. If stress is not being computed for this node, then this
method returns a zero-valued matrix.
public void zeroStress()
public void setComputeStress(boolean enable)
enable
- if true
, enables explicit stress computationpublic boolean getComputeStress()
true
if explicit stress computation is enabledpublic SymmetricMatrix3d getStrain()
Average nodal strain is computed for this node only when explicitly
requested using the FemModel3d
methods
FemModel.setComputeNodalStrain(boolean)
or
FemModel.setComputeNodalStressStrain(artisynth.core.femmodels.FemModel.StressStrainMeasure)
, or when an FEM mesh
or cut plane is being rendered with a color map that requires strain
information. If strain is not being computed for this node, then this
method returns a zero-valued matrix.
public void zeroStrain()
public void addScaledStrain(double s, SymmetricMatrix3d sig)
public void setComputeStrain(boolean enable)
enable
- if true
, enables explicit strain computationpublic boolean getComputeStrain()
true
if explicit strain computation is enabledpublic double getEnergyDensity()
Average energy density is computed for this node only when explicitly
requested using the FemModel3d
methods
FemModel.setComputeNodalEnergyDensity(boolean)
or
FemModel.setComputeNodalStressStrain(artisynth.core.femmodels.FemModel.StressStrainMeasure)
, or when an FEM mesh
or cut plane is being rendered with a color map that requires strain
energy density. If energy density is not being computed for
this node, then this method returns 0.
public void zeroEnergyDensity()
public void addEnergyDensity(double sed)
public void setComputeEnergyDensity(boolean enable)
enable
- if true
, enables explicit strain energy density
computationpublic boolean getComputeEnergyDensity()
true
if explicit strain energy density computation is
enabledpublic Vector3d getInternalForce()
public java.util.ArrayList<FemNodeNeighbor> getNodeNeighbors()
public FemNodeNeighbor getNodeNeighbor(FemNode3d node)
public FemNodeNeighbor getNodeNeighborBySolveIndex(int idx)
public void deregisterNodeNeighbor(FemNode3d nbrNode, boolean shell)
public java.util.LinkedList<FemNodeNeighbor> getIndirectNeighbors()
public FemNodeNeighbor getIndirectNeighbor(FemNode3d node)
public FemNodeNeighbor getIndirectNeighborBySolveIndex(int idx)
public FemNodeNeighbor addIndirectNeighbor(FemNode3d nbrNode)
public void clearIndirectNeighbors()
public boolean scanItem(ReaderTokenizer rtok, java.util.Deque<ScanToken> tokens) throws java.io.IOException
public void scan(ReaderTokenizer rtok, java.lang.Object ref) throws java.io.IOException
write
.scan
in interface ModelComponent
scan
in interface Scannable
scan
in class ModelComponentBase
rtok
- Tokenizer from which to scan the elementref
- optional reference object which can be used for resolving references to
other objectsjava.io.IOException
- if an I/O or formatting error occuredpublic void addTransformableDependencies(TransformGeometryContext context, int flags)
TransformableGeometry
context
any transformable components which should be
transformed as the same time as this component. This will generally
include descendant components, and may also include other components to
which this component is connected in some way.
This method is generally called from with the
TransformGeometryContext.apply(maspack.geometry.GeometryTransformer, int)
method of a
TransformGeometryContext
.
addTransformableDependencies
in interface TransformableGeometry
addTransformableDependencies
in class Point
context
- context information, to which the dependent components
are added.flags
- specifies conditions associated with the transformationpublic void transformGeometry(GeometryTransformer gt, TransformGeometryContext context, int flags)
TransformableGeometry
gtr
to transform its individual attributes. The
context
argument supplies information about what other
components are currently being transformed, and also allows the
requesting of update actions to be performed after all transform called
have completed. The context is also the usual entity that calls
this method, from within its TransformGeometryContext.apply(maspack.geometry.GeometryTransformer, int)
method. The argument flags
provides flags to specify
various conditions associated with the the transformation.
At present, the available flags are TransformableGeometry.TG_SIMULATING
and
TransformableGeometry.TG_ARTICULATED
.
This method is not usually called directly by applications.
Instead, it is typically called from within the
TransformGeometryContext.apply(maspack.geometry.GeometryTransformer, int)
method of the context,
which takes care of the various operations needed for a
complete transform operation, including calling
TransformableGeometry.addTransformableDependencies(artisynth.core.modelbase.TransformGeometryContext, int)
to collect other
components that should be transformed, calling
TransformableGeometry.transformGeometry(maspack.matrix.AffineTransform3dBase)
for each component, notifying
component parents that the geometry has changed, and calling
any requested TransformGeometryAction
s. More details
are given in the documentation for
TransformGeometryContext.apply(maspack.geometry.GeometryTransformer, int)
.
TransformGeometryContext
provides a number of
static convenience transform
methods
which take care of building the context and calling
apply()
for a specified set of components.
This method should not
generally call transformGeometry()
for its descendant
components. Instead, descendants needing transformation should be
specified by adding them to the context in the method TransformableGeometry.addTransformableDependencies(artisynth.core.modelbase.TransformGeometryContext, int)
.
transformGeometry
in interface TransformableGeometry
transformGeometry
in class Point
gt
- transformer implementing the transformcontext
- context information, including what other components
are being transformedflags
- specifies conditions associated with the transformationpublic void scaleDistance(double s)
ScalableUnits
scaleDistance
in interface ScalableUnits
scaleDistance
in class Particle
s
- scaling factorpublic void addElementDependency(FemElement3dBase e)
public void removeElementDependency(FemElement3dBase e)
public java.util.LinkedList<FemElement3d> getElementDependencies()
getAdjacentElements()
,
getAdjacentVolumeElements()
, or
getAdjacentShellElements()
, as appropriate.public java.util.List<FemElement3dBase> getAdjacentElements()
public java.util.List<FemElement3d> getAdjacentVolumeElements()
public java.util.List<ShellElement3d> getAdjacentShellElements()
public int numAdjacentElements()
public int numAdjacentShellElements()
public int numAdjacentVolumeElements()
public double computeMassFromDensity()
computeMassFromDensity
in class FemNode
public void resetEffectiveMass()
DynamicAgent
resetEffectiveMass
in interface DynamicAgent
resetEffectiveMass
in class Particle
public void setExplicitMass(double m)
FemNode
setExplicitMass
in class FemNode
m
- explicit mass valuepublic void connectToHierarchy(CompositeComponent hcomp)
ModelComponentBase
When this method is called, ModelComponent.getParent()
will return the new
parent component; the system will have set this beforehand.
connectToHierarchy
in interface ModelComponent
connectToHierarchy
in class DynamicComponentBase
hcomp
- hierarchy component to which this component,
or its ancestor, was attachedpublic void disconnectFromHierarchy(CompositeComponent hcomp)
ModelComponentBase
When this method is called, ModelComponent.getParent()
will still return this
original parent component; the system will set this to null
after.
disconnectFromHierarchy
in interface ModelComponent
disconnectFromHierarchy
in class DynamicComponentBase
hcomp
- hierarchy component from which this component,
or its ancestor, was detachedpublic void resetRestPosition()
public Point3d getRestPosition()
getRestPosition
in class FemNode
public Point3d getRenderPosition()
public void setRestPosition(Point3d pos)
public FemNode3d copy(int flags, java.util.Map<ModelComponent,ModelComponent> copyMap)
CopyableComponent
COPY_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 CopyableComponent
copy
in class FemNode
flags
- flags to control the copyingcopyMap
- map to possible existing instances of referenced
componentspublic int numPoints()
public Point3d getPoint(int idx)
idx
-th point associated with this element.getPoint
in interface Boundable
idx
- index of the point (must be on the range 0 to
Boundable.numPoints()
).idx
-th point associated with this element.
Must not be modified.public void computeCentroid(Vector3d centroid)
computeCentroid
in interface Boundable
centroid
- returns the computed centroid value.public double computeCovariance(Matrix3d C)
computeCovariance
in interface Boundable
C
- returns the covariancepublic void setFrameNode(FrameNode3d fnode)
public FrameNode3d getFrameNode()
public DynamicAttachment getFrameAttachment()
public void setAttached(DynamicAttachment at)
DynamicAgent
setAttached
in interface DynamicAgent
setAttached
in class DynamicComponentBase
at
- Specifies the attachment relationship between
this component and its master(s)public void setDynamic(boolean enable)
setDynamic
in class Particle
public Point3d getLocalPosition()
public Vector3d getLocalVelocity()
public int getLocalSolveIndex()
public Vector3d getLocalForce()
public void addLocalForce(Vector3d f)
public void setLocalForce(Vector3d f)
public boolean isActiveLocal()
public Point3d getLocalRestPosition()
public Point3d getLocalRenderPosition()
public void getState(DataBuffer data)
HasNumericState
getState
in interface DynamicAgent
getState
in interface HasNumericState
getState
in class Point
data
- buffer for storing the state values.public void setState(DataBuffer data)
HasNumericState
setState
in interface DynamicAgent
setState
in interface HasNumericState
setState
in class Point
data
- buffer containing the state informationpublic int getBackSolveIndex()
public BackNode3d getBackNode()
public boolean hasDirector()
public Vector3d getDirector()
public void getDirector(Vector3d dir)
public void setDirector(Vector3d dir)
public void clearDirector()
public Vector3d getDirectorVel()
public void setDirectorVel(Vector3d vel)
public Point3d getRestDirector()
public void getRestDirector(Vector3d rdir)
public void setRestDirector(Vector3d restDir)
public boolean isRestDirectorExplicit()
public void clearRestDirector()
public void invalidateRestDirectorIfNecessary()
public Point3d getBackPosition()
public void setBackPosition(Point3d pos)
public Point3d getBackRestPosition()
public void setBackRestPosition(Point3d rest)
public Point3d getBackRenderPosition()
public Vector3d getBackVelocity()
public void setBackVelocity(Vector3d vel)
public Vector3d getBackForce()
public void setBackForce(Vector3d f)
public Vector3d getBackInternalForce()
public void zeroForces()
zeroForces
in interface DynamicAgent
zeroForces
in class Point
public void computeRestDirector()
public void computeRestDirector(Vector3d dir)
public void prerender(RenderList list)
IsRenderable
list.addIfVisible (obj);
for each of the objects in question.prerender
in interface IsRenderable
prerender
in class Point
list
- list of objects to be renderedpublic Point3d getBackCoordinates(FemNode3d.CoordType ctype)