SetVoxelValue

MLModule
genre Unary
status stable
author Jan-Martin Kuhnigk
package MeVisLab/Standard
dll MLBasicModules
definition mlBasicModules.def
see also SubImage, GetVoxelValue
keywords draw, set, voxel, value, position, coordinate

Purpose

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

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: String
Position Coordinate System: Enum
Position Valid: Bool
Up To Date: Bool
Update: Trigger
Update Mode: Enum
Write Value: Double

Visible Fields

Position

name: position, type: String, 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: Double, default: 0

Sets the value to be written at the specified position.

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 Description
Off Off Nothing happens if any field changes.
Auto Update AutoUpdate The module computes anew 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.