VisualGrid

Context: Sofa.Component.Visual

Display a simple grid

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

  • enable : Display the object or not

  • plane : Plane of the grid

  • size : Size of the squared grid

  • nbSubdiv : Number of subdivisions

  • color : Color of the lines in the grid. default=(0.34,0.34,0.34,1.0)

  • thickness : Thickness of the lines in the grid

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