SoOrthoView2D

InventorModule
genre View2D
author Florian Link
package MeVisLab/Standard
dll SoView2D
definition view2d.def
see also SoView2D, OrthoMPR
keywords orthogonal, viewer, sagittal, coronal, axial

Purpose

The module SoOrthoView2D renders orthogonal slices of a volume image in one 2D viewer.

Windows

Default Panel

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

Input Fields

inputImage

name: inputImage, type: Image

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Alpha Factor: Float maxTimePoint: Integer Snap To Center: Bool
Alternative cube layout: Bool minSliceZoomKeyboard: Float Start Cine: Trigger
Always reset timepoint before starting: Bool Number of Columns (numXSlices1): Integer Status: String
Base Color: Color Number of Columns (numXSlices2): Integer Stop Cine: Trigger
Blend Mode: Enum Number of Columns (numXSlices3): Integer Synchronize Filter Mode: Bool
boundingBoxCaching: Enum Number of Slices (numSlices1): Integer Synchronize Panning: Bool
Cache Mode: Enum Number of Slices (numSlices2): Integer Synchronize Zoom: Bool
Cine Direction: Enum Number of Slices (numSlices3): Integer Temporal Position: Integer
Cine Repeat: Enum pickCulling: Enum Unzoom: Trigger
Cine Speed: Float renderCaching: Enum Upper Right: Vector2
cineCenterT: Integer renderCulling: Enum Use Global Input Image: Bool
cineFullRangeT: Bool Representing Plane (plane1): Plane useManagedInteraction: Bool
cineIntervalT: Integer Representing Plane (plane2): Plane viewerId1: String
Delete Selected: Trigger Representing Plane (plane3): Plane viewerId2: String
Draw Image Data: Bool seriesInstanceUID: String viewerId3: String
Edit Objects: Trigger Size Request: Vector2 Viewing Center: Vector3
extraViewSpace: Bool Slab: Integer viewingCenter1: Vector3
Filter Mode: Enum Slice Step Size (sliceStep1): Integer viewingCenter2: Vector3
invertKeyPanningDirections: Bool Slice Step Size (sliceStep2): Integer viewingCenter3: Vector3
keepSlicesInView: Bool Slice Step Size (sliceStep3): Integer World Position: Vector3
Layout Mode: Enum Slice Zoom: Float World position sticky: Bool
Lower Left: Vector2 sliceOrigin1: Vector2 Zoom Mode: Enum
LUT Mode: Enum sliceOrigin2: Vector2 Zoom Mode Parameter: Float
Margin: Vector2 sliceOrigin3: Vector2  

Visible Fields

World Position

name: worldPosition, type: Vector3, default: 0 0 0

Sets a world position; once set, the module ensures that the position is visible in all views.

Blend Mode

name: blendMode, type: Enum, default: BLEND_REPLACE

Defines the blend mode of the rendered views before the background.

Values:

Title Name
Replace BLEND_REPLACE
Add BLEND_ADD
Blend BLEND_BLEND
Maximum BLEND_MAXIMUM
Minimum BLEND_MINIMUM
Reverse Subtract BLEND_REVERSE_SUBTRACT
Subtract BLEND_SUBTRACT

Filter Mode

name: filterMode, type: Enum, default: FILTER_LINEAR

Defines how the volume image's voxels are mapped onto the screen (inter-/ extrapolation).

Values:

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

Slab

name: slab, type: Integer, default: 1

Sets the number of slices shown at once in a slab view.

Layout Mode

name: layoutMode, type: Enum, default: LAYOUT_ROW

Defines the layout mode.

Values:

Title Name
Axial LAYOUT_AXIAL
Sagittal LAYOUT_SAGITTAL
Coronal LAYOUT_CORONAL
Cube LAYOUT_CUBE
Cube Equal LAYOUT_CUBE_EQUAL
Cube Customized LAYOUT_CUBE_CUSTOMIZED
Row LAYOUT_ROW
Row Equal LAYOUT_ROW_EQUAL
Row Axialextra LAYOUT_ROW_AXIALEXTRA
Column LAYOUT_COLUMN
Column Equal LAYOUT_COLUMN_EQUAL

World position sticky

name: worldPosSticky, type: Bool, default: FALSE

If checked, the current world position is kept, even if a new image is being attached.

Snap To Center

name: snapToCenter, type: Bool, default: FALSE

If checked, the middle image position is shown in all views if a new image is attached to this module.

Draw Image Data

name: drawImageData, type: Bool, default: TRUE

