| genre | WEMProcessing |
| status | stable |
| author | Olaf Konrad |
| package | MeVisLab/Standard |
| dll | MLWEMModules |
| definition | MLWEMModules.def |
| see also | WEMReducePolygons |
| keywords | WEM, split, subdivide |
The module WEMSubdivide can be used for subdividing a WEM in order to produce more nodes, edges and face without modifying the overall geometry.
Note: This module works on triangles only!
The WEMSubdivide module searches exhaustively in a WEM for edges with a length that exceeds an adjustable length threshold. Such an edge is split by inserting a node into the middle of the concerning edge (and additionally two edges and two faces are inserted into the WEM). Internally, a priority queue is used and because of that, the longest edges are split first. Additionally, after each run of splitting edges, the module tries to optimize the triangles by applying a edge-swap operation. Also, the faces' normals are smoothed before checking for a potential swap.
| Apply: Trigger | id: Integer | useFaceDiffuseColor: Bool |
| Auto Apply: Bool | isProcessing: Bool | useInputWEMToCreateOutputWEM: Bool |
| Auto Update: Bool | listenToFinishNotifications: Bool | usePolygonOffset: Bool |
| autoClear: Bool | Max. Edge Length: Float | |
| editable: Bool | progress: Float | |
| elapsedTime: Float | removePreviousWEMs: Bool | |
| forwardRepaintNotifications: Bool | show: Bool | |
| forwardSelectionNotifications: Bool | triangulationMode: Enum |