VTKPolyDataToWEM

MLModule

genre

VTKAdapters

author

MeVis Medical Solutions AG

package

MeVisLab/VTK

dll

WEMVTKAdapters

definition

MLWEMVTKAdapters.def

see also

MLToVTKImage, VTKToMLImage, VTKView, SoVTK, WEMToVTKPolyData, MLBaseToVTKPolyData, VTKInputInfos

inherits from

WEMGenerator

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

../../../Modules/ML/MLWEMVTKAdapters/mhelp/Images/Screenshots/VTKPolyDataToWEM._default.png

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

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

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 Apply must 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.

Hidden Fields

isProcessing

name: isProcessing, type: Bool, persistent: no

see WEMGenerator.isProcessing

elapsedTime

name: elapsedTime, type: Float, persistent: no

see WEMGenerator.elapsedTime

id

name: id, type: Integer, default: 0

see WEMGenerator.id

clear

name: clear, type: Trigger

see WEMGenerator.clear

overwriteLabelDescription

name: overwriteLabelDescription, type: Bool, default: FALSE

see WEMGenerator.overwriteLabelDescription

label

name: label, type: String

see WEMGenerator.label

description

name: description, type: String

see WEMGenerator.description

shouldComputeNormals

name: shouldComputeNormals, type: Bool, default: TRUE

see WEMGenerator.shouldComputeNormals