DrawPrimitives

MLModule
genre Draw
status work-in-progress
authors Tobias Boskamp, Horst Hahn
package MeVisLab/Standard
dll MLDrawPrimitives
definition MLDrawPrimitives.def
keywords rasterize, disclist, base

Purpose

The module DrawPrimitives rasterizes discs of type ml::DiscList into an image.

Windows

Default Panel

../../../Modules/ML/MLDrawPrimitives/mhelp/Images/Screenshots/DrawPrimitives._default.png

Input Fields

input0

name: input0, type: Image

Reference ML image.

InputObjects

name: InputObjects, type: MLBase

DiscList to be rastered.

Output Fields

output0

name: output0, type: Image

ML image with rastered discs.

Parameter Fields

Field Index

Auto Redraw: Bool Status: String
Gray Value: Integer  
grayMax: Integer  
grayMin: Integer  
grayValueOn: Bool  
Output Mode: Enum  
Redraw: Trigger  
redrawOn: Bool  

Visible Fields

Redraw

name: redraw, type: Trigger, deprecated name: Redraw

If pressed, the module rasters the discs into the image anew.

Auto Redraw

name: autoRedraw, type: Bool, default: TRUE, deprecated name: AutoRedraw

If checked, the module rastersanew on each change of any field.

Output Mode

name: outputMode, type: Enum, default: original max, deprecated name: OutputMode

Defines the rasterization mode.

Values:

Title Name Description
original min original min Uses the input image's minimum value for rasterization.
original max original max Uses the input image's maximum value for rasterization.
user defined user defined Uses the value defined in Gray Value for rasterization.

Gray Value

name: grayValue, type: Integer, default: 255, minimum: :field:`grayMin`, maximum: :field:`grayMax`, deprecated name: GrayValue

Sets a gray value for rasterization. Is used if Output Mode is set to user defined.

Status

name: status, type: String, deprecated name: Status

Shows the status of this module.

Hidden Fields

redrawOn

name: redrawOn, type: Bool, default: FALSE, deprecated name: RedrawOn

grayValueOn

name: grayValueOn, type: Bool, default: FALSE, deprecated name: GrayValueOn

grayMin

name: grayMin, type: Integer, default: 0, deprecated name: GrayMin

grayMax

name: grayMax, type: Integer, default: 255, deprecated name: GrayMax