genre | WEMProcessing |
authors | Bart De Dobbelaer, Olaf Konrad |
package | MeVisLab/Standard |
dll | MLWEMModules |
definition | MLWEMModules.def |
see also | WEMInfo |
keywords | scale, translate, mirror, triangulate, color, lutValue, surface |
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 | id: Integer | Scale: Vector3 |
Apply: Trigger | isProcessing: Bool | selectedWEMs: String |
Auto Apply: Bool | Label: String | Set node alpha: Bool |
Auto Update: Bool | listenToFinishNotifications: Bool | Set node color: Bool |
autoClear: Bool | listenToRepaintNotifications: Bool | To Max: Float |
Center: Bool | listenToSelectionChangedNotifications: Bool | To Min: Float |
Clamp value (clampNodeMinValue): Bool | Mirror Faces: Bool | Transform Matrix: Matrix |
Clamp value (clampNodeMaxValue): Bool | Mode: Enum | Translate: Vector3 |
Close Boundaries: Bool | Modify Attributes: Bool | Triangulate Faces: Bool |
Color: Color | modifyFieldsValid: Bool | Use Copy: Bool |
Description: String | Node (LUT) Value Mode: Enum | Use Transform Matrix: Bool |
elapsedTime: Float | progress: Float | useInputWEMToCreateOutputWEM: Bool |
forwardRepaintNotifications: Bool | removePreviousWEMs: Bool | Value: Float |
forwardSelectionNotifications: Bool | Rotation: Vector4 | WEMs: String |
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.
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 |
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.
Sets the color that is set to all nodes if Set node color is checked.
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.