If checked, the image data is drawn.

Alpha Factor

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

Sets the alpha factor of the rendered slices.

Base Color

name: baseColor, type: Color, default: 1 1 1

Sets the base color of the rendered slices.

Synchronize Zoom

name: synchronizeZoom, type: Bool, default: TRUE

If checked, all views are shown in the same zoom level.

Slice Zoom

name: sliceZoom, type: Float, default: 1, minimum: 1

Sets the zoom factor.

Unzoom

name: unzoom, type: Trigger

If pressed, all views are being unzoomed.

Synchronize Panning

name: synchronizePanning, type: Bool, default: FALSE

If checked, the panning (translating) of all views is synchronized.

Viewing Center

name: viewingCenter, type: Vector3, default: -1 -1 -1

Sets a viewing center.

Only available if panning synchronization is activated in 'Settings'

Lower Left

name: extraViewLowerLeft, type: Vector2, default: 0 0

Sets the lower left corner of the viewport relative to the viewer's size.

Values range in 0..1 where 0 is the lower left corner and 1 the upper right corner.

Upper Right

name: extraViewUpperRight, type: Vector2, default: 1 1

Sets the upper right corner of the viewport relative to the viewer's size.

Values range in 0..1 where 0 is the lower left corner and 1 the upper right corner.

Size Request

name: extraViewSize, type: Vector2, default: 0.666000008583069 0.666000008583069

Sets the size of the blank field in relation to the viewport's size.

This option is only available if Layout Mode is set to CubeCustomized.

Margin

name: margin, type: Vector2, default: 2 2

Sets the margin of the displayed slices in screen pixel.

Alternative cube layout

name: alternCubeLayout, type: Bool, default: FALSE

If in Cube Layout, this option toggles between leaving the upper left portion of the viewer free (unchecked default) or leaving the lower right corner free.

Cache Mode

name: cacheMode, type: Enum, default: SLICE_CACHING_OFF

Defines the cache mode.

Values:

Title Name Description
Off SLICE_CACHING_OFF Nothing will be stored after the drawing of slices.
Partial SLICE_CACHING_PARTIAL Only the visible slices will be stored.
Complete SLICE_CACHING_COMPLETE All slices will be stored.

Temporal Position

name: timePoint, type: Integer, default: -1, minimum: 0, maximum: :field:`maxTimePoint`

Sets the temporal position of the image that is to be shown.

Delete Selected

name: deleteSelected, type: Trigger

This button triggers the delete functions that may be implemented by attached SoView2DExtensions (example here: SoView2DMarkerEditor).

Edit Objects

name: edit, type: Trigger

By pressing this button, the extension (editor) that listens to this event is set to edit mode.

Status

name: status, type: String

Shows the status that may have changed after pressing the Delete Selected or Edit Objects button.

Zoom Mode

name: zoomMode, type: Enum, default: VIEW2D_AUTO_ZOOM

Defines the zoom mode.

Values:

Title Name
Auto Zoom VIEW2D_AUTO_ZOOM
Auto Zoom X VIEW2D_AUTO_ZOOM_X
Auto Zoom Y VIEW2D_AUTO_ZOOM_Y
Fixed Pixels Per Voxel X VIEW2D_FIXED_PIXELS_PER_VOXEL_X
Fixed Pixels Per Voxel Y VIEW2D_FIXED_PIXELS_PER_VOXEL_Y
Fixed Pixels Per Mm VIEW2D_FIXED_PIXELS_PER_MM
Fixed Mm Per Viewer Width VIEW2D_FIXED_MM_PER_VIEWER_WIDTH
Fixed Mm Per Viewer Height VIEW2D_FIXED_MM_PER_VIEWER_HEIGHT
Scale To Viewer Ignore Ratio VIEW2D_SCALE_TO_VIEWER_IGNORE_RATIO

Zoom Mode Parameter

name: zoomModeParameter, type: Float, default: 1

Available only if the Zoom Mode is set to one of the fixed modes.

Slice Step Size (sliceStep1)

name: sliceStep1, type: Integer, default: 1

Sets the slice step value for the first viewer.

Slice Step Size (sliceStep2)

name: sliceStep2, type: Integer, default: 1

Sets the slice step value for the second viewer.

Slice Step Size (sliceStep3)

name: sliceStep3, type: Integer, default: 1

Sets the slice step value for the third viewer.

Number of Slices (numSlices1)

name: numSlices1, type: Integer, default: 1

Sets the number of slices for the first viewer.

Number of Slices (numSlices2)

