DefaultAnimationLoop

Context: Sofa.Simulation.Core

Simulation loop to use in scene without constraints nor contact.

This loop triggers the following steps: - build and solve all linear systems in the scene : collision and time integration to compute the new values of the dofs - update the context (dt++) - update the mappings - update the bounding box (volume covering all objects of the scene)

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

  • computeBoundingBox : If true, compute the global bounding box of the scene at each time step. Used mostly for rendering.

  • parallelODESolving : If true, solves all the ODEs in parallel

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

  • targetNode : Link to the scenes node that will be processed by the loop