SetVoxelValue

MLModule
genre Unary
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLBasicModules
definition mlBasicModules.def
see also SubImage, GetVoxelValue
keywords draw, position, coordinate

Purpose

The module SetVoxelValue overwrites a single voxel in an image with a user-defined value.

The data type of the output image is the same as the data type of the input image. Also, the Write Value’s data type is the same, using a UniversalTypeField.

Tips

Currently, only standard image types are supported.

Windows

Default Panel

../../../Modules/ML/MLBasicModules/mhelp/Images/Screenshots/SetVoxelValue._default.png

Input Fields

input0

name: input0, type: Image

Output Fields

output0

name: output0, type: Image

Parameter Fields

Field Index

Position: Vector6
Position Coordinate System: Enum
Position Valid: Bool
Up To Date: Bool
Update: Trigger
Update Mode: Enum
Write Value: String

Visible Fields

Position

name: position, type: Vector6, default: 0 0 0 0 0 0

Sets the coordinate of the voxel to be modified.

The position is interpreted according to Position Coordinate System.

Write Value

name: writeValue, type: String, default: 0

Sets the value to be written at the specified position. The data type of this value is the same as the input image’s data type.

Up To Date

name: upToDate, type: Bool, persistent: no

Shows whether the output image is up-to-date.

Position Valid

name: positionValid, type: Bool, persistent: no

Shows whether the position is valid in the attached input image.

Update Mode

name: autoUpdateMode, type: Enum, default: AutoUpdate

Defines the update mode of this module.

Values:

Title Name Deprecated Name Description
Update AutoUpdate   The module computes anew on any field change.
Clear AutoClear Off The module clears its output on any field change.

Position Coordinate System

name: coordinateType, type: Enum, default: World

Defines the coordinate system in which the Position is interpreted.

Values:

Title Name
World World
Voxel Voxel

Update

name: update, type: Trigger

If pressed, the module computes anew.