public class BeamBody extends DeformableBody
RigidBody.InertiaMethodCollidable.Collidability, Collidable.GroupCompositeComponent.NavpanelDisplay| Modifier and Type | Field and Description |
|---|---|
static PropertyList |
myProps |
DEFAULT_GROUNDED, DEFAULT_SUBMESHES_SELECTABLEdynamicVelInWorldCoords, myRenderFrameenforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNamesAll, AllBodies, Deformable, Rigid, SelfCOPY_REFERENCES, REST_POSITIONTG_ARTICULATED, TG_DRAGGER, TG_PRESERVE_ORIENTATION, TG_SIMULATINGTRANSPARENT, TWO_DIMENSIONAL| Constructor and Description |
|---|
BeamBody() |
BeamBody(PolygonalMesh mesh,
double density,
double len,
double E) |
| Modifier and Type | Method and Description |
|---|---|
void |
computeStiffnessFromIntegration() |
void |
computeStiffnessMatrix() |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
void |
getDShape(Matrix3d Dshp,
int i,
Vector3d pos0) |
void |
getShape(Vector3d shp,
int i,
Vector3d pos0) |
double |
getStiffness() |
int |
numElasticCoords() |
void |
render(Renderer renderer,
int flags)
Render this object using the functionality of the supplied
Renderer. |
<T extends FemMaterial> |
setMaterial(T mat) |
void |
setStiffness(double E) |
void |
updateStiffnessMatrix() |
addDeformedFrameForce, addEffectivePointMass, addElasticForce, addExternalElasticForce, addForce, addFrameForce, addPointForce, addPointForce, addPosImpulse, addPosJacobian, addScaledExternalElasticForce, addSolveBlock, addToPointVelocity, addVelJacobian, applyExternalForces, applyForces, computeDeformationGradient, computeDeformedFrame, computeDeformedFrameVel, computeDeformedLocation, computeDeformedVelocity, computeElasticJacobian, computeFrameLocation, computeFramePosition, computeFrameVelocity, computePointCoriolis, computePointLocation, computePointPosition, computePointVelocity, computeUndeformedFrame, computeUndeformedLocation, computeUndeformedLocation, computeWorldPointForceJacobian, createDefaultMaterial, createMassBlock, getDistanceGridComp, getEffectiveMass, getEffectiveMassForces, getElasticForce, getElasticPos, getElasticPos, getElasticPos, getElasticVel, getElasticVel, getElasticVel, getExternalElasticForce, getForce, getFreezeFrame, getInverseMass, getMass, getMassDamping, getMaterial, getPosDerivative, getPosState, getPosStateSize, getStiffnessDamping, getVelState, getVelStateSize, hasDistanceGrid, invalidateStiffness, isDeformable, mulInverseEffectiveMass, propertyChanged, setContactConstraint, setElasticForce, setElasticPos, setElasticPos, setElasticVel, setElasticVel, setExternalElasticForce, setForce, setFreezeFrame, setMassDamping, setPosState, setRandomForce, setRandomPosState, setRandomVelState, setStiffnessDamping, setVelState, zeroExternalForces, zeroForcesadd, addConnector, addEffectiveFrameMass, addMesh, addMesh, addMesh, addMeshComp, addTransformableDependencies, allowCollision, applyGravity, centerPoseOnCenterOfMass, clearMeshComps, collectVertexMasters, componentChanged, containsConnector, containsContactMaster, containsMeshComp, copy, createBox, createBox, createBox, createCylinder, createEllipsoid, createFromMesh, createFromMesh, createFromMesh, createFromMesh, createIcosahedralSphere, createRenderProps, createSphere, extrapolatePose, findComponent, get, get, getByNumber, getCenterOfMass, getCenterOfMass, getCharacteristicRadius, getChildren, getCollidable, getCollidableAncestor, getCollidableIndex, getCollisionMesh, getConnectors, getCopyReferences, getDensity, getDensityRange, getDistanceGrid, getDistanceGridRes, getEffectiveInertia, getEffectiveMass, getEffectiveMassForces, getGridSurfaceRendering, getInertia, getInertialDamping, getInertialDampingMode, getInertiaMethod, getMass, getMass, getMassRange, getMesh, getMeshComp, getMeshComp, getMeshComps, getNavpanelDisplay, getNumberLimit, getRotationalInertia, getRotationalInertia, getSubmeshesSelectable, getSurfaceMesh, getSurfaceMeshComp, getSurfaceMeshes, getVolume, hasChildren, hasForce, hasInvariantMasters, hierarchyContainsReferences, indexOf, isCompound, isDuplicatable, isFreeBody, isGrounded, isMassConstant, mulInverseEffectiveMass, numComponents, numMeshComps, numSurfaceMeshes, penetrationDistance, postscan, prerender, remove, removeConnector, removeMeshComp, removeMeshComp, resetEffectiveMass, scaleDistance, scaleMass, scaleSurfaceMesh, scan, setCenterOfMass, setCollidable, setCollidableIndex, setDensity, setDisplayMode, setDistanceGridRes, setDynamic, setGridSurfaceRendering, setGrounded, setInertia, setInertia, setInertia, setInertia, setInertiaFromDensity, setInertiaFromMass, setInertialDamping, setInertialDampingMode, setInertiaMethod, setMass, setMesh, setMesh, setMesh, setPose, setRotationalInertia, setSubmeshesSelectable, setSurfaceMesh, setSurfaceMesh, setSurfaceMesh, subEffectiveInertia, surfaceTangent, transformCoordinateFrame, transformGeometry, translateCoordinateFrame, updateBounds, updateNameMap, writeadd1DConstraintBlocks, add2DConstraintBlocks, addExternalForce, addForce, addPointForce, addRelativeVelocity, addScaledExternalForce, addSolveBlocks, addTargetJacobian, collectMasterComponents, computeAppliedWrench, computeForceOnMasters, computeFramePosVel, computePointPosVel, createFrameAttachment, createPointAttachment, getAxisDrawStyle, getAxisLength, getBodyForce, getBodyVelocity, getBodyVelState, getExternalForce, getForce, getForce, getFrameDamping, getFrameDampingMode, getFrameMarkers, getJacobianType, getMoment, getOrientation, getOrientation, getPose, getPose, getPosition, getRenderFrame, getRotaryDamping, getRotaryDampingMode, getRotation, getSelection, getState, getTargetActivity, getTargetOrientation, getTargetPos, getTargetPose, getTargetPosition, getTargetVel, getTargetVelocity, getTraceablePositionProperty, getTraceables, getTransForce, getVelocity, getVelocity, getWorldVelState, resetTargets, setAxisDrawStyle, setAxisLength, setBodyVelocity, setExternalForce, setForce, setFrameDamping, setFrameDampingMode, setOrientation, setPose, setPosition, setRotaryDamping, setRotaryDampingMode, setRotation, setState, setState, setTargetActivity, setTargetOrientation, setTargetPos, setTargetPose, setTargetPosition, setTargetVel, setTargetVelocity, setVelocity, setVelocity, transformPose, updateAttachmentPosStates, velocityLimitExceededaddAttachmentRequest, addConstrainer, addMasterAttachment, connectToHierarchy, disconnectFromHierarchy, getAttachment, getConstrainers, getMasterAttachments, getSolveIndex, hasState, isActive, isAttached, isControllable, isDynamic, isParametric, removeAttachmentRequest, removeConstrainer, removeMasterAttachment, setAttached, setSolveIndex, transformGeometrydefaultRenderPropsAreNull, getRenderHints, getRenderProps, isSelectable, isVisible, numSelectionQueriesNeeded, setRenderProps, setVisible, updateRenderPropscheckFlag, checkName, checkNameUniqueness, clearFlag, clone, createTempFlag, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferencesequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransformPosecreateFrameAttachmentcreatePointAttachmentrecursivelyFindaddAttachmentRequest, removeAttachmentRequestaddConstrainer, addMasterAttachment, getAttachment, getConstrainers, getMasterAttachments, getSolveIndex, isActive, isAttached, isControllable, isDynamic, isParametric, removeConstrainer, removeMasterAttachment, setAttached, setSolveIndexadvanceState, getAuxVarDerivative, getAuxVarState, getStateVersion, hasState, numAuxVars, requiresAdvance, setAuxVarStatetransformGeometry, transformPriorityisControllablepublic static PropertyList myProps
public BeamBody()
public BeamBody(PolygonalMesh mesh, double density, double len, double E)
public PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiesgetAllPropertyInfo in class DeformableBodypublic double getStiffness()
public void setStiffness(double E)
public <T extends FemMaterial> T setMaterial(T mat)
setMaterial in class DeformableBodypublic int numElasticCoords()
numElasticCoords in class DeformableBodypublic void updateStiffnessMatrix()
updateStiffnessMatrix in class DeformableBodypublic void computeStiffnessFromIntegration()
public void computeStiffnessMatrix()
public void getShape(Vector3d shp, int i, Vector3d pos0)
getShape in class DeformableBodypublic void getDShape(Matrix3d Dshp, int i, Vector3d pos0)
getDShape in class DeformableBodypublic void render(Renderer renderer, int flags)
IsRenderableRenderer.render in interface IsRenderablerender in class RigidBodyrenderer - provides the functionality used to perform the rendering.flags - flags that may be used to control different
aspects of the rendering. Flags are defined in Renderer
and currently include
Renderer.HIGHLIGHT and
Renderer.SORT_FACES.