SoView2DBorder

InventorModule

genre

View2DExtended

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

SoView2D

definition

view2d.def

see also

SoView2D

inherits from

SoView2DExtension

keywords

extension

Purpose

The module SoView2DBorder paints a border line around a slice in a 2D viewer.

This is especially useful in mosaic renderings or if an OrthoView2D is used. Furthermore, the module can highlight the last clicked slice, even in a mosaic rendering if a SoFocus module is present in the scene.

Windows

Default Panel

../../../Modules/Inventor/SoView2D/mhelp/Images/Screenshots/SoView2DBorder._default.png

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

alt: Enum

cursorShape: Enum

renderOnSlab: Bool

button1: Enum

editingOn: Bool

selectionTolerance: Float

button2: Enum

fixZOn: Bool

setEventHandled: Bool

button3: Enum

ignoreHandledEvents: Bool

shift: Enum

clipToSlice: Bool

interactionProviderID: String

wantsAllEvents: Bool

Color (color): Color

Line Style: Enum

wantsKeyEvents: Bool

Color (focusColor): Color

maskValid: Bool

wantsMouseWheelEvents: Bool

control: Enum

needsValidVoxel: Bool

Width (borderWidth): Float

createNewMode: Bool

On (drawingOn): Bool

Width (focusBorderWidth): Float

createNewModeRequest: Trigger

On (evaluateFocus): Bool

Visible Fields

On (drawingOn)

name: drawingOn, type: Bool, default: TRUE

If checked, a border is rendered.

see also SoView2DExtension.drawingOn

Color (color)

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

Sets the color of the border.

see also SoView2DExtension.color

Width (borderWidth)

name: borderWidth, type: Float, default: 1, minimum: 0

Sets the width in pixels of the border.

On (evaluateFocus)

name: evaluateFocus, type: Bool, default: FALSE

If checked, the focus property is evaluated.

Color (focusColor)

name: focusColor, type: Color, default: 1 1 1

Sets the color of the focus border.

Width (focusBorderWidth)

name: focusBorderWidth, type: Float, default: 2, minimum: 0

Sets the line width in pixels of the focus border.

Line Style

name: lineStyle, type: Enum, default: SOLID

Defines a stipple pattern for the border lines.

Values:

Title

Name

​Solid

​SOLID

​Dashed

​DASHED

​Dotted

​DOTTED

​Long Dashed

​LONG_DASHED

Hidden Fields

interactionProviderID

name: interactionProviderID, type: String

see SoView2DExtension.interactionProviderID

editingOn

name: editingOn, type: Bool, default: TRUE

see SoView2DExtension.editingOn

maskValid

name: maskValid, type: Bool, persistent: no

fixZOn

name: fixZOn, type: Bool, default: TRUE

selectionTolerance

name: selectionTolerance, type: Float, default: 4, deprecated name: selectDistance

needsValidVoxel

name: needsValidVoxel, type: Bool, default: TRUE

see SoView2DExtension.needsValidVoxel

button1

name: button1, type: Enum, default: IGNORED

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