Workspace 6.21.5
MeshModelSource

The MeshModelSource operation is the gateway operation for accessing all MeshModelInterface data in Workspace. It provides a delay-loading mechanism to Workspace, in that it only requests that its MeshModel input be brought up-to-date when it it specifically asked to do so by Workspace (usually by a rendering widget or a mesh processor). It does this by passing itself out of one of its own outputs. This functionality allows widgets like the WSGLWidget to cache mesh data in memory, so that multiple mesh data sets can be compared without needing to re-load them from disk each time they're needed.Generally, MeshModelSource operations do not need to be used directly. It is usually much more convenient to use a MeshModelInstance operation, which manages the MeshModelSource details itself.

  • Default label: "MeshModel source"
  • Member of plug-in: Mesh
  • Catalogue path: Mesh
Inputs:
Model IDQStringThe ModelId of every MeshModelSource operation in Workspace should be unique. The ModelId is used by MeshModelLibrary operations to catalogue mesh data available to Scenes and other such structures.
MeshModelCSIRO::Mesh::MeshModelInterface

Lazy model updateboolDelay update the MeshModel input until the renderer tries to actually render it.
Node normals stateQString

If set to a valid Vector3d state representing node normals then expensive 'multi-node-normals' will not be calculated and this state used instead.

Outputs:
MeshModel sourceCSIRO::Mesh::MeshModelSource