VTKPolyDataToWEM¶
- MLModule¶
genre
author
package
dll
definition
see also
MLToVTKImage,VTKToMLImage,VTKView,SoVTK,WEMToVTKPolyData,MLBaseToVTKPolyData,VTKInputInfosinherits from
keywords
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.
Windows¶
Default Panel¶
Input Fields¶
inputPolyData¶
- name: inputPolyData, type: VTKObjectWrapper(MLBase)¶
The input is a Base field for a vtkObjectTypeWrapper which contains a vtkPolyData object. It can be used to connect to a large number of VTK modules.
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¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
Apply¶
- name: apply, type: Trigger¶
See
Auto apply.
see also WEMGenerator.apply
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.
Do Scalar¶
- name: doScalar, type: Bool, default: FALSE¶
If enabled, the VTK’s scalar values associated with each node are added to the WEM’s PrimitiveValueList (PVL).
Generate Edges¶
- name: generateEdges, type: Bool, default: FALSE¶
If enabled the additionally to the faces also edges are generated.