SoView2DSmartBinaryBrush¶
-
InventorModule
¶ author mhuellebrand
package FMEwork/ReleaseMeVis
dll SoView2DSmartBinaryBrush
definition SoView2DSmartBinaryBrush.def see also Draw3D
,DrawVoxels3DMacro
,DrawVoxels3DPreview
,SoView2DDrawVoxels3D
inherits from SoView2DExtension
keywords manual
,correction
Purpose¶
The SoView2DSmartBinaryBrush
module allows to interactively create or correct binary mask images with a connected DrawVoxels3D
module.
It does not provide visual feedback yet, other Open Inventor modules can be used
to provide that feedback (see DrawVoxels3DPreview
).
Usage¶
Connect to a 2D viewer to the inventor output and the base output of the DrawVoxels3D
module inputDrawVoxels3D
. Segmentation/Correction can be interactively performed by clicking and moving the mouse. Whether parts will be added or removed is decided automatically depending on the start position of the interaction (inside or outside of the current mask image). This decision can be inverted by the Invert add/remove decision
, which can i.e. be combined with SoKeyGrabber
. Foreground and background label values can be specified by Mask value
and Background value
respectively.
Input Fields¶
inputDrawVoxels3D¶
-
name:
inputDrawVoxels3D
, type:
MLBase
¶ A connected
DrawVoxels3D
is required for the module to work.
Parameter Fields¶
Field Index¶
Alt : Enum |
cursorShape : Enum |
needsValidVoxel : Bool |
Background value : Double |
doubleClicked : Trigger |
renderOnSlab : Bool |
Button1 : Enum |
drawingOn : Bool |
selectionTolerance : Float |
Button2 : Enum |
Editing On : Bool |
setEventHandled : Bool |
Button3 : Enum |
fixZOn : Bool |
Shift : Enum |
clipToSlice : Bool |
ignoreHandledEvents : Bool |
singleClicked : Trigger |
color : Color |
interactionProviderID : String |
wantsAllEvents : Bool |
Control : Enum |
Invert add/remove decision : Bool |
wantsKeyEvents : Bool |
createNewMode : Bool |
Mask value : Double |
wantsMouseWheelEvents : Bool |
createNewModeRequest : Trigger |
maskValid : Bool |
Visible Fields¶
Mask value¶
-
name:
inputLabelValue
, type:
Double
, default:
1
¶ Voxel write value. This value is used to define if a voxel is inside the mask or not, and is written into the output image