WEMInfo¶
-
MLModule
¶ genre WEMInformation
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLWEMModules
definition MLWEMModules.def see also SoWEMRenderer
inherits from WEMInspector
keywords information
Purpose¶
The module WEMInfo
provides some general and statistic information about the connected WEM.
Details¶
The module display general information about a whole WEM or the selected WEMPatches and more detailed information on its statistics panel.
For every primitive value list some statistical information (minimum, maximum, mean and units) is displayed.
To generate a statistic that is stored in a PVL, use the module WEMGenerateStatistics
.
Input Fields¶
The WEM to gather information about.
inWEM¶
-
name:
inWEM
, type:
WEM(MLBase)
¶ - For accessing this object via scripting see the Scripting Reference:
MLWEMWrapper
.
Output Fields¶
outputCurveData¶
-
name:
outputCurveData
, type:
CurveData(MLBase)
¶ A histogram curve if all is valid, containing the information of the chosen statistic.
For accessing this object via scripting see the Scripting Reference:MLCurveDataWrapper
.
Parameter Fields¶
Field Index¶
Visible Fields¶
Finishing notifications¶
-
name:
listenToFinishingNotifications
, type:
Bool
, default:
TRUE
¶ If checked, the module listens to FINISHED notifications and updates on them.
Repaint notifications¶
-
name:
listenToRepaintNotifications
, type:
Bool
, default:
FALSE
¶ If checked, the module listens to REPAINT notifications and updates on them.
Selection notifications¶
-
name:
listenToSelectionChangedNotifications
, type:
Bool
, default:
TRUE
¶ If checked, the module listens to SELECTION notifications and updates on them.
Is WEM valid¶
-
name:
isWEMValid
, type:
Bool
, persistent:
no
¶ Shows whether the input WEM is valid.
The input WEM is valid if at least one WEMPatch is not NULL and has a non-zero amount of faces and nodes. The WEMPatch does not need to have edges.
Selected WEM Ids¶
-
name:
selectedWEMs
, type:
String
, persistent:
no
¶ Shows the ids of the selected WEMPatches.
Information Fields Valid¶
-
name:
informationFieldsValid
, type:
Bool
, persistent:
no
¶ Shows whether the information fields for selected WEMPatches are valid.
Global Information Fields Valid¶
-
name:
globalInformationFieldsValid
, type:
Bool
, persistent:
no
¶ Shows whether the fields for displaying information of all WEMPatches are valid.
Num. Nodes (globalNumNodes)¶
-
name:
globalNumNodes
, type:
Integer
, persistent:
no
¶ Shows the total number of nodes.
Num. Edges (globalNumEdges)¶
-
name:
globalNumEdges
, type:
Integer
, persistent:
no
¶ Shows the total number of edges.
Num. Faces (globalNumFaces)¶
-
name:
globalNumFaces
, type:
Integer
, persistent:
no
¶ Shows the total number of faces.
Num. Locked Faces (globalNumLockedFaces)¶
-
name:
globalNumLockedFaces
, type:
Integer
, persistent:
no
¶ Shows the total number of locked faces.
A locked face is a single-colored face that cannot be smoothed, reduced, or subdivided. If all faces are locked and the user attempts any of the listed operations, a warning will be printed to the console.
Area (globalSurfaceArea)¶
-
name:
globalSurfaceArea
, type:
Double
, persistent:
no
¶ Shows the total area in mm2.
Volume (globalSurfaceVolume)¶
-
name:
globalSurfaceVolume
, type:
Double
, persistent:
no
¶ Shows the total volume in mm3.
Center (globalCenter)¶
-
name:
globalCenter
, type:
Vector3
, persistent:
no
¶ Shows the center of all WEMPatches.
Min.¶
-
name:
globalMinimum
, type:
Vector3
, persistent:
no
¶ Shows the minimum bounding box corner of all WEMPatches.
Max.¶
-
name:
globalMaximum
, type:
Vector3
, persistent:
no
¶ Shows the maximum bounding box corner of all WEMPatches.
Size (globalSize)¶
-
name:
globalSize
, type:
Vector3
, persistent:
no
¶ Shows the size of the bounding box for all WEMPatches.
Radius (globalRadius)¶
-
name:
globalRadius
, type:
Double
, persistent:
no
¶ Shows the radius of the bounding box for all WEMPatches.
Num. Nodes (numNodes)¶
-
name:
numNodes
, type:
Integer
, persistent:
no
¶ Shows the number of nodes of all selected WEMPatches.
Num. Edges (numEdges)¶
-
name:
numEdges
, type:
Integer
, persistent:
no
¶ Shows the number of edges of all selected WEMPatches.
Num. Faces (numFaces)¶
-
name:
numFaces
, type:
Integer
, persistent:
no
¶ Shows the number of faces of all selected WEMPatches.
Num. Locked Faces (numLockedFaces)¶
-
name:
numLockedFaces
, type:
Integer
, persistent:
no
¶ Shows the number of locked faces of all selected WEMPatches.
A locked face is a single-colored face that cannot be smoothed, reduced, or subdivided. If all faces are locked and the user attempts any of the listed operations, a warning will be printed to the console.
Unique Id¶
-
name:
uniqueId
, type:
Integer
, persistent:
no
¶ Shows the unique Id of the WEM. It is generated at construction time.
Patch Type¶
-
name:
patchType
, type:
Enum
, persistent:
no
¶ Shows the type of faces of a patch.
Values:
Title | Name |
---|---|
Unknown | Unknown |
Triangles | Triangles |
Quads | Quads |
Polygons | Polygons |
Area (surfaceArea)¶
-
name:
surfaceArea
, type:
Double
, persistent:
no
¶ Shows the total surface area in mm2.
Volume (surfaceVolume)¶
-
name:
surfaceVolume
, type:
Double
, persistent:
no
¶ Shows the volume of the surface in mm3.
Description¶
-
name:
description
, type:
String
, persistent:
no
¶ Shows the description of the selected WEMPatch.
Bounding Box Mode¶
-
name:
boundingBoxMode
, type:
Enum
, default:
Axis Aligned
¶ Defines the bounding box mode.
Values:
Title | Name |
---|---|
Axis Aligned | Axis Aligned |
Object Aligned | Object Aligned |
Center (center)¶
-
name:
center
, type:
Vector3
, persistent:
no
¶ Shows the center of the axis aligned bounding box.
Minimum¶
-
name:
minimum
, type:
Vector3
, persistent:
no
¶ Shows the minimum vector of the axis aligned bounding box.
Maximum¶
-
name:
maximum
, type:
Vector3
, persistent:
no
¶ Shows the maximum vector of the axis aligned bounding box.
Size (size)¶
-
name:
size
, type:
Vector3
, persistent:
no
¶ Shows a vector describing the size of the axis aligned bounding box (its extent).
Main Axis Center¶
-
name:
mainAxisCenter
, type:
Vector3
, persistent:
no
¶ Shows the center of the main axis bounding box.
XMain Axis¶
-
name:
xMainAxis
, type:
Vector3
, persistent:
no
¶ Shows the direction vector of the x-component of the main axis bounding box.
YMain Axis¶
-
name:
yMainAxis
, type:
Vector3
, persistent:
no
¶ Shows the direction vector of the y-component of the main axis bounding box.
ZMain Axis¶
-
name:
zMainAxis
, type:
Vector3
, persistent:
no
¶ Shows the direction vector of the z-component of the main axis bounding box.
Primitive Value¶
-
name:
selectedPrimitiveValueList
, type:
String
¶ Sets the currently selected statistic.
Valid list¶
-
name:
primitiveValueListValid
, type:
Bool
, persistent:
no
¶ Shows whether the chosen PVL is valid.
List Type¶
-
name:
primitiveValueListType
, type:
Enum
, persistent:
no
¶ Association type of the primitive value list
Values:
Title | Name | Description |
---|---|---|
Node | Node | Values are associated with the nodes. |
Edge | Edge | Values are associated with the edges. |
Face | Face | Values are associated with the faces. |
Num. Values in List¶
-
name:
numberOfPrimitiveValuesInList
, type:
Integer
, persistent:
no
¶ Number of values in the primitive value list.
Minimum Value¶
-
name:
minPrimitiveValueList
, type:
Double
, persistent:
no
¶ Shows the minimum value of the current statistic.
Maximum Value¶
-
name:
maxPrimitiveValueList
, type:
Double
, persistent:
no
¶ Shows the maximum value of the current statistic.
Mean Value¶
-
name:
meanPrimitiveValueList
, type:
Double
, persistent:
no
¶ Shows the mean value of the current statistic
Standard Deviation¶
-
name:
stdPrimitiveValueList
, type:
Double
, persistent:
no
¶ Shows the standard deviation of the current statistic
Root Mean Square Deviation¶
-
name:
rmsdPrimitiveValueList
, type:
Double
, persistent:
no
¶ Shows the root of the squared deviation of the current statistic
Value Units¶
-
name:
primitiveValueListUnits
, type:
String
, persistent:
no
¶ Shows the units of the current statistic.