LocalWEMLoad¶
-
MacroModule
¶ genre WEMPersistence
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition MLWEMModules.def see also WEMLoad
,WEMSave
keywords surface
Purpose¶
The module LocalWEMLoad
loads a WEM in any supported format from a relative path.
Usage¶
Just set the filename which can be relative to a variable and load a file.
Details¶
The panel offers some examples of variables to use.
The module is based internally on WEMLoad
, have a look at that module for the available file formats.
Output Fields¶
outWEM¶
-
name:
outWEM
, type:
WEM(MLBase)
¶ Output is a WEM.
For accessing this object via scripting see the Scripting Reference:MLWEMWrapper
.
Parameter Fields¶
Field Index¶
Auto load : Bool |
Label : String |
Triangulate Faces : Bool |
autoUpdate : Enum |
Load : Trigger |
True Name : String |
Close : Trigger |
Mirror Faces : Bool |
|
Description : String |
Mode : Enum |
|
elapsedTime : Float |
Name : String |
|
Generate Edges : Bool |
Overwrite Label Description : Bool |
|
id : Integer |
progress : Float |
|
isProcessing : Bool |
Status : String |
Visible Fields¶
Name¶
-
name:
name
, type:
String
, default:
$(DemoDataPath)/venus.off
¶ The WEM file name, using a variable to specify a relative path.
For more information, see
LocalImage.name
.
True Name¶
-
name:
trueName
, type:
String
, persistent:
no
¶ The true name of the WEM to load. This is the file name in the current file system.
Mirror Faces¶
-
name:
mirrorFaces
, type:
Bool
, default:
FALSE
¶ If checked, all faces are mirrored to compensate for some formats with a reverse order of nodes.
Triangulate Faces¶
-
name:
triangulateFaces
, type:
Bool
, default:
FALSE
¶ If checked, all non-triangle faces will be triangulated.
Mode¶
-
name:
triangulationMode
, type:
Enum
, default:
Strip
¶ Sets the triangulation scheme in case that loaded faces should be triangulated.
Values:
Title | Name |
---|---|
Center node | Center node |
Fan | Fan |
Strip | Strip |
Generate Edges¶
-
name:
generateEdges
, type:
Bool
, default:
TRUE
¶ If checked, edges will be generated for the output WEM in case that the loaded WEM does not yield any edges.
Close¶
-
name:
unloadSurface
, type:
Trigger
¶ If pressed, the internal WEM is cleared and attached modules are notified.
Auto load¶
-
name:
autoApply
, type:
Bool
, default:
TRUE
¶ If checked, the module loads on start-up and on changing any parameter.