WEMPVL

MLModule
genre WEMProcessing
status stable
author Bart De Dobbelaer
package MeVisLab/Standard
dll MLWEMModules
definition MLWEMModules.def
see also SoWEMRenderer
keywords WEM, primitive, value, list

Purpose

The module WEMPVL adds a Primitive Value List to nodes, edges or faces.

The module is only meant for developing and/or testing purposes.

Usage

Connect any WEM to the input and select which primitive value lists should be added.

Details

Three different primitive value lists exist: node, edge and face. Depending on the type the value is defined for the given primitive of the WEMPatch. Normally the value indicates something. For instance WEMIsoSurface adds the image value to each node. The primitive value lists added by WEMPVL however only serve a debugging and testing purpose. The value switches based on the entry number of the primitive: odd numbers get a value of 5, even numbers a value of 10.

Windows

Default Panel

../../../Modules/ML/MLWEMModules/mhelp/Images/Screenshots/WEMPVL._default.png

Input Fields

inWEM

name: inWEM, type: MLBase

Output Fields

outWEM

name: outWEM, type: MLBase

Parameter Fields

Visible Fields

Auto Apply

name: autoApply, type: Bool, default: TRUE

If checked, the output WEM is computed anew on any parameter change.

Auto Update

name: autoUpdate, type: Bool, default: TRUE

If checked, the output WEM is computed anew on each change of the input WEM.

Apply

name: apply, type: Trigger

If pressed, the output WEM is computed anew on base of the current parameter settings.

Modify Attributes

name: modifyAttributes, type: Bool, default: FALSE

If checked, attributes can be changed in the output WEM.

Only available if the module is working on a copy!

Add Node Primitive Value List

name: addNodePrimitiveValueList, type: Bool, default: TRUE

If checked, a PVL is added to the nodes.

Add Edge Primitive Value List

name: addEdgePrimitiveValueList, type: Bool, default: FALSE

If checked, a PVL is added to the edges.

Add Face Primitive Value List

name: addFacePrimitiveValueList, type: Bool, default: FALSE

If checked, a PVL is added to the faces.

Node Primitive Value List Name

name: nodePrimitiveValueListName, type: String, default: nodePVL

Sets the name of the nodes' PVL.

Edge Primitive Value List Name

name: edgePrimitiveValueListName, type: String, default: edgePVL

Sets the name of the edges' PVL.

Face Primitive Value List Name

name: facePrimitiveValueListName, type: String, default: facePVL

Sets the name of the faces' PVL.

Hidden Fields

isProcessing

name: isProcessing, type: Bool, default: FALSE

elapsedTime

name: elapsedTime, type: Float, default: 0.001

id

name: id, type: Integer, default: 0

autoClear

name: autoClear, type: Bool, default: FALSE

removePreviousWEMs

name: removePreviousWEMs, type: Bool, default: TRUE

show

name: show, type: Bool, default: TRUE

editable

name: editable, type: Bool, default: TRUE

useFaceDiffuseColor

name: useFaceDiffuseColor, type: Bool, default: TRUE

usePolygonOffset

name: usePolygonOffset, type: Bool, default: FALSE

listenToFinishNotifications

name: listenToFinishNotifications, type: Bool, default: TRUE

forwardRepaintNotifications

name: forwardRepaintNotifications, type: Bool, default: TRUE

forwardSelectionNotifications

name: forwardSelectionNotifications, type: Bool, default: TRUE

progress

name: progress, type: Float, persistent: no

useInputWEMToCreateOutputWEM

name: useInputWEMToCreateOutputWEM, type: Bool, persistent: no

triangulationMode

name: triangulationMode, type: Enum, default: Strip

Values:

Title Name
Center node Center node
Fan Fan
Strip Strip