name: numSlices2, type: Integer, default: 1

Sets the number of slices for the second viewer.

Number of Slices (numSlices3)

name: numSlices3, type: Integer, default: 1

Sets the number of slices for the third viewer.

Number of Columns (numXSlices1)

name: numXSlices1, type: Integer, default: 1

Sets the number of columns for the first viewer.

Number of Columns (numXSlices2)

name: numXSlices2, type: Integer, default: 1

Sets the number of columns for the second viewer.

Number of Columns (numXSlices3)

name: numXSlices3, type: Integer, default: 1

Sets the number of columns for the third viewer.

Representing Plane (plane1)

name: plane1, type: Plane, persistent: no

Shows the plane parameters for the first viewer.

Representing Plane (plane2)

name: plane2, type: Plane, persistent: no

Shows the plane parameters for the second viewer.

Representing Plane (plane3)

name: plane3, type: Plane, persistent: no

Shows the plane parameters for the third viewer.

Synchronize Filter Mode

name: synchronizeFilterMode, type: Bool, default: TRUE

If checked, all (three) views' filter modes are toggled by pressing * on the numpad.

Start Cine

name: startCine, type: Trigger

If pressed, the cinematic function (automatically slicing through the image in determined range) is started.

Stop Cine

name: stopCine, type: Trigger

If pressed, the cinematic function is stopped.

Cine Direction

name: cineDirection, type: Enum, default: CINE_PINGPONG

Defines the cinematic function.

Values:

Title Name
Forward CINE_FORWARD
Pingpong CINE_PINGPONG

Cine Repeat

name: cineRepeat, type: Enum, default: CINE_ONCE

Defines how the cinematic function should be repeated.

Values:

Title Name
Once CINE_ONCE
Repeat CINE_REPEAT

Cine Speed

name: cineSpeed, type: Float, default: 0.1

Sets the speed of the cinematic function by setting the waiting time in seconds between showing consecutive slices.

Always reset timepoint before starting

name: cineAlwaysReset, type: Bool, default: TRUE

If checked, the time point is always set to the first time point before starting the cinematic function.

Use Global Input Image

name: useGlobalInputImage, type: Bool, default: TRUE

If checked, the module works on the global input image; otherwise, the module works on a Virtual Volume.

LUT Mode

name: lutMode, type: Enum, default: LUT_BEST

Defines the LUT mode.

Values:

Title Name Description
Fast LUT_FAST Uses an 8 bit hardware LUT (may cause artifacts on 12 bit CT data).
Best LUT_BEST Uses a LUT between 8 and 16 bits depending on the min/max value of the data.
Interactive LUT_INTERACTIVE Uses BEST_LUT if there is no interaction and switches to FAST_LUT on interactive LUT changes.

Hidden Fields

renderCaching

name: renderCaching, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

boundingBoxCaching

name: boundingBoxCaching, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

renderCulling

name: renderCulling, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

pickCulling

name: pickCulling, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

viewerId1

name: viewerId1, type: String, default: viewer1

See viewerId

viewerId2

name: viewerId2, type: String, default: viewer2

See viewerId

viewerId3

name: viewerId3, type: String, default: viewer3

See viewerId

minSliceZoomKeyboard

name: minSliceZoomKeyboard, type: Float, default: 1

sliceOrigin1

name: sliceOrigin1, type: Vector2, default: 0 0

sliceOrigin2

name: sliceOrigin2, type: Vector2, default: 0 0

sliceOrigin3

name: sliceOrigin3, type: Vector2, default: 0 0

keepSlicesInView

name: keepSlicesInView, type: Bool, default: FALSE

viewingCenter1

name: viewingCenter1, type: Vector3, default: 0 0 0

viewingCenter2

name: viewingCenter2, type: Vector3, default: 0 0 0

viewingCenter3

name: viewingCenter3, type: Vector3, default: 0 0 0

invertKeyPanningDirections

name: invertKeyPanningDirections, type: Bool, default: FALSE

extraViewSpace

name: extraViewSpace, type: Bool, default: FALSE

maxTimePoint

name: maxTimePoint, type: Integer, default: -1

useManagedInteraction

name: useManagedInteraction, type: Bool, default: FALSE

seriesInstanceUID

name: seriesInstanceUID, type: String, persistent: no

cineCenterT

name: cineCenterT, type: Integer, default: 0

cineIntervalT

name: cineIntervalT, type: Integer, default: 0

cineFullRangeT

name: cineFullRangeT, type: Bool, default: TRUE