WEMGenerateStatistics

MLModule
genre WEMProcessing
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLWEMModules
definition MLWEMModules.def
see also WEMInfo, SoWEMRenderer
inherits from WEMProcessor
keywords primitive, value, list, curvature, area, length, valence, quality

Purpose

The module WEMGenerateStatistics generates node, edge, and face statistics of a WEM and stores the information in the WEM’s Primitive Value Lists.

Windows

Default Panel

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

Input Fields

inWEM

name: inWEM, type: WEM(MLBase)
For accessing this object via scripting see the Scripting Reference: MLWEMWrapper.

Output Fields

outWEM

name: outWEM, type: WEM(MLBase)
For accessing this object via scripting see the Scripting Reference: MLWEMWrapper.

Parameter Fields

Visible Fields

Auto Apply

name: autoApply, type: Bool, default: TRUE

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

see also WEMGenerator.autoApply

Update Mode

name: updateMode, type: Enum, default: AutoUpdate, deprecated name: autoUpdate

Defines how this module should react on any input field change.

see also WEMGenerator.updateMode

Apply

name: apply, type: Trigger

If pressed, the module computes anew.

see also WEMGenerator.apply

Clear

name: clear, type: Trigger

If pressed, the output WEM is cleared (made empty).

see also WEMGenerator.clear

Overwrite label and description

name: overwriteLabelDescription, type: Bool, default: FALSE

If checked, label and description strings are set in the output WEM to Label and Description.

see also WEMGenerator.overwriteLabelDescription

Label

name: label, type: String

Sets a label string in the output WEM.

see also WEMGenerator.label

Description

name: description, type: String

Sets a description string in the output WEM.

see also WEMGenerator.description

Node curvature

name: shouldGenerateNodeCurvature, type: Bool, default: FALSE

If checked, the node curvatures are computed and stored.

Face area

name: shouldGenerateFaceArea, type: Bool, default: FALSE

If checked, the areas of the faces are computed and stored.

Edge length

name: shouldGenerateEdgeLength, type: Bool, default: FALSE

If checked, the lengths of the edges are computed and stored.

Node valence

name: shouldGenerateNodeValence, type: Bool, default: FALSE

If checked, the valences of the nodes are computed and stored.

Face quality

name: shouldGenerateFaceQuality, type: Bool, default: FALSE

If checked, the face qualities measured in a quadric error measure are computed and stored.

PVLs are persistent

name: pvlsArePersistent, type: Bool, default: FALSE

If checked, the generated PVLs are persistent; that means that the PVLs are saved to disk with the WEM and are copied from module to module if they are not working directly on the original WEM.

New node PVL

name: shouldGenerateNewNodePVL, type: Bool, default: FALSE

If checked, a new face PVL is generated if the given name is not empty.

New PVL Name

name: newNodePVLName, type: String, default: myNewNodePVL

Sets a name for a new face PVL.

Min. Value

name: newNodePVLMinValue, type: Double, default: 0

Sets the minimum value for the new node PVL. This value is clamped against Default Value.

Max. Value

name: newNodePVLMaxValue, type: Double, default: 1

Sets the maximum value for the new node PVL. This value is clamped against Default Value.

Default Value

name: newNodePVLDefaultValue, type: Double, default: 0

Sets the default value for the new node PVL.

Edge Length Units

name: edgeLengthUnits, type: Enum, default: mm

Defines the units for edge lengths.

Values:

Title Name
mm mm
cm cm
m m

Face Area Units

name: faceAreaUnits, type: Enum, default: mm2

Defines the unit for face areas.

Values:

Title Name
mm2 mm2
cm2 cm2
m2 m2

Hidden Fields

isProcessing

name: isProcessing, type: Bool, persistent: no

see WEMGenerator.isProcessing

elapsedTime

name: elapsedTime, type: Float, persistent: no

see WEMGenerator.elapsedTime

id

name: id, type: Integer, default: 0

see WEMGenerator.id

shouldComputeNormals

name: shouldComputeNormals, type: Bool, default: TRUE

see WEMGenerator.shouldComputeNormals

workDirectlyOnInputWEMs

name: workDirectlyOnInputWEMs, type: Bool, default: FALSE

see WEMProcessor.workDirectlyOnInputWEMs

listenToFinishNotifications

name: listenToFinishNotifications, type: Bool, default: TRUE

see WEMProcessor.listenToFinishNotifications

listenToRepaintNotifications

name: listenToRepaintNotifications, type: Bool, default: TRUE

see WEMProcessor.listenToRepaintNotifications

listenToSelectionChangedNotifications

name: listenToSelectionChangedNotifications, type: Bool, default: TRUE

see WEMProcessor.listenToSelectionChangedNotifications

progress

name: progress, type: Float, persistent: no

see WEMProcessor.progress

triangulationMode

name: triangulationMode, type: Enum, default: Strip

see WEMProcessor.triangulationMode