SoView2DPointMarkerEditor

InventorModule

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

SoView2DMarkerListEditors

definition

SoView2DMarkerListEditors.def

inherits from

SoView2DExtension

Purpose

The module SoView2DPointMarkerEditor allows for rendering and editing point markers in 2D.

Details

If a StylePalette is attached, the style of rendered markers is defined by the StylePalette. Otherwise, this module controls the style of all rendered markers.

However, anti-aliasing can be toggled globally.

This module also sets the rendering of a shadow, the shadow color, and a general alpha factor.

Interaction

The module SoView2DPointMarkerEditor behaves differently on canceling an interaction by pressing ESC, depending on whether an UndoManager is attached.

For example:

If no UndoManager is attached, pressing ESC while adding and immediately moving a marker cancels the movement, but the marker is still added at the position of the mouse pointer when the interaction was canceled.

If an UndoManager is attached, pressing ESC undoes both the addition and the immediate movement of the marker, so the marker is not added at all.

Tips

Just attach this module to an XMarkerListContainer.

If used with other modules that output an XMarkerList, attach an XMarkerListContainer to the module that outputs the XMarkerList and set the XMarkerListContainer to copy and take ownership of the XMarkerList (XMarkerListContainer.copyAndTakeOwnership). Then, attach SoView2DPointMarkerEditor to the XMarkerListContainer.

Windows

Default Panel

../../../Projects/SoView2DMarkerListEditors/Modules/mhelp/Images/Screenshots/SoView2DPointMarkerEditor._default.png

Input Fields

inStylePalette

name: inStylePalette, type: StylePalette(MLBase)

inMarkerList

name: inMarkerList, type: XMarkerList(MLBase)

For accessing this object via scripting, see the Scripting Reference: MLXMarkerListWrapper.

inUndoContext

name: inUndoContext, type: UndoContext(MLBase)

For accessing this object via scripting, see the Scripting Reference: MLUndoContextWrapper.

inMarkerTextRenderer

name: inMarkerTextRenderer, type: MarkerTextRenderer(MLBase)

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Add: Enum

editingOn: Bool

Overwrite slice time point: Bool

Added Marker Type: Integer

Enlarge Value (mouseOverEnlargeValue): Float

renderOnSlab: Bool

Brighten Value (mouseOverBrightenValue): Float

Enlarge Value (selectionEnlargeValue): Float

setEventHandled: Bool

Brighten Value (selectionBrightenValue): Float

fixZOn: Bool

Size Mode (mouseOverSizeMode): Enum

clipToSlice: Bool

Icon File: String

Size Mode (selectionSizeMode): Enum

Color (shadowColor): Color

Icon Scale: Float

Size Value (mouseOverSizeValue): Float

color (color): Color

ignoreHandledEvents: Bool

Size Value (selectionSizeValue): Float

Color Mode (mouseOverColorMode): Enum

Interaction Mode: Enum

Style Palette Lookup: Enum

Color Mode (selectionColorMode): Enum

interactionProviderID: String

Time Point To Use: Integer

Color Value (mouseOverColorValue): Color

Marker Alpha: Float

Use: Bool

Color Value (selectionColorValue): Color

Marker Color: Color

Use anti-aliasing: Bool

createNewMode: Bool

Marker ID Under Mouse Cursor: Integer

Use Shadow: Bool

createNewModeRequest: Trigger

Marker Line Width: Float

Value: Integer

cursorShape: Enum

Marker Shape: Enum

Voxel Snapping Mode: Enum

customIconsValidAndUsed: Bool

Marker Size: Float

wantsAllEvents: Bool

Delete: Enum

maskValid: Bool

wantsKeyEvents: Bool

Delete On Click: Bool

Mode: Enum

wantsMouseWheelEvents: Bool

Drag: Enum

Mouse Over: Enum

Drawing On: Bool

Needs Valid Voxel: Bool

Visible Fields

Drawing On

name: drawingOn, type: Bool, default: TRUE

If checked, the point XMarkers are rendered.

see also SoView2DExtension.drawingOn

Marker Size

name: selectionTolerance, type: Float, default: 4, minimum: 2

Sets the selection radius in pixels.

Needs Valid Voxel

name: needsValidVoxel, type: Bool, default: TRUE

see SoView2DExtension.needsValidVoxel

Style Palette Lookup

name: stylePaletteLookup, type: Enum, default: LOOKUP_TYPE

Defines how to look up a style from the StylePalette.

Values:

Title

Name

Description

​Index

​LOOKUP_INDEX

​The index of a marker is used as a lookup.

​Type

​LOOKUP_TYPE

​The type value of a marker is used as a lookup.

The type value is an integer that is stored for each marker under the name ‘type’.

​Id

​LOOKUP_ID

​The ID of a marker is used as a lookup.

Marker Color

name: markerColor, type: Color, default: 1 1 1

Sets the color of rendered markers when no StylePalette is attached.

Marker Alpha

name: markerAlpha, type: Float, default: 1, minimum: 0, maximum: 1

Sets the overall alpha factor for all rendered markers.

Use anti-aliasing

name: useAntiAliasing, type: Bool, default: TRUE

If checked, all markers are rendered with anti-aliasing.

When a StylePalette is attached, anti-aliasing can be toggled individually for each style, but this setting overrides the individual marker settings in the StylePalette.

Overwrite slice time point

name: shouldOverwriteTimePoint, type: Bool, default: FALSE

If checked, existing markers render at the time point specified in Time Point To Use, and newly created markers use this time point instead of the one displayed in the viewer.

Time Point To Use

name: timePointToUse, type: Integer, default: 0

Sets a time point to render existing markers and newly created markers will have this time point.

