SynchroView2D

MacroModule
genre View2D
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition viewers.def
see also View2D, View3D, OrthoView2D
keywords world, coord, regist, world, twin, compare

Purpose

The module SynchroView2D provides two 2D viewers that are synchronized via their world coordinates.

Usage

Use the left mouse button to set a position in the data set. This position will synchronized in both viewing displays.

Further specialized settings can be defined in the ‘Settings’ window.

Windows

Viewer

../../../Modules/Macros/Viewers/mhelp/Images/Screenshots/SynchroView2D.Viewer.png

Settings

../../../Modules/Macros/Viewers/mhelp/Images/Screenshots/SynchroView2D.Settings.png

Input Fields

inImage1

name: inImage1, type: Image

inImage2

name: inImage2, type: Image

leftExtensions (hidden)

name: leftExtensions, type: SoNode

rightExtensions (hidden)

name: rightExtensions, type: SoNode

Output Fields

renderArea1 (hidden)

name: renderArea1, type: SoNode

renderArea2 (hidden)

name: renderArea2, type: SoNode

Parameter Fields

Visible Fields

Show Inventor input for left image

name: leftInventorInputOn, type: Bool, default: FALSE

If checked, an additional Inventor input is activated at the module for the left viewer.

Show Inventor input for right image

name: rightInventorInputOn, type: Bool, default: FALSE

If checked, an additional Inventor input is activated at the module for the right viewer.

Synchronize slicing

name: synchSlicing, type: Bool, default: TRUE

If checked, the slicing of both viewers is synchronized.

Synchronize zooming

name: synchZooming, type: Bool, default: TRUE

If checked, the zooming of both viewers is synchronized.

Synchronize timepoints

name: synchTiming, type: Bool, default: TRUE

If checked, the time points of both viewers is synchronized.

Synchronize LUTs

name: synchLUTs, type: Bool, default: FALSE

If checked, the LUTs of both viewers is synchronized.

Disconnect hidden inputs

name: disconnectOnHide, type: Bool, default: TRUE

If checked, the additional Inventor inputs are disconnected on hiding them.

World Position

name: worldPosition, type: Vector3, default: -8.59580993652344 14.0424690246582 85.9715423583984

Shows the current world position.

Use Managed Interaction

name: useManagedInteraction, type: Bool, default: FALSE

Use Managed Interaction for the mouse interaction. This is useful if the rest of the interaction in the scene also uses Managed Interaction, since otherwise there might overlapping interactions.

Hidden Fields

snapToCenter1

name: snapToCenter1, type: Bool, default: FALSE

snapToCenter2

name: snapToCenter2, type: Bool, default: FALSE

slice1

name: slice1, type: Integer, default: 17, minimum: 0, maximum: SoView2D1.maxSlice

timepoint1

name: timepoint1, type: Integer, default: 0, minimum: 0, maximum: SoView2D1.maxTimePoint

filterMode

name: filterMode, type: Enum, default: FILTER_LINEAR

Values:

Title Name
Nearest FILTER_NEAREST
Linear FILTER_LINEAR
Linear Postclass FILTER_LINEAR_POSTCLASS
Cubic Postclass FILTER_CUBIC_POSTCLASS

slice2

name: slice2, type: Integer, default: 17, minimum: 0, maximum: SoView2D2.maxSlice

timepoint2

name: timepoint2, type: Integer, default: 0, minimum: 0, maximum: SoView2D2.maxTimePoint

lut1w

name: lut1w, type: Double, default: 1

lut1c

name: lut1c, type: Double, default: 1

lut2w

name: lut2w, type: Double, default: 1

lut2c

name: lut2c, type: Double, default: 1

annotationColor

name: annotationColor, type: Color, default: 0.899999976158142 0.899999976158142 0.899999976158142

borderOn

name: borderOn, type: Bool, default: FALSE

drawCurrentPos

name: drawCurrentPos, type: Bool, default: FALSE

showCurrentPos

name: showCurrentPos, type: Bool, default: FALSE

background

name: background, type: Color, default: 0 0 0