Workspace 6.21.5
ElementScriptMapperBuilder

Creates a ElementScriptMapper object; an object used to map each element of a MeshModelInterface to a single floating-point value. The ScriptMapper allows the user to define a QtScript function which is executed for each element in the mesh to determine this floating point value.

  • Default label: "Element script mapper"
  • Member of plug-in: Mesh
  • Catalogue path: Mesh
Inputs:
Function nameQStringThe name of the function defined in the "Script" input. Used by the mapper so that it knows which function to execute.
ScriptQString

QtScript function executed on each element of the MeshModel, returning a double.

Outputs:
Element mapperCSIRO::Mesh::ElementScriptMapper

An ElementMapper that can be used to map each element of a MeshModel to a double.