TriangleModelInRegularGrid
Context: Sofa.Component.Collision.Geometry
collision model using a triangular mesh in a regular grid, as described in BaseMeshTopology
- Data:
name : object name
printLog : if true, emits extra messages at runtime.
tags : list of the subsets the objet belongs to
bbox : this object bounding box
componentState : The state of the component among (Dirty, Valid, Undefined, Loading, Invalid).
listening : if true, handle the events, otherwise ignore the events
active : flag indicating if this collision model is active and should be included in default collision detections
moving : flag indicating if this object is changing position between iterations
simulated : flag indicating if this object is controlled by a simulation
selfCollision : flag indication if the object can self collide
proximity : Distance to the actual (visual) surface
contactStiffness : Contact stiffness
contactFriction : Contact friction coefficient (dry or viscous or unused depending on the contact method)
contactRestitution : Contact coefficient of restitution
contactResponse : if set, indicate to the ContactManager that this model should use the given class of contacts.
- Note that this is only indicative, and in particular if both collision models specify a different class it is up to the manager to choose.
color : color used to display the collision model if requested
group : IDs of the groups containing this model. No collision can occur between collision models included in a common group (e.g. allowing the same object to have multiple collision models)
numberOfContacts : Number of collision models this collision model is currently attached to
bothSide : activate collision on both side of the triangle model
computeNormals : set to false to disable computation of triangles normal
useCurvature : use the curvature of the mesh to avoid some self-intersection test
- Links:
context : Graph Node containing this object (or BaseContext::getDefault() if no graph is used
slaves : Sub-objects used internally by this object
master : nullptr for regular objects, or master object for which this object is one sub-objects
previous : Previous (coarser / upper / parent level) CollisionModel in the hierarchy.
next : Next (finer / lower / child level) CollisionModel in the hierarchy.
collisionElementActiver : CollisionElementActiver component that activates or deactivates collision element(s) during execution
topology : link to the topology container