Workspace 6.21.5
NodeScriptMapperBuilder

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

  • Default label: "Node 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 node of the MeshModel, returning a double.

Outputs:
Node mapperCSIRO::Mesh::NodeScriptMapper

A NodeMapper that can be used to map each node of a MeshModel to a double.