SetVoxelValue¶
-
MLModule¶ genre Unaryauthor MeVis Medical Solutions AGpackage MeVisLab/Standarddll MLBasicModulesdefinition mlBasicModules.def see also SubImage,GetVoxelValuekeywords 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.
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. |