CSOToSurface

MLModule

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

MLOpenVDB

definition

MLOpenVDB.def

inherits from

WEMGenerator

keywords

WEM

Purpose

The CSOToSurface module allows for creating a WEM surface mesh from CSOs (contours).

This module essentially performs the same function as CSOVoxelizeContours followed by WEMIsoSurface, but it operates more efficiently because it works on a sparse voxel grid internally.

The CSOs should be aligned in the x/y orientation of the reference input image and should be located on the z slices. The module will generate surfaces for arbitrary CSOs; however, to achieve a nicely closed surface, the CSOs should lie precisely on the slices of the reference image.

If you need more control over the surface creation, you will need to switch to CSOVoxelizeContours and WEMIsoSurface.

Windows

Default Panel

../../../Projects/MLOpenVDB/MLOpenVDB/Modules/mhelp/Images/Screenshots/CSOToSurface._default.png

Input Fields

input0

name: input0, type: Image

The reference image; the CSOs are voxelized to a voxel grid with the dimensions of this image.

inCSO

name: inCSO, type: CSOList(MLBase)

The input CSOs

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

Output Fields

outWEM

name: outWEM, type: WEM(MLBase)

The output surface.

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

Parameter Fields

Field Index

Adaptivity: Double

Iso Value: Float

Apply: Trigger

isProcessing: Bool

Auto Apply: Bool

Label: String

Build Edges: Bool

Overwrite label and description: Bool

Clear: Trigger

progress: Float

Description: String

shouldComputeNormals: Bool

elapsedTime: Float

Update Mode: Enum

id: Integer

Visible Fields

Auto Apply

name: autoApply, type: Bool, default: TRUE

see WEMGenerator.autoApply

Update Mode

name: updateMode, type: Enum, default: AutoUpdate, deprecated name: autoUpdate

see WEMGenerator.updateMode

Apply

name: apply, type: Trigger

see WEMGenerator.apply

Clear

name: clear, type: Trigger

see WEMGenerator.clear

Overwrite label and description

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

Adaptivity

name: adaptivity, type: Double, default: 0

Sets the adaptivity of the mesh generation.

A value of 0 means maximum detail, while a value of 1 indicates maximum polygon reduction.

Build Edges

name: buildEdges, type: Bool, default: TRUE

If checked, edges of the output WEM are generated.

Iso Value

name: isoValue, type: Float, default: 0.5, minimum: 0.001, maximum: 1

Sets the level set iso-value; the default is 0.5 to ensure compatibility with WEMIsoSurface.

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

shouldComputeNormals

name: shouldComputeNormals, type: Bool, default: TRUE

see WEMGenerator.shouldComputeNormals

progress

name: progress, type: Float, persistent: no