View2DTouch

MacroModule
author Felix Ritter
package FMEstable/ReleaseMeVis
definition View2DTouch.def
see also View2D, View3D, SynchroView2D, OrthoView2D
keywords viewer, 2d

Purpose

The View2DTouch macro module offers additional interaction capabilities but is otherwise on par with the View2D macro module. By using gestures, an image dataset my be explored from the trackpad of modern notebooks or by using an external trackpad like the Apple Magic Trackpad. The following gesture-based interactions are supported:

../../../Modules/Macros/Viewers/mhelp/Images/gesture_stacking.png Stacking
../../../Modules/Macros/Viewers/mhelp/Images/gesture_timepoints.png Choose previous/next timepoint
../../../Modules/Macros/Viewers/mhelp/Images/gesture_transferfunc.png Change windowing
../../../Modules/Macros/Viewers/mhelp/Images/gesture_zoom.png Zoom in/out
../../../Modules/Macros/Viewers/mhelp/Images/gesture_pan.png Pan in 2D (hold and move)
../../../Modules/Macros/Viewers/mhelp/Images/gesture_reset.png Reset image transformation
../../../Modules/Macros/Viewers/mhelp/Images/gesture_swipe.png Previous/next image

Usage

Connect an ML image dataset to the module

Input Fields

inImage

name: inImage, type: Image

inInvPreLUT

name: inInvPreLUT, type: SoNode

Before LUT and viewer inventor input, e.g. for overlays independent of LUT settings

inInvPostLUT

name: inInvPostLUT, type: SoNode

Between LUT and viewer inventor input

inInvPostViewer

name: inInvPostViewer, type: SoNode

Behind viewer inventor input, e.g. for diagram overlays

Output Fields

self (hidden)

name: self, type: SoNode

Parameter Fields

Field Index

Inventor input fields: Bool
lutCenter: Double
lutWidth: Double
numSlices: Integer
Start Slice: Integer

Visible Fields

Inventor input fields

name: inventorInputOn, type: Bool, default: TRUE

Start Slice

name: startSlice, type: Integer, default: 0, minimum: 0, maximum: view.maxSlice

Hidden Fields

numSlices

name: numSlices, type: Integer, default: 1

lutCenter

name: lutCenter, type: Double, default: 0

lutWidth

name: lutWidth, type: Double, default: 0