LocalWEMLoad¶
-
MacroModule¶ genre WEMPersistenceauthor MeVis Medical Solutions AGpackage MeVisLab/Standarddefinition MLWEMModules.def see also WEMLoad,WEMSavekeywords surface
Purpose¶
The module LocalWEMLoad loads a WEM in any supported format from a relative path.
Usage¶
Simply set the filename, which can be relative to a variable, and load the 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 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¶ Sets 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¶ Shows the true name of the WEM to load. This is the filename in the current file system.
Mirror Faces¶
-
name:mirrorFaces, type:Bool, default:FALSE¶ If checked, all faces are mirrored to compensate for formats that have 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 if the loaded WEM does not have any edges.
Close¶
-
name:unloadSurface, type:Trigger¶ When pressed, the internal WEM is cleared and the 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.