| genre | WEMProcessing |
| status | stable |
| authors | Bart De Dobbelaer, Olaf Konrad |
| package | MeVisLab/Standard |
| dll | MLWEMModules |
| definition | MLWEMModules.def |
| see also | WEMInfo |
| keywords | WEM, scale, translate, mirror, triangulate, color, lutValue |
The module WEMModify modifies nodes and/or faces.
Node modifications consist of scaling, translating, rotating and centering the WEM. Additionally, the internal nodes' RGBA colors and the internal LUT values can be modified.
Face modifications include mirroring and triangulation.
Simply connect any WEM to the input of the WEMModify module and select appropriate parameters to be modified.
The module can work on all WEMPatches of the input WEM or on just a (manual) selection of patches.
The Use Transform Matrix flag enables an input matrix that is multiplied to each WEMNode straight forward. If Use Transform Matrix is enabled, scale, rotation and translation are disabled and vice versa.
| Alpha: Float | isProcessing: Bool | Set node color: Bool |
| Apply: Trigger | Label: String | show: Bool |
| Auto Apply: Bool | listenToFinishNotifications: Bool | To Max: Float |
| Auto Update: Bool | Mirror Faces: Bool | To Min: Float |
| autoClear: Bool | Mode: Enum | Transform Matrix: Matrix |
| Center: Bool | Modify Attributes: Bool | Translate: Vector3 |
| Clamp value (clampNodeMinValue): Bool | modifyFieldsValid: Bool | Triangulate Faces: Bool |
| Clamp value (clampNodeMaxValue): Bool | Node (LUT) Value Mode: Enum | Use Copy: Bool |
| Close Boundaries: Bool | Node Color: Color | Use Transform Matrix: Bool |
| Description: String | progress: Float | useFaceDiffuseColor: Bool |
| editable: Bool | removePreviousWEMs: Bool | useInputWEMToCreateOutputWEM: Bool |
| elapsedTime: Float | Rotation: Vector4 | usePolygonOffset: Bool |
| forwardRepaintNotifications: Bool | Scale: Vector3 | Value: Float |
| forwardSelectionNotifications: Bool | selectedWEMs: String | WEMs: String |
| id: Integer | Set node alpha: Bool |
If checked, all parameter changes take immediately effect.
If checked, an update of the input WEM leads to a new computation.
Sets the new label for selected WEMPatches if Modify Attributes is checked.
Sets the new description for selected WEMPatches if Modify Attributes is checked.
Sets the color that is set to all nodes if Set node color is checked.
If checked, the module will copy the input WEM and modify that copy. Otherwise, the module works directly on the input WEM.
Defines a triangulation mode.
If the selected WEMPatch(es) yield non-triangular faces, the module triangulates those faces if Triangulate Faces is checked.
Values:
| Title | Name |
|---|---|
| Center node | Center node |
| Fan | Fan |
| Strip | Strip |
If checked, the module allows for a modification of the label and the description of selected WEMPatches.
Sets a scaling vector to scale all nodes of the 3D mesh with.
Sets a translation vector to translate all nodes of the 3D mesh by.
If checked, the WEM is centered around coordinate (0,0,0).
This allows for a more natural rotation while viewing.
Sets a rotation to rotate all nodes of the 3D mesh.
Sets a matrix that is multiplied to each WEM node's position of the 3D mesh.
If checked, the multiplication of the transformation matrix is applied directly to the mesh.
If checked, all faces are mirrored, leading the surface to be inside-out.
If checked, the module tries to close holes in a WEMPatch by a triangulation scheme.
If checked, all nodes' internal colors are set to the Node Color value.
Sets the alpha value that is set to all nodes if the Set node alpha is checked.
Defines if and how the nodes' internal PVL LUT is modified.
Note that a clamping of these values occurs after modifying the value.
Values:
| Title | Name |
|---|---|
| None | None |
| Set | Set |
| Add | Add |
| Multiply | Multiply |
Set the value that is set as a node's PVL value, added or multiplied to the original nodes' PVL value.
If Clamp value is checked, the nodes' PVL values are clamped against this minimum value.
If Clamp value is checked, the nodes' PVL values are clamped against this maximum value.