SoView2DLabelImageBrush

InventorModule

author

Florian Link

package

FMEstable/ReleaseMeVis

dll

SoLabelImage

definition

SoLabelImage.def

inherits from

SoView2DExtension

Purpose

The SoView2DLabelImageBrush allows to draw interactively on a LabelImage using one of the available brush modules:

The SoView2DLabelImageBrush only provides the SoView2D interaction, the drawing with the brush is implemented in the LabelImageBrush and other brush modules.

Input Fields

inputBrush

name: inputBrush, type: LabelImageBrushBase(MLBase)

The base output of a LabelImageBrush or derived modules.

Output Fields

self

name: self, type: SoNode

To be placed in front of a SoView2D.

Parameter Fields

Field Index

alt: Enum

cursorShape: Enum

renderOnSlab: Bool

button1: Enum

doubleClicked: Trigger

selectionTolerance: Float

button2: Enum

drawingOn: Bool

setEventHandled: Bool

button3: Enum

editingOn: Bool

shift: Enum

clipToSlice: Bool

fixZOn: Bool

singleClicked: Trigger

color: Color

ignoreHandledEvents: Bool

Snap To Voxel Center: Bool

control: Enum

interactionProviderID: String

wantsAllEvents: Bool

createNewMode: Bool

maskValid: Bool

wantsKeyEvents: Bool

createNewModeRequest: Trigger

needsValidVoxel: Bool

wantsMouseWheelEvents: Bool

Visible Fields

Snap To Voxel Center

name: snapToVoxelCenter, type: Bool, default: FALSE

Enables snapping to the voxel center (otherwise drawing is done with subvoxel precision).

Hidden Fields

interactionProviderID

name: interactionProviderID, type: String

see SoView2DExtension.interactionProviderID

drawingOn

name: drawingOn, type: Bool, default: TRUE

see SoView2DExtension.drawingOn

editingOn

name: editingOn, type: Bool, default: TRUE

see SoView2DExtension.editingOn

maskValid

name: maskValid, type: Bool, persistent: no

fixZOn

name: fixZOn, type: Bool, default: TRUE

color

name: color, type: Color, default: 1 1 1

see SoView2DExtension.color

selectionTolerance

name: selectionTolerance, type: Float, default: 4

needsValidVoxel

name: needsValidVoxel, type: Bool, default: TRUE

see SoView2DExtension.needsValidVoxel

button1

name: button1, type: Enum, default: PRESSED

see SoView2DExtension.button1

button2

name: button2, type: Enum, default: IGNORED

see SoView2DExtension.button2

button3

name: button3, type: Enum, default: IGNORED

see SoView2DExtension.button3

shift

name: shift, type: Enum, default: IGNORED

see SoView2DExtension.shift

control

name: control, type: Enum, default: IGNORED

see SoView2DExtension.control

alt

name: alt, type: Enum, default: IGNORED

see SoView2DExtension.alt

wantsAllEvents

name: wantsAllEvents, type: Bool, default: FALSE

wantsKeyEvents

name: wantsKeyEvents, type: Bool, default: FALSE

wantsMouseWheelEvents

name: wantsMouseWheelEvents, type: Bool, default: FALSE

setEventHandled

name: setEventHandled, type: Bool, default: FALSE

see SoView2DExtension.setEventHandled

ignoreHandledEvents

name: ignoreHandledEvents, type: Bool, default: FALSE

see SoView2DExtension.ignoreHandledEvents

createNewMode

name: createNewMode, type: Bool, default: FALSE

see SoView2DExtension.createNewMode

createNewModeRequest

name: createNewModeRequest, type: Trigger

see SoView2DExtension.createNewModeRequest

renderOnSlab

name: renderOnSlab, type: Bool, default: FALSE

clipToSlice

name: clipToSlice, type: Bool, default: FALSE

cursorShape

name: cursorShape, type: Enum, default: UNDEFINED_CURSOR

see SoView2DExtension.cursorShape

singleClicked

name: singleClicked, type: Trigger, persistent: no

doubleClicked

name: doubleClicked, type: Trigger, persistent: no