VTKPolyDataToWEM¶
- 
MLModule¶ genre VTKAdaptersauthor MeVis Medical Solutions AGpackage MeVisLab/VTKdll WEMVTKAdaptersdefinition MLWEMVTKAdapters.def see also MLToVTKImage,VTKToMLImage,VTKView,SoVTK,WEMToVTKPolyData,MLBaseToVTKPolyData,VTKInputInfosinherits from WEMGeneratorkeywords WEM,VTK,polydata,winged,edge,mesh,convert,conversion,adapter,interface
Purpose¶
VTKPolyDataToWEM converts a vtkPolyData object to a WEM. It is an adaptor module between the WEM package and VTK modules in MeVisLab. It is especially useful to apply VTK algorithms to meshes created with WEM modules and vice versa.
Input Fields¶
Output Fields¶
outWEM¶
- 
name:outWEM, type:WEM(MLBase)¶ The output connector is a Base field for WEM object which you find as an for many WEM modules.
For accessing this object via scripting see the Scripting Reference:MLWEMWrapper.
Parameter Fields¶
Field Index¶
Apply: Trigger | 
isProcessing: Bool | 
Auto apply: Bool | 
label: String | 
clear: Trigger | 
overwriteLabelDescription: Bool | 
description: String | 
shouldComputeNormals: Bool | 
Do Scalar: Bool | 
Status: String | 
elapsedTime: Float | 
Update Mode: Enum | 
Generate Edges: Bool | 
VTK Scalar: String | 
id: Integer | 
WEM PVL: String | 
Visible Fields¶
Update Mode¶
- 
name:updateMode, type:Enum, default:AutoUpdate¶ Specifies when and/or how the VTK image is updated on inputs changes.
see also WEMGenerator.updateMode
Auto apply¶
- 
name:autoApply, type:Bool, default:FALSE¶ If enabled then all changes are immediately applied and the output is updated. If disabled then
Applymust be pressed to activate the settings.
see also WEMGenerator.autoApply
Status¶
- 
name:status, type:String, persistent:no¶ Shows some information, normally some information about the connected input object.
VTK Scalar¶
- 
name:vtkScalar, type:String¶ The name of the VTK’s scalar values of the nodes that should be converted to the WEM’s PVL.
WEM PVL¶
- 
name:wemPVL, type:String, default:LUT¶ The name of the target WEM PVL for the VTK’s scalar node values.