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.
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¶
Field Index¶
Apply : Trigger |
Face quality : Bool |
New PVL Name : String |
Auto Apply : Bool |
id : Integer |
Node curvature : Bool |
Clear : Trigger |
isProcessing : Bool |
Node valence : Bool |
Default Value : Double |
Label : String |
Overwrite label and description : Bool |
Description : String |
listenToFinishNotifications : Bool |
progress : Float |
Edge length : Bool |
listenToRepaintNotifications : Bool |
PVLs are persistent : Bool |
Edge Length Units : Enum |
listenToSelectionChangedNotifications : Bool |
shouldComputeNormals : Bool |
elapsedTime : Float |
Max. Value : Double |
triangulationMode : Enum |
Face area : Bool |
Min. Value : Double |
Update Mode : Enum |
Face Area Units : Enum |
New node PVL : Bool |
workDirectlyOnInputWEMs : Bool |
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
andDescription
.
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.