Use Shadow

name: useShadow, type: Bool, default: TRUE

If checked, all markers are rendered with a shadow in the color specified by Color.

Color

name: shadowColor, type: Color, default: 0 0 0

Sets the shadow color when Use Shadow is checked.

Voxel Snapping Mode

name: snapMode, type: Enum, default: SNAP_XYZ

Defines the voxel snapping mode for newly created and moved markers.

Values:

Title

Name

Description

​Off

​SNAP_OFF

​Voxel snapping is turned off.

​Xy

​SNAP_XY

​A marker’s position snaps to the voxel center in the x/y direction.

​Z

​SNAP_Z

​A marker’s position snaps to the voxel center in the z direction.

​Xyz

​SNAP_XYZ

​A marker’s position snaps to the voxel center in the x/y/z direction.

Added Marker Type

name: addedMarkerType, type: Integer, default: 0

Sets the type value for an added marker.

The type value is an arbitrary integer stored with each XMarker.

Interaction Mode

name: interactionMode, type: Enum, default: FULL

Defines the interaction mode.

Values:

Title

Name

Description

​None

​NONE

​The module does not react to any interaction at all.

​Full

​FULL

​The module supports adding, selecting, moving, and removing of markers.

​Select

​SELECT

​The module only allows for selecting markers.

Size Mode (mouseOverSizeMode)

name: mouseOverSizeMode, type: Enum, default: MOUSE_OVER_ENLARGE

Defines how to adjust the visible size of a marker on mouse-over.

Values:

Title

Name

Description

​Enlarge

​MOUSE_OVER_ENLARGE

​The rendered marker is enlarged by Enlarge Value.

​Size

​MOUSE_OVER_SIZE

​The rendered marker is set to the size defined in Size Value.

Color Mode (mouseOverColorMode)

name: mouseOverColorMode, type: Enum, default: MOUSE_OVER_BRIGHTEN

Defines how to adjust the visible color of a marker on mouse-over.

Values:

Title

Name

Description

​Brighten

​MOUSE_OVER_BRIGHTEN

​The rendered marker is brightened by Brighten Value.

​Color

​MOUSE_OVER_COLOR

​The rendered marker is set to the color defined in Color Value.

Enlarge Value (mouseOverEnlargeValue)

name: mouseOverEnlargeValue, type: Float, default: 1

Sets an enlargement value for the size of a rendered marker on mouse-over, adding it to the marker’s size.

Size Value (mouseOverSizeValue)

name: mouseOverSizeValue, type: Float, default: 5

Sets the size of a rendered marker on mouse-over.

Brighten Value (mouseOverBrightenValue)

name: mouseOverBrightenValue, type: Float, default: 0.2

Sets a brighten value for the color of a rendered marker on mouse-over, adding it to each RGB component of the displayed color, with RGB values clamped to [0..1].

Color Value (mouseOverColorValue)

name: mouseOverColorValue, type: Color, default: 1 0.899999976158142 0.5

Sets the color of a rendered marker on mouse-over.

Size Mode (selectionSizeMode)

name: selectionSizeMode, type: Enum, default: SELECTION_ENLARGE

Defines how to adjust the visible size of a marker upon selection.

Values:

Title

Name

Description

​Enlarge

​SELECTION_ENLARGE

​The rendered marker is enlarged by Enlarge Value.

​Size

​SELECTION_SIZE

​The rendered marker is set to the size defined in Size Value.

Color Mode (selectionColorMode)

name: selectionColorMode, type: Enum, default: SELECTION_BRIGHTEN

Defines how to adjust the visible color of a marker upon selection.

Values:

Title

Name

Description

​Brighten

​SELECTION_BRIGHTEN

​The rendered marker is brightened by Brighten Value.

​Color

​SELECTION_COLOR

​The rendered marker is set to the color defined in Color Value.

Enlarge Value (selectionEnlargeValue)

name: selectionEnlargeValue, type: Float, default: 1

Sets an enlargement value for the size of a rendered marker upon selection, adding it to the marker’s size.

Size Value (selectionSizeValue)

name: selectionSizeValue, type: Float, default: 6

Sets the size of a rendered marker upon selection.

Brighten Value (selectionBrightenValue)

name: selectionBrightenValue, type: Float, default: 0.30000001

Sets a brighten value for the color of a rendered marker upon selection, adding it to each RGB component of the displayed color, with RGB values clamped to [0..1].

Color Value (selectionColorValue)

name: selectionColorValue, type: Color, default: 1 0.400000005960464 0.100000001490116

Sets the color of a rendered marker upon selection.

Mode

name: depthVisibilityMode, type: Enum, default: DEPTH_SLICES

Defines the depth visualization mode (ghosting). Markers on adjacent slices appear visible, with their distance to the current slice indicated by the alpha value used for rendering.

Values:

Title

Name

Description

​Slices

​DEPTH_SLICES

​The Value determines the number of adjacent slices in which the markers remain visible.

​Mm

​DEPTH_MM

​The Value specifies the distance in millimeters from the current slice within which markers remain visible.

Value

name: depthVisibilityValue, type: Integer, default: 0

Sets the depth visibility value.

The field Mode controls how this value is interpreted.

Marker ID Under Mouse Cursor

name: markerIDUnderMouseCursor, type: Integer, persistent: no

Shows the ID of the marker currently under the mouse cursor, or -1 if no marker is present.

Add

name: cursorShapeAdd, type: Enum, default: CROSS_POINT_CURSOR

Defines the cursor shape for adding a marker.

This cursor shape is applied when the mouse is not over any marker, provided that adding is allowed (see Interaction Mode).

Values:

Title

