WEMDicomLoad

MacroModule
genre DICOM
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition WEMDicomLoad.def
see also WEMDicomSave, WEMLoad, WEMSave
keywords load, restore, load, mesh, surface, segmentation, object, sso

Purpose

This module will try to load a WEM object from a DICOM file that must contain a Surface Segmentation Object.

Usage

Put the file name of a Dicom file into Filename and press Load.

Details

This module will ignore line and point primitives.

If a surface contains “facet” primitives a WEMPolygonPatch (or a WEMQuadPatch if the facets all have 4 nodes) will be created instead of the normal WEMTrianglePatch.

Windows

Default Panel

../../../Modules/Macros/WEMDicomStorage/mhelp/Images/Screenshots/WEMDicomLoad._default.png

Output Fields

outWEM

name: outWEM, type: WEM(MLBase)

The WEM object read.

For accessing this object via scripting see the Scripting Reference: MLWEMWrapper.

outDicomTree

name: outDicomTree, type: DicomTree(MLBase)

The loaded DICOM file represented as DicomTree object.

For accessing this object via scripting see the Scripting Reference: MLABDicomTree.

Parameter Fields

Field Index

Clear: Trigger
Filename: String
Load: Trigger
Ok: Bool
Status: String

Visible Fields

Filename

name: filename, type: String

The filename of the Dicom file to load.

Load

name: load, type: Trigger

Triggers the loading process.

Clear

name: clear, type: Trigger

Clear the output and status fields.

Status

name: status, type: String, persistent: no

This field will contain error reasons is Ok is not true, otherwise it will just read “Ok”.

Ok

name: ok, type: Bool, persistent: no

This field indicates if the last load operation performed without problems.