SoView2DSmartBinaryBrush¶
- InventorModule¶
author
package
dll
definition
see also
Draw3D,DrawVoxels3DMacro,DrawVoxels3DPreview,SoView2DDrawVoxels3Dinherits from
keywords
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.
Windows¶
Default Panel¶
Input Fields¶
inputDrawVoxels3D¶
- name: inputDrawVoxels3D, type: MLBase¶
A connected
DrawVoxels3Dis required for the module to work.
Output Fields¶
self¶
- name: self, type: SoNode¶
Inventor node, to be connected to a 2D viewer.
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Visible Fields¶
Editing On¶
- name: editingOn, type: Bool, default: TRUE¶
Shift¶
- name: shift, type: Enum, default: IGNORED¶
Control¶
- name: control, type: Enum, default: IGNORED¶
Alt¶
- name: alt, type: Enum, default: IGNORED¶
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
Background value¶
- name: inputBackgroundValue, type: Double, default: 0¶
Background value. This value is witten into the output image if it is removed from the mask.
Invert add/remove decision¶
- name: inputShouldInvert, type: Bool, default: FALSE¶
Invert add/remove decision. If FALSE, the smart brush will add voxels, if started from within the mask and remove voxels otherwise. If true, it will be the opposite behaviour