Name

​Undefined Cursor

​UNDEFINED_CURSOR

​Default Cursor

​DEFAULT_CURSOR

​Forbidden Cursor

​FORBIDDEN_CURSOR

​Pointing Hand Cursor

​POINTING_HAND_CURSOR

​Open Hand Cursor

​OPEN_HAND_CURSOR

​Closed Hand Cursor

​CLOSED_HAND_CURSOR

​Move All Cursor

​MOVE_ALL_CURSOR

​Move Hori Cursor

​MOVE_HORI_CURSOR

​Move Vert Cursor

​MOVE_VERT_CURSOR

​Move Fdiag Cursor

​MOVE_FDIAG_CURSOR

​Move Bdiag Cursor

​MOVE_BDIAG_CURSOR

​Move Inout Cursor

​MOVE_INOUT_CURSOR

​Rotate X Cursor

​ROTATE_X_CURSOR

​Rotate Y Cursor

​ROTATE_Y_CURSOR

​Rotate Z Cursor

​ROTATE_Z_CURSOR

​Rotate Xy Cursor

​ROTATE_XY_CURSOR

​Zoom Cursor

​ZOOM_CURSOR

​Zoom In Cursor

​ZOOM_IN_CURSOR

​Zoom Out Cursor

​ZOOM_OUT_CURSOR

​Cross Cursor

​CROSS_CURSOR

​Cross Plus Cursor

​CROSS_PLUS_CURSOR

​Cross Minus Cursor

​CROSS_MINUS_CURSOR

​Cross Move Cursor

​CROSS_MOVE_CURSOR

​Cross Rotate Cursor

​CROSS_ROTATE_CURSOR

​Cross Rect Cursor

​CROSS_RECT_CURSOR

​Cross Oval Cursor

​CROSS_OVAL_CURSOR

​Cross Vector Cursor

​CROSS_VECTOR_CURSOR

​Cross Freeform Cursor

​CROSS_FREEFORM_CURSOR

​Cross Point Cursor

​CROSS_POINT_CURSOR

​Cross Line Cursor

​CROSS_LINE_CURSOR

​Cross Curve Cursor

​CROSS_CURVE_CURSOR

​Cross Polyline Cursor

​CROSS_POLYLINE_CURSOR

​Cross Polygon Cursor

​CROSS_POLYGON_CURSOR

​Cross Fill Cursor

​CROSS_FILL_CURSOR

​Cross Link Cursor

​CROSS_LINK_CURSOR

​Cross 0 Cursor

​CROSS_0_CURSOR

​Cross 1 Cursor

​CROSS_1_CURSOR

​Cross 2 Cursor

​CROSS_2_CURSOR

​Cross 3 Cursor

​CROSS_3_CURSOR

​Cross 4 Cursor

​CROSS_4_CURSOR

​Cross 5 Cursor

​CROSS_5_CURSOR

​Cross 6 Cursor

​CROSS_6_CURSOR

​Cross 7 Cursor

​CROSS_7_CURSOR

​Cross 8 Cursor

​CROSS_8_CURSOR

​Cross 9 Cursor

​CROSS_9_CURSOR

​Lut Cursor

​LUT_CURSOR

​Lut 1 Cursor

​LUT_1_CURSOR

​Lut 2 Cursor

​LUT_2_CURSOR

​Lut 3 Cursor

​LUT_3_CURSOR

​Slicing Cursor

​SLICING_CURSOR

​Blank Cursor

​BLANK_CURSOR

​Other Cursor 0

​OTHER_CURSOR_0

​Other Cursor 1

​OTHER_CURSOR_1

​Other Cursor 2

​OTHER_CURSOR_2

​Other Cursor 3

​OTHER_CURSOR_3

​Other Cursor 4

​OTHER_CURSOR_4

​Other Cursor 5

​OTHER_CURSOR_5

​Other Cursor 6

​OTHER_CURSOR_6

​Other Cursor 7

​OTHER_CURSOR_7

​Other Cursor 8

​OTHER_CURSOR_8

​Other Cursor 9

​OTHER_CURSOR_9

​Other Cursor 10

​OTHER_CURSOR_10

​Other Cursor 11

​OTHER_CURSOR_11

​Other Cursor 12

​OTHER_CURSOR_12

​Other Cursor 13

​OTHER_CURSOR_13

​Other Cursor 14

​OTHER_CURSOR_14

​Other Cursor 15

​OTHER_CURSOR_15

​Other Cursor 16

​OTHER_CURSOR_16

​Other Cursor 17

​OTHER_CURSOR_17

​Other Cursor 18

​OTHER_CURSOR_18

​Other Cursor 19

​OTHER_CURSOR_19

​Other Cursor 20

​OTHER_CURSOR_20

​Other Cursor 21

​OTHER_CURSOR_21

​Other Cursor 22

​OTHER_CURSOR_22

​Other Cursor 23

​OTHER_CURSOR_23

​Other Cursor 24

​OTHER_CURSOR_24

​Other Cursor 25

​OTHER_CURSOR_25

​Other Cursor 26

​OTHER_CURSOR_26

​Other Cursor 27

​OTHER_CURSOR_27

​Other Cursor 28

​OTHER_CURSOR_28

​Other Cursor 29

​OTHER_CURSOR_29

​Other Cursor 30

​OTHER_CURSOR_30

​Other Cursor 31

​OTHER_CURSOR_31

​Other Cursor 32

​OTHER_CURSOR_32

​Other Cursor 33

​OTHER_CURSOR_33

​Other Cursor 34

​OTHER_CURSOR_34

​Other Cursor 35

​OTHER_CURSOR_35

​Other Cursor 36

