SoView2DVoxelValue¶
-
InventorModule¶ genre Interactionauthor MeVis Medical Solutions AGpackage MeVisLab/Standarddll SoView2Ddefinition view2d.def see also SoView2D,GetVoxelValueinherits from SoView2DExtensionkeywords pixel,cursor,position,extension
Purpose¶
The module SoView2DVoxelValue shows the current position of the mouse cursor and the voxel value beneath it.
Parameter Fields¶
Field Index¶
Alt: Enum |
Integer Position: Vector3 |
Show Color Channel Values: Bool |
clipToSlice: Bool |
interactionProviderID: String |
singleClicked: Trigger |
color: Color |
Invalidate Undefined Output Values: Bool |
Stored Value: Float |
Color Channel Separator: String |
maskValid: Bool |
Stored Value String: String |
createNewMode: Bool |
Max Precision: Integer |
Values Valid: Bool |
createNewModeRequest: Trigger |
modality: String |
viewerId: String |
cursorShape: Enum |
needsValidVoxel: Bool |
Voxel Position: Vector3 |
doubleClicked: Trigger |
Output Value: Float |
wantsAllEvents: Bool |
drawingOn: Bool |
Output Value String: String |
wantsKeyEvents: Bool |
editingOn: Bool |
renderOnSlab: Bool |
World Position: Vector3 |
fixZOn: Bool |
selectionTolerance: Float |
|
ignoreHandledEvents: Bool |
setEventHandled: Bool |
Visible Fields¶
Values Valid¶
-
name:valuesValid, type:Bool, persistent:no, deprecated name:valuesUpToDate¶ This will be set to false if the mouse cursor is not over the image.
Voxel Position,Integer Position, andWorld Positionshould be considered as invalid, as well asOutput ValueandStored Value.
Voxel Position¶
-
name:voxelPosition, type:Vector3, persistent:no, deprecated name:voxelPos¶ Shows the current voxel position.
Integer Position¶
-
name:integerPosition, type:Vector3, persistent:no, deprecated name:floorVoxelPos¶ Shows the floored current voxel position.
World Position¶
-
name:worldPosition, type:Vector3, persistent:no, deprecated name:worldPos¶ Shows the current world position.
Stored Value¶
-
name:storedValue, type:Float, persistent:no, deprecated name:value¶ Shows the value stored in the image under the mouse cursor.
Output Value¶
-
name:outputValue, type:Float, persistent:no, deprecated name:medicalValue¶ Shows the voxel value under the mouse cursor in Hounsfield units.
This value is only valid for CT images.
Show Color Channel Values¶
-
name:showColorChannelValues, type:Bool, default:FALSE¶ If checked, the display of voxel values from all color channels in
Stored Value Stringis enabled; otherwise, only the value of the first channel is shown.
Color Channel Separator¶
-
name:colorChannelSeparator, type:String, default:/¶ Sets the string used to separate color channel components in
Stored Value String; other separators than a space are recommended to distinguish it from the space used in non-scalar voxel values.
Invalidate Undefined Output Values¶
-
name:invalidateUndefinedOutputValues, type:Bool, default:TRUE¶ If checked, output values are set to NaN/empty string when
Values Validis false.
Max Precision¶
-
name:maxPrecision, type:Integer, default:4¶ Sets the maximum number of digits after the comma of non-scalar voxels.
Stored Value String¶
-
name:storedValueString, type:String, persistent:no, deprecated name:valueStr¶ Shows the same as
Stored Valueonly as a string.
Output Value String¶
-
name:outputValueString, type:String, persistent:no, deprecated name:medicalValueStr¶ Shows the same as
Output Valueonly as a string.