LabelImageBrush

MLModule

author

Florian Link

package

FMEstable/ReleaseMeVis

dll

MLLabelImage

definition

MLLabelImage.def

Purpose

The LabelImageBrush module allows to draw on a LabelImage with a simple brush.

For interaction on a SoView2D, plug it into a SoView2DLabelImageBrush module.

Input Fields

inLabelImage

name: inLabelImage, type: LabelImage(MLBase)

The base output of a LabelImage to draw on.

Output Fields

output0

name: output0, type: Image

The current brush shape (and world coordinates of it), can be used to draw an interactive overlay of the current brush.

outSelf

name: outSelf, type: MLBase

The brush C++ API, to be plugged into a SoView2DLabelImageBrush.

Parameter Fields

Visible Fields

Radius

name: radius, type: Double, default: 1

The radius of the brush.

Label

name: label, type: Integer, default: 1

The label value to draw with.

Voxel Write Mode

name: voxelWriteMode, type: Enum, default: WriteAlways

The voxel write mode.

Values:

Title

Name

Always

WriteAlways

If Not Zero

WriteIfNotZero

Brush Type

name: brushType, type: Enum, default: Sphere

The type of the brush.

Values:

Title

Name

Disc

Disc

Sphere

Sphere