​OTHER_CURSOR_36

​Other Cursor 37

​OTHER_CURSOR_37

​Other Cursor 38

​OTHER_CURSOR_38

​Other Cursor 39

​OTHER_CURSOR_39

​Other Cursor 40

​OTHER_CURSOR_40

​Other Cursor 41

​OTHER_CURSOR_41

​Other Cursor 42

​OTHER_CURSOR_42

​Other Cursor 43

​OTHER_CURSOR_43

​Other Cursor 44

​OTHER_CURSOR_44

​Other Cursor 45

​OTHER_CURSOR_45

​Other Cursor 46

​OTHER_CURSOR_46

​Other Cursor 47

​OTHER_CURSOR_47

​Other Cursor 48

​OTHER_CURSOR_48

​Other Cursor 49

​OTHER_CURSOR_49

​Other Cursor 50

​OTHER_CURSOR_50

​Other Cursor 51

​OTHER_CURSOR_51

​Other Cursor 52

​OTHER_CURSOR_52

​Other Cursor 53

​OTHER_CURSOR_53

​Other Cursor 54

​OTHER_CURSOR_54

​Other Cursor 55

​OTHER_CURSOR_55

​Other Cursor 56

​OTHER_CURSOR_56

​Other Cursor 57

​OTHER_CURSOR_57

​Other Cursor 58

​OTHER_CURSOR_58

​Other Cursor 59

​OTHER_CURSOR_59

​Other Cursor 60

​OTHER_CURSOR_60

​Other Cursor 61

​OTHER_CURSOR_61

​Other Cursor 62

​OTHER_CURSOR_62

​Other Cursor 63

​OTHER_CURSOR_63

​Other Cursor 64

​OTHER_CURSOR_64

​Other Cursor 65

​OTHER_CURSOR_65

​Other Cursor 66

​OTHER_CURSOR_66

​Other Cursor 67

​OTHER_CURSOR_67

​Other Cursor 68

​OTHER_CURSOR_68

​Other Cursor 69

​OTHER_CURSOR_69

Mouse Over

name: cursorShapeMouseOver, type: Enum, default: CROSS_MOVE_CURSOR

Defines the cursor shape for mouse-overing a marker.

This cursor shape is applied when the mouse is over any marker, provided that selection is allowed (see Interaction Mode).

Values:

Title

Name

​Undefined Cursor

​UNDEFINED_CURSOR

​Default Cursor

​DEFAULT_CURSOR

​Forbidden Cursor

​FORBIDDEN_CURSOR

​Pointing Hand Cursor

​POINTING_HAND_CURSOR

​Open Hand Cursor

​OPEN_HAND_CURSOR

​Closed Hand Cursor

​CLOSED_HAND_CURSOR

​Move All Cursor

​MOVE_ALL_CURSOR

​Move Hori Cursor

​MOVE_HORI_CURSOR

​Move Vert Cursor

​MOVE_VERT_CURSOR

​Move Fdiag Cursor

​MOVE_FDIAG_CURSOR

​Move Bdiag Cursor

​MOVE_BDIAG_CURSOR

​Move Inout Cursor

​MOVE_INOUT_CURSOR

​Rotate X Cursor

​ROTATE_X_CURSOR

​Rotate Y Cursor

​ROTATE_Y_CURSOR

​Rotate Z Cursor

​ROTATE_Z_CURSOR

​Rotate Xy Cursor

​ROTATE_XY_CURSOR

​Zoom Cursor

​ZOOM_CURSOR

​Zoom In Cursor

​ZOOM_IN_CURSOR

​Zoom Out Cursor

​ZOOM_OUT_CURSOR

​Cross Cursor

​CROSS_CURSOR

​Cross Plus Cursor

​CROSS_PLUS_CURSOR

​Cross Minus Cursor

​CROSS_MINUS_CURSOR

​Cross Move Cursor

​CROSS_MOVE_CURSOR

​Cross Rotate Cursor

​CROSS_ROTATE_CURSOR

​Cross Rect Cursor

​CROSS_RECT_CURSOR

​Cross Oval Cursor

​CROSS_OVAL_CURSOR

​Cross Vector Cursor

​CROSS_VECTOR_CURSOR

​Cross Freeform Cursor

​CROSS_FREEFORM_CURSOR

​Cross Point Cursor

​CROSS_POINT_CURSOR

​Cross Line Cursor

​CROSS_LINE_CURSOR

​Cross Curve Cursor

​CROSS_CURVE_CURSOR

​Cross Polyline Cursor

​CROSS_POLYLINE_CURSOR

​Cross Polygon Cursor

​CROSS_POLYGON_CURSOR

​Cross Fill Cursor

​CROSS_FILL_CURSOR

​Cross Link Cursor

​CROSS_LINK_CURSOR

​Cross 0 Cursor

​CROSS_0_CURSOR

​Cross 1 Cursor

​CROSS_1_CURSOR

​Cross 2 Cursor

​CROSS_2_CURSOR

​Cross 3 Cursor

​CROSS_3_CURSOR

​Cross 4 Cursor

​CROSS_4_CURSOR

​Cross 5 Cursor

​CROSS_5_CURSOR

​Cross 6 Cursor

​CROSS_6_CURSOR

​Cross 7 Cursor

​CROSS_7_CURSOR

​Cross 8 Cursor

​CROSS_8_CURSOR

​Cross 9 Cursor

​CROSS_9_CURSOR

​Lut Cursor

​LUT_CURSOR

​Lut 1 Cursor

​LUT_1_CURSOR

​Lut 2 Cursor

​LUT_2_CURSOR

​Lut 3 Cursor

​LUT_3_CURSOR

