DrawVoxels3DMacro

MacroModule
genre Draw
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition DrawVoxels3DMacro.def
see also DrawVoxels3D

Purpose

The module DrawVoxels3DMacro is a convenience macro that combines the DrawVoxels3D with the DrawVoxels3DPreview.

Windows

Default Panel

../../../Modules/Macros/DrawVoxels3DMacro/mhelp/Images/Screenshots/DrawVoxels3DMacro._default.png

Input Fields

inImage

name: inImage, type: Image

Output Fields

self

name: self, type: SoNode

outImage

name: outImage, type: Image

Parameter Fields

Field Index

Alpha: Float Hide Preview On Interaction: Bool
Clamped Voxel Write Value: Double Size Coordinate System: Enum
Clear: Trigger Update Mode: Enum
Color: Color Voxel Write Value: Double
Copy Input Image: Trigger  
Draw Mode: Enum  
Draw Size: Double  
Draw Thickness: Double  

Visible Fields

Color

name: color, type: Color, default: 1 0.776470601558685 0.20392157137394

Sets a color for the preview shape.

Alpha

name: alpha, type: Float, default: 0.63, minimum: 0, maximum: 1

Sets an alpha factor for the preview shape.

Voxel Write Value

name: voxelWriteValue, type: Double, default: 1024

Sets the value that is written to the voxels.

Clamped Voxel Write Value

name: clampedVoxelWriteValue, type: Double, persistent: no

Shows the actually written voxel value; this might differ from the values of Voxel Write Value if the data type range of the image does not contain the desired write value.

Draw Mode

name: drawMode, type: Enum, default: DiskZ

Defines the draw mode.

Values:

Title Name
Cube Cube
Sphere Sphere
Square X SquareX
Square Y SquareY
Square Z SquareZ
Disk X DiskX
Disk Y DiskY
Disk Z DiskZ

Draw Size

name: drawSize, type: Double, default: 17, minimum: 0.5

Sets the draw size in mm or voxel, depending on Size Coordinate System

Draw Thickness

name: drawThickness, type: Double, default: 11, minimum: 0.1

Sets the draw thickness in slices.

Size Coordinate System

name: sizeCoordinateSystem, type: Enum, default: World

Defines how the value of Draw Size is interpreted.

Values:

Title Name
Voxel Voxel
World World

Update Mode

name: updateMode, type: Enum, default: Clear, deprecated name: resetMode

Defines what happens on pressing Clear.

Values:

Title Name Description
Clear Clear The output image is cleared on input image change.
Copy Input CopyInput The input image is copied to the output image on input image change.
Off Off Nothing happens on input image change.

Copy Input Image

name: copyInputImage, type: Trigger

If pressed, the output image is copied from the input image.

Clear

name: clear, type: Trigger, deprecated name: reset

If pressed, the output image is cleared.

Hide Preview On Interaction

name: hidePreviewOnInteraction, type: Bool, default: TRUE

If checked, the preview rendering is hidden when interacting.