WEMInitialize

MLModule
genre WEMGenerate
status stable
authors Olaf Konrad, Bart De Dobbelaer
package MeVisLab/Standard
dll MLWEMModules
definition MLWEMModules.def
see also WEMLoad, LocalWEMLoad
keywords WEM, initialization, shape

Purpose

The module WEMInitialize initializes a WEM at some position and with some deformation.

Details

The module initializes a WEM with a well-formed winged-edge mesh, representing the chosen model.

However, for testing purposes, this module can also generate a corrupt WEM.

Windows

Default Panel

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

Output Fields

The internally generated WEM.

outWEM

name: outWEM, type: MLBase

Parameter Fields

Field Index

Apply: Trigger isProcessing: Bool
Auto Apply: Bool Model: Enum
Auto Update: Bool removePreviousWEMs: Bool
autoClear: Bool show: Bool
Deformation: Vector3 Translation: Vector3
editable: Bool useFaceDiffuseColor: Bool
elapsedTime: Float usePolygonOffset: Bool
id: Integer  

Visible Fields

Auto Apply

name: autoApply, type: Bool, default: TRUE

If checked, the output WEM is generated as any parameter is changed.

Auto Update

name: autoUpdate, type: Bool, default: TRUE

Does nothing really as this module has no input.

Apply

name: apply, type: Trigger

If pressed, the output WEM is generated.

Translation

name: initialPosition, type: Vector3, default: 0 0 0

Sets the initial position of the WEM.

Deformation

name: initialDeformation, type: Vector3, default: 1 1 1

Sets the initial deformation (anisotropic scaling) of the WEM.

Model

name: initModel, type: Enum, default: Dodecahedron

Defines the model to be used.

Values:

Title Name Description
Dodecahedron Dodecahedron  
Cube Cube  
So WEMDiagnosis Test SoWEMDiagnosis Test This model is for testing purposes only and should not be considered a valid WEM!

Hidden Fields

isProcessing

name: isProcessing, type: Bool, default: FALSE

elapsedTime

name: elapsedTime, type: Float, default: 0.011

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