​Slicing Cursor

​SLICING_CURSOR

​Blank Cursor

​BLANK_CURSOR

​Other Cursor 0

​OTHER_CURSOR_0

​Other Cursor 1

​OTHER_CURSOR_1

​Other Cursor 2

​OTHER_CURSOR_2

​Other Cursor 3

​OTHER_CURSOR_3

​Other Cursor 4

​OTHER_CURSOR_4

​Other Cursor 5

​OTHER_CURSOR_5

​Other Cursor 6

​OTHER_CURSOR_6

​Other Cursor 7

​OTHER_CURSOR_7

​Other Cursor 8

​OTHER_CURSOR_8

​Other Cursor 9

​OTHER_CURSOR_9

​Other Cursor 10

​OTHER_CURSOR_10

​Other Cursor 11

​OTHER_CURSOR_11

​Other Cursor 12

​OTHER_CURSOR_12

​Other Cursor 13

​OTHER_CURSOR_13

​Other Cursor 14

​OTHER_CURSOR_14

​Other Cursor 15

​OTHER_CURSOR_15

​Other Cursor 16

​OTHER_CURSOR_16

​Other Cursor 17

​OTHER_CURSOR_17

​Other Cursor 18

​OTHER_CURSOR_18

​Other Cursor 19

​OTHER_CURSOR_19

​Other Cursor 20

​OTHER_CURSOR_20

​Other Cursor 21

​OTHER_CURSOR_21

​Other Cursor 22

​OTHER_CURSOR_22

​Other Cursor 23

​OTHER_CURSOR_23

​Other Cursor 24

​OTHER_CURSOR_24

​Other Cursor 25

​OTHER_CURSOR_25

​Other Cursor 26

​OTHER_CURSOR_26

​Other Cursor 27

​OTHER_CURSOR_27

​Other Cursor 28

​OTHER_CURSOR_28

​Other Cursor 29

​OTHER_CURSOR_29

​Other Cursor 30

​OTHER_CURSOR_30

​Other Cursor 31

​OTHER_CURSOR_31

​Other Cursor 32

​OTHER_CURSOR_32

​Other Cursor 33

​OTHER_CURSOR_33

​Other Cursor 34

​OTHER_CURSOR_34

​Other Cursor 35

​OTHER_CURSOR_35

​Other Cursor 36

​OTHER_CURSOR_36

​Other Cursor 37

​OTHER_CURSOR_37

​Other Cursor 38

​OTHER_CURSOR_38

​Other Cursor 39

​OTHER_CURSOR_39

​Other Cursor 40

​OTHER_CURSOR_40

​Other Cursor 41

​OTHER_CURSOR_41

​Other Cursor 42

​OTHER_CURSOR_42

​Other Cursor 43

​OTHER_CURSOR_43

​Other Cursor 44

​OTHER_CURSOR_44

​Other Cursor 45

​OTHER_CURSOR_45

​Other Cursor 46

​OTHER_CURSOR_46

​Other Cursor 47

​OTHER_CURSOR_47

​Other Cursor 48

​OTHER_CURSOR_48

​Other Cursor 49

​OTHER_CURSOR_49

​Other Cursor 50

​OTHER_CURSOR_50

​Other Cursor 51

​OTHER_CURSOR_51

​Other Cursor 52

​OTHER_CURSOR_52

​Other Cursor 53

​OTHER_CURSOR_53

​Other Cursor 54

​OTHER_CURSOR_54

​Other Cursor 55

​OTHER_CURSOR_55

​Other Cursor 56

​OTHER_CURSOR_56

​Other Cursor 57

​OTHER_CURSOR_57

​Other Cursor 58

​OTHER_CURSOR_58

​Other Cursor 59

​OTHER_CURSOR_59

​Other Cursor 60

​OTHER_CURSOR_60

​Other Cursor 61

​OTHER_CURSOR_61

​Other Cursor 62

​OTHER_CURSOR_62

​Other Cursor 63

​OTHER_CURSOR_63

​Other Cursor 64

​OTHER_CURSOR_64

​Other Cursor 65

​OTHER_CURSOR_65

​Other Cursor 66

​OTHER_CURSOR_66

​Other Cursor 67

​OTHER_CURSOR_67

​Other Cursor 68

​OTHER_CURSOR_68

​Other Cursor 69

​OTHER_CURSOR_69

Drag

name: cursorShapeDrag, type: Enum, default: CLOSED_HAND_CURSOR

Defines the cursor shape for dragging a marker.

This cursor shape is applied when a marker is being dragged, provided that dragging is allowed (see Interaction Mode).

Values:

Title

Name

​Undefined Cursor

​UNDEFINED_CURSOR

​Default Cursor

​DEFAULT_CURSOR

​Forbidden Cursor

​FORBIDDEN_CURSOR

​Pointing Hand Cursor

​POINTING_HAND_CURSOR

​Open Hand Cursor

​OPEN_HAND_CURSOR

​Closed Hand Cursor

​CLOSED_HAND_CURSOR

​Move All Cursor

​MOVE_ALL_CURSOR

​Move Hori Cursor

​MOVE_HORI_CURSOR

​Move Vert Cursor

​MOVE_VERT_CURSOR

​Move Fdiag Cursor

​MOVE_FDIAG_CURSOR

​Move Bdiag Cursor

​MOVE_BDIAG_CURSOR

​Move Inout Cursor

​MOVE_INOUT_CURSOR

​Rotate X Cursor

​ROTATE_X_CURSOR

​Rotate Y Cursor

​ROTATE_Y_CURSOR

​Rotate Z Cursor

​ROTATE_Z_CURSOR

​Rotate Xy Cursor

​ROTATE_XY_CURSOR

​Zoom Cursor

​ZOOM_CURSOR

​Zoom In Cursor

​ZOOM_IN_CURSOR

​Zoom Out Cursor

​ZOOM_OUT_CURSOR

​Cross Cursor

​CROSS_CURSOR

​Cross Plus Cursor

​CROSS_PLUS_CURSOR

​Cross Minus Cursor

​CROSS_MINUS_CURSOR

​Cross Move Cursor

​CROSS_MOVE_CURSOR

​Cross Rotate Cursor

​CROSS_ROTATE_CURSOR

​Cross Rect Cursor

​CROSS_RECT_CURSOR

​Cross Oval Cursor

​CROSS_OVAL_CURSOR

​Cross Vector Cursor

​CROSS_VECTOR_CURSOR

​Cross Freeform Cursor

​CROSS_FREEFORM_CURSOR

​Cross Point Cursor

​CROSS_POINT_CURSOR

​Cross Line Cursor

​CROSS_LINE_CURSOR

​Cross Curve Cursor

​CROSS_CURVE_CURSOR

​Cross Polyline Cursor

​CROSS_POLYLINE_CURSOR

​Cross Polygon Cursor

​CROSS_POLYGON_CURSOR

​Cross Fill Cursor

​CROSS_FILL_CURSOR

​Cross Link Cursor

​CROSS_LINK_CURSOR

​Cross 0 Cursor

​CROSS_0_CURSOR

​Cross 1 Cursor

​CROSS_1_CURSOR

​Cross 2 Cursor

​CROSS_2_CURSOR

​Cross 3 Cursor

​CROSS_3_CURSOR

​Cross 4 Cursor

​CROSS_4_CURSOR

​Cross 5 Cursor

​CROSS_5_CURSOR

​Cross 6 Cursor

​CROSS_6_CURSOR

​Cross 7 Cursor

​CROSS_7_CURSOR

​Cross 8 Cursor

​CROSS_8_CURSOR

​Cross 9 Cursor

​CROSS_9_CURSOR

​Lut Cursor

​LUT_CURSOR

​Lut 1 Cursor

​LUT_1_CURSOR

​Lut 2 Cursor

​LUT_2_CURSOR

​Lut 3 Cursor

​LUT_3_CURSOR

​Slicing Cursor

​SLICING_CURSOR

​Blank Cursor

​BLANK_CURSOR

​Other Cursor 0

​OTHER_CURSOR_0

​Other Cursor 1

​OTHER_CURSOR_1

​Other Cursor 2

​OTHER_CURSOR_2

​Other Cursor 3

​OTHER_CURSOR_3

​Other Cursor 4

​OTHER_CURSOR_4

​Other Cursor 5

​OTHER_CURSOR_5

​Other Cursor 6

​OTHER_CURSOR_6

​Other Cursor 7

​OTHER_CURSOR_7

​Other Cursor 8

​OTHER_CURSOR_8

​Other Cursor 9

​OTHER_CURSOR_9

​Other Cursor 10

​OTHER_CURSOR_10

​Other Cursor 11

​OTHER_CURSOR_11

​Other Cursor 12

​OTHER_CURSOR_12

​Other Cursor 13

​OTHER_CURSOR_13

​Other Cursor 14

​OTHER_CURSOR_14

​Other Cursor 15

​OTHER_CURSOR_15

​Other Cursor 16

​OTHER_CURSOR_16

​Other Cursor 17

​OTHER_CURSOR_17

​Other Cursor 18

​OTHER_CURSOR_18

​Other Cursor 19

​OTHER_CURSOR_19

​Other Cursor 20

​OTHER_CURSOR_20

​Other Cursor 21

​OTHER_CURSOR_21

​Other Cursor 22

​OTHER_CURSOR_22

​Other Cursor 23

​OTHER_CURSOR_23

​Other Cursor 24

​OTHER_CURSOR_24

​Other Cursor 25

​OTHER_CURSOR_25

​Other Cursor 26

​OTHER_CURSOR_26

​Other Cursor 27

​OTHER_CURSOR_27

​Other Cursor 28

​OTHER_CURSOR_28

​Other Cursor 29

​OTHER_CURSOR_29

​Other Cursor 30

​OTHER_CURSOR_30

​Other Cursor 31

​OTHER_CURSOR_31

​Other Cursor 32

​OTHER_CURSOR_32

​Other Cursor 33

​OTHER_CURSOR_33

​Other Cursor 34

​OTHER_CURSOR_34

​Other Cursor 35

​OTHER_CURSOR_35

​Other Cursor 36

​OTHER_CURSOR_36

​Other Cursor 37

​OTHER_CURSOR_37

​Other Cursor 38

​OTHER_CURSOR_38

​Other Cursor 39

​OTHER_CURSOR_39

​Other Cursor 40

​OTHER_CURSOR_40

​Other Cursor 41

​OTHER_CURSOR_41

​Other Cursor 42

​OTHER_CURSOR_42

​Other Cursor 43

​OTHER_CURSOR_43

​Other Cursor 44

​OTHER_CURSOR_44

​Other Cursor 45

​OTHER_CURSOR_45

​Other Cursor 46

​OTHER_CURSOR_46

​Other Cursor 47

​OTHER_CURSOR_47

​Other Cursor 48

​OTHER_CURSOR_48

​Other Cursor 49

​OTHER_CURSOR_49

​Other Cursor 50

​OTHER_CURSOR_50

​Other Cursor 51

​OTHER_CURSOR_51

​Other Cursor 52

​OTHER_CURSOR_52

​Other Cursor 53

​OTHER_CURSOR_53

​Other Cursor 54

​OTHER_CURSOR_54

​Other Cursor 55

​OTHER_CURSOR_55

​Other Cursor 56

​OTHER_CURSOR_56

​Other Cursor 57

​OTHER_CURSOR_57

​Other Cursor 58

​OTHER_CURSOR_58

​Other Cursor 59

​OTHER_CURSOR_59

​Other Cursor 60

​OTHER_CURSOR_60

​Other Cursor 61

​OTHER_CURSOR_61

​Other Cursor 62

​OTHER_CURSOR_62

​Other Cursor 63

​OTHER_CURSOR_63

​Other Cursor 64

​OTHER_CURSOR_64

​Other Cursor 65

​OTHER_CURSOR_65

​Other Cursor 66

​OTHER_CURSOR_66

​Other Cursor 67

​OTHER_CURSOR_67

​Other Cursor 68

​OTHER_CURSOR_68

​Other Cursor 69

​OTHER_CURSOR_69

Delete

name: cursorShapeDelete, type: Enum, default: CROSS_MINUS_CURSOR

Defines the cursor shape for deleting a marker on click. See Delete On Click

Values:

Title

Name

​Undefined Cursor

​UNDEFINED_CURSOR

​Default Cursor

​DEFAULT_CURSOR

​Forbidden Cursor

​FORBIDDEN_CURSOR

​Pointing Hand Cursor

​POINTING_HAND_CURSOR

​Open Hand Cursor

​OPEN_HAND_CURSOR

​Closed Hand Cursor

​CLOSED_HAND_CURSOR

​Move All Cursor

​MOVE_ALL_CURSOR

​Move Hori Cursor

​MOVE_HORI_CURSOR

​Move Vert Cursor

​MOVE_VERT_CURSOR

​Move Fdiag Cursor

​MOVE_FDIAG_CURSOR

​Move Bdiag Cursor

​MOVE_BDIAG_CURSOR

​Move Inout Cursor

​MOVE_INOUT_CURSOR

​Rotate X Cursor

​ROTATE_X_CURSOR

​Rotate Y Cursor

​ROTATE_Y_CURSOR

​Rotate Z Cursor

​ROTATE_Z_CURSOR

​Rotate Xy Cursor

​ROTATE_XY_CURSOR

​Zoom Cursor

​ZOOM_CURSOR

​Zoom In Cursor

​ZOOM_IN_CURSOR

​Zoom Out Cursor

​ZOOM_OUT_CURSOR

​Cross Cursor

​CROSS_CURSOR

​Cross Plus Cursor

​CROSS_PLUS_CURSOR

​Cross Minus Cursor

​CROSS_MINUS_CURSOR

​Cross Move Cursor

​CROSS_MOVE_CURSOR

​Cross Rotate Cursor

​CROSS_ROTATE_CURSOR

​Cross Rect Cursor

​CROSS_RECT_CURSOR

​Cross Oval Cursor

​CROSS_OVAL_CURSOR

​Cross Vector Cursor

​CROSS_VECTOR_CURSOR

​Cross Freeform Cursor

​CROSS_FREEFORM_CURSOR

​Cross Point Cursor

​CROSS_POINT_CURSOR

​Cross Line Cursor

​CROSS_LINE_CURSOR

​Cross Curve Cursor

​CROSS_CURVE_CURSOR

​Cross Polyline Cursor

​CROSS_POLYLINE_CURSOR

​Cross Polygon Cursor

​CROSS_POLYGON_CURSOR

​Cross Fill Cursor

​CROSS_FILL_CURSOR

​Cross Link Cursor

​CROSS_LINK_CURSOR

​Cross 0 Cursor

​CROSS_0_CURSOR

​Cross 1 Cursor

​CROSS_1_CURSOR

​Cross 2 Cursor

​CROSS_2_CURSOR

​Cross 3 Cursor

​CROSS_3_CURSOR

​Cross 4 Cursor

​CROSS_4_CURSOR

​Cross 5 Cursor

​CROSS_5_CURSOR

​Cross 6 Cursor

​CROSS_6_CURSOR

​Cross 7 Cursor

​CROSS_7_CURSOR

​Cross 8 Cursor

​CROSS_8_CURSOR

​Cross 9 Cursor

​CROSS_9_CURSOR

​Lut Cursor

​LUT_CURSOR

​Lut 1 Cursor

​LUT_1_CURSOR

​Lut 2 Cursor

​LUT_2_CURSOR

​Lut 3 Cursor

​LUT_3_CURSOR

​Slicing Cursor

​SLICING_CURSOR

​Blank Cursor

​BLANK_CURSOR

​Other Cursor 0

​OTHER_CURSOR_0

​Other Cursor 1

​OTHER_CURSOR_1

​Other Cursor 2

​OTHER_CURSOR_2

​Other Cursor 3

​OTHER_CURSOR_3

​Other Cursor 4

​OTHER_CURSOR_4

​Other Cursor 5

​OTHER_CURSOR_5

​Other Cursor 6

​OTHER_CURSOR_6

​Other Cursor 7

​OTHER_CURSOR_7

​Other Cursor 8

​OTHER_CURSOR_8

​Other Cursor 9

​OTHER_CURSOR_9

​Other Cursor 10

​OTHER_CURSOR_10

​Other Cursor 11

​OTHER_CURSOR_11

​Other Cursor 12

​OTHER_CURSOR_12

​Other Cursor 13

​OTHER_CURSOR_13

​Other Cursor 14

​OTHER_CURSOR_14

​Other Cursor 15

​OTHER_CURSOR_15

​Other Cursor 16

​OTHER_CURSOR_16

​Other Cursor 17

​OTHER_CURSOR_17

​Other Cursor 18

​OTHER_CURSOR_18

​Other Cursor 19

​OTHER_CURSOR_19

​Other Cursor 20

​OTHER_CURSOR_20

​Other Cursor 21

​OTHER_CURSOR_21

​Other Cursor 22

​OTHER_CURSOR_22

​Other Cursor 23

​OTHER_CURSOR_23

​Other Cursor 24

​OTHER_CURSOR_24

​Other Cursor 25

​OTHER_CURSOR_25

​Other Cursor 26

​OTHER_CURSOR_26

​Other Cursor 27

​OTHER_CURSOR_27

​Other Cursor 28

​OTHER_CURSOR_28

​Other Cursor 29

​OTHER_CURSOR_29

​Other Cursor 30

​OTHER_CURSOR_30

​Other Cursor 31

​OTHER_CURSOR_31

​Other Cursor 32

​OTHER_CURSOR_32

​Other Cursor 33

​OTHER_CURSOR_33

​Other Cursor 34

​OTHER_CURSOR_34

​Other Cursor 35

​OTHER_CURSOR_35

​Other Cursor 36

​OTHER_CURSOR_36

​Other Cursor 37

​OTHER_CURSOR_37

​Other Cursor 38

​OTHER_CURSOR_38

​Other Cursor 39

​OTHER_CURSOR_39

​Other Cursor 40

​OTHER_CURSOR_40

​Other Cursor 41

​OTHER_CURSOR_41

​Other Cursor 42

​OTHER_CURSOR_42

​Other Cursor 43

​OTHER_CURSOR_43

​Other Cursor 44

​OTHER_CURSOR_44

​Other Cursor 45

​OTHER_CURSOR_45

​Other Cursor 46

​OTHER_CURSOR_46

​Other Cursor 47

​OTHER_CURSOR_47

​Other Cursor 48

​OTHER_CURSOR_48

​Other Cursor 49

​OTHER_CURSOR_49

​Other Cursor 50

​OTHER_CURSOR_50

​Other Cursor 51

​OTHER_CURSOR_51

​Other Cursor 52

​OTHER_CURSOR_52

​Other Cursor 53

​OTHER_CURSOR_53

​Other Cursor 54

​OTHER_CURSOR_54

​Other Cursor 55

​OTHER_CURSOR_55

​Other Cursor 56

​OTHER_CURSOR_56

​Other Cursor 57

​OTHER_CURSOR_57

​Other Cursor 58

​OTHER_CURSOR_58

​Other Cursor 59

​OTHER_CURSOR_59

​Other Cursor 60

​OTHER_CURSOR_60

​Other Cursor 61

​OTHER_CURSOR_61

​Other Cursor 62

​OTHER_CURSOR_62

​Other Cursor 63

​OTHER_CURSOR_63

​Other Cursor 64

​OTHER_CURSOR_64

​Other Cursor 65

​OTHER_CURSOR_65

​Other Cursor 66

​OTHER_CURSOR_66

​Other Cursor 67

​OTHER_CURSOR_67

​Other Cursor 68

​OTHER_CURSOR_68

​Other Cursor 69

​OTHER_CURSOR_69

Delete On Click

name: deleteOnClick, type: Bool, default: FALSE

If checked, a marker is deleted by clicking on it.

Icon Scale

name: iconScale, type: Float, default: 1

Sets the scale factor for displaying marker icons from an icons file.

Marker Line Width

name: markerLineWidth, type: Float, default: 1, minimum: 0.5

Sets the line width of rendered markers when no StylePalette is attached.

Marker Shape

name: markerShape, type: Enum, default: StylePalette::MarkerType::mktDot

Defines the overall shape of rendered markers when no StylePalette is attached.

Values:

Title

Name

​None

​StylePalette::MarkerType::mktNone

​Dot

​StylePalette::MarkerType::mktDot

​Asterisk

​StylePalette::MarkerType::mktAsterisk

​Circle

​StylePalette::MarkerType::mktCircle

​Square

​StylePalette::MarkerType::mktSquare

​Triangle

​StylePalette::MarkerType::mktTriangle

​Plus

​StylePalette::MarkerType::mktPlus

​Cross

​StylePalette::MarkerType::mktCross

Use

name: useCustomIcons, type: Bool, default: FALSE

If checked, marker icons from an icons file loaded with Icon File are displayed.

If the icons file cannot be loaded or its size (width × height) is unsuitable, marker icons are rendered using the default markers (either through the StylePalette or SoView2DPointMarkerEditor). In such cases, the hidden flag customIconsValidAndUsed is set to False.

Icon File

name: customIconFilename, type: String

Sets the file name of a custom icon image file.

By default, the supported image types are .tif (.tiff) and .png.

The image height is arbitrary, but the width must be a multiple of the height, ensuring each marker icon is square.

The marker type is used as a look-up (type % number of icons), where the number of icons in an image is determined by width / height.

The icons image should have a transparent background and use only grayscale tones.

Hidden Fields

interactionProviderID

name: interactionProviderID, type: String

see SoView2DExtension.interactionProviderID

editingOn

name: editingOn, type: Bool, default: TRUE

If checked, interaction with markers becomes possible.

Changing this field also updates the Interaction Mode field: the interaction mode is set to “NONE” when this field is FALSE and to “FULL” when it is TRUE.

Conversely, this field is automatically updated based on changes to the Interaction Mode field: if the interaction mode is set to “FULL” or “SELECT,” this field is set to TRUE; otherwise, it is set to FALSE.

see also 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

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

customIconsValidAndUsed

name: customIconsValidAndUsed, type: Bool, persistent: no