| genre | WEMPersistence |
| status | stable |
| authors | Bart De Dobbelaer, Olaf Konrad |
| package | MeVisLab/Standard |
| definition | MLWEMModules.def |
| see also | WEMLoad, WEMSave |
| keywords | WEM, load, local |
The module loads a WEM in any supported format from a relative path.
Just set the filename which can be relative to a variable and load a file.
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.
| Ambient Color: Color | Edge Color: Color | Node Normal Scale: Float |
| Auto load: Bool | editable: Bool | Node Rendering Mode: Enum |
| autoUpdate: Bool | elapsedTime: Float | Point Size:: Float |
| Bounding Box Mode: Enum | Face Alpha:: Float | progress: Float |
| Color (boundingBoxColor): Color | Face Normal Scale: Float | removePreviousWEMs: Bool |
| Color (faceNormalsColor): Color | Face Shininess: Float | show: Bool |
| Color (nodeNormalsColor): Color | Generate Edges: Bool | Specular Color: Color |
| Color Mode: Enum | id: Integer | Status: String |
| Description: String | isProcessing: Bool | Triangulate Faces: Bool |
| Diffuse Color: Color | Label: String | True Name: String |
| Draw bounding boxes: Bool | Line Width:: Float | Use (useFaceSpecularColor): Bool |
| Draw edges: Bool | Load: Trigger | Use (useFaceAmbientColor): Bool |
| Draw face normals: Bool | Mirror Faces: Bool | Use coloring mode for edges: Bool |
| Draw Faces: Bool | Mode: Enum | useFaceDiffuseColor: Bool |
| Draw node normals: Bool | Name: String | usePolygonOffset: Bool |
| Draw nodes: Bool | Node Color: Color |
Sets the color of the bounding box.
Sets the ambient color of the faces.
If checked, the module loads on start-up and on changing any parameter.
Sets the bounding box mode.
Values:
| Title | Name |
|---|---|
| Axis Aligned | Axis Aligned |
| Object Aligned | Object Aligned |
Sets the color of the face normals.
Sets the color of the node normals.
Sets the color mode.
Values:
| Title | Name | Description |
|---|---|---|
| General | General | Uses the colors set on the module or the renderer. |
| Node Colors | Node Colors | Uses special colors stored in the nodes. Only a few modules make use of those color. |
| LUT Values | LUT Values | The PVL 'LUT' (which is always existing) is used for a look-up into a LUT attached to the renderer. |
| LUT Values Integer | LUT Values Integer | The PVL 'LUT' (which is always existing) is used for a look-up into an integer LUT attached to the renderer. |
Sets the diffuse face color.
If checked, the bounding box is drawn.
If checked, the edges are drawn.
Note that the WEM needs the edges set.
If checked, the face normals are rendered.
If checked, the node normals are rendered.
If checked, the nodes of a WEM are rendered.
Sets the general alpha value for faces.
Sets the shininess value for faces.
If checked, edges will be generated for the output WEM in case that the loaded WEM does not yield any edges.
Sets the line width for rendering the edges.
If checked, all faces are mirrored to compensate for some formats with a reverse order of nodes.
Sets the triangulation scheme in case that loaded faces should be triangulated.
Values:
| Title | Name |
|---|---|
| Center node | Center node |
| Fan | Fan |
| Strip | Strip |
The WEM file name, using a variable to specify a relative path.
Sets the normal scale factor for node normals.
Sets the node rendering mode.
Values:
| Title | Name | Description |
|---|---|---|
| Normal | Normal | Renders all existing nodes. |
| High | High | Renders all existing nodes and extra nodes in the middle of each face |
| Extra High | Extra High | Renders all existing nodes, extra nodes in the middle of each face and in the middle of each edge. |
Sets the point size for rendering nodes.
Sets the specular color for rendering faces.
If checked, all non-triangle faces will be triangulated.
The true name of the WEM to load. This is the file name in the current file system.
If checked, the specular color is used for face rendering.
If checked, the ambient color is used for face rendering.
If checked, the edges will be colored by the same mode as the faces ( Color Mode).