public class ParticleMeshConstraint extends ParticleConstraintBase implements ScalableUnits
HasAuxState.StateContextModelComponent.NavpanelVisibility| Modifier and Type | Field and Description | 
|---|---|
| static PropertyList | myProps | 
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNamesTRANSPARENT, TWO_DIMENSIONAL| Constructor and Description | 
|---|
| ParticleMeshConstraint() | 
| ParticleMeshConstraint(Particle p,
                      PolygonalMesh mesh) | 
| ParticleMeshConstraint(Particle p,
                      PolygonalMesh mesh,
                      java.lang.String fileName) | 
| Modifier and Type | Method and Description | 
|---|---|
| PropertyList | getAllPropertyInfo()Returns a list giving static information about all properties exported by
 this object. | 
| PolygonalMesh | getMesh() | 
| boolean | getNagataInterpolation() | 
| void | render(Renderer renderer,
      int flags)Render this object using the functionality of the supplied
  Renderer. | 
| void | scaleDistance(double s)Scales all distance coordinates. | 
| void | scaleMass(double s)Scales all mass units. | 
| void | setDefaultValues()Sets the attributes of this component to their default values. | 
| void | setMesh(PolygonalMesh mesh,
       java.lang.String fileName,
       AffineTransform3dBase X) | 
| void | setNagataInterpolation(NagataInterpolator interp) | 
| void | updateBounds(Vector3d min,
            Vector3d max)Update the minimum and maximum points for this object. | 
| double | updateConstraints(double t,
                 int flags) | 
addBilateralConstraints, addParticle, addParticles, addUnilateralConstraints, getAuxState, getBilateralImpulses, getBilateralInfo, getBilateralSizes, getCompliance, getConstrainedComponents, getDamping, getInitialAuxState, getParticle, getPenetrationTol, getSoftReferences, getUnilateralImpulses, getUnilateralInfo, getUnilateralSizes, isEngaged, isUnilateral, numParticles, removeParticle, setAuxState, setBilateralImpulses, setCompliance, setDamping, setPenetrationTol, setUnilateral, setUnilateralImpulses, skipAuxState, updateReferences, zeroImpulsesaddFrictionConstraints, advanceAuxState, hasState, maxFrictionConstraintSetscopy, createRenderProps, getRenderHints, getRenderProps, getSelection, isSelectable, numSelectionQueriesNeeded, prerender, setRenderProps, updateRenderPropscheckFlag, checkName, checkNameUniqueness, clearFlag, clone, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getChildren, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, hasChildren, isConnectedToHierarchy, isFixed, isMarked, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setSelected, writeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, isFixed, isMarked, isSelected, notifyParentOfChange, postscan, scan, setFixed, setMarked, setName, setNumber, setParent, setSelectedgetPropertygetChildren, hasChildrenisWritable, writepublic static PropertyList myProps
public ParticleMeshConstraint()
public ParticleMeshConstraint(Particle p, PolygonalMesh mesh)
public ParticleMeshConstraint(Particle p, PolygonalMesh mesh, java.lang.String fileName)
public PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiesgetAllPropertyInfo in class ParticleConstraintBasepublic boolean getNagataInterpolation()
public void setNagataInterpolation(NagataInterpolator interp)
public void setDefaultValues()
ModelComponentBasepublic void setMesh(PolygonalMesh mesh, java.lang.String fileName, AffineTransform3dBase X)
public PolygonalMesh getMesh()
public double updateConstraints(double t,
                                int flags)
updateConstraints in interface ConstrainerupdateConstraints in class ConstrainerBasepublic void updateBounds(Vector3d min, Vector3d max)
IsRenderableupdateBounds in interface IsRenderableupdateBounds in class RenderableComponentBasemin - minimum pointmax - maximum pointpublic void render(Renderer renderer, int flags)
IsRenderableRenderer.render in interface IsRenderablerender in class RenderableComponentBaserenderer - 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.public void scaleMass(double s)
ScalableUnitsscaleMass in interface ScalableUnitss - scaling factorpublic void scaleDistance(double s)
ScalableUnitsscaleDistance in interface ScalableUnitss